00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // 00027 // $Id$ 00028 // 00029 // 00030 //------------------ G4GammaConversion physics process------------------------ 00031 // by Michel Maire, 24 May 1996 00032 // 00033 // 11-06-96, Added GetRandomAtom() method and new data member 00034 // for cumulative total cross section, by M.Maire 00035 // 21-06-96, SetCuts inplementation, M.Maire 00036 // 16-09-96, Dynamical array PartialSumSigma, M.Maire 00037 // 14-01-97, crossection table + meanfreepath table. 00038 // PartialSumSigma removed, M.Maire 00039 // 14-03-97, new physics scheme for geant4alpha, M.Maire 00040 // 13-08-98, new methods SetBining() PrintInfo() 00041 // 03-08-01, new methods Store/Retrieve PhysicsTable (mma) 00042 // 06-08-01, BuildThePhysicsTable() called from constructor (mma) 00043 // 19-09-01, come back to previous ProcessName: "conv" 00044 // 20-09-01, DoIt: fminimalEnergy = 1*eV (mma) 00045 // 01-10-01, come back to BuildPhysicsTable(const G4ParticleDefinition&) 00046 // 13-08-04, suppress .icc file 00047 // public ComputeCrossSectionPerAtom() and ComputeMeanFreePath() (mma) 00048 // 09-11-04, Remove Retrieve tables (V.Ivantchenko) 00049 // 19-04-05, Redesign - use G4VEmProcess interface (V.Ivantchenko) 00050 // 04-05-05, Make class to be default (V.Ivanchenko) 00051 // 09-08-06, add SetModel(G4VEmModel*) (mma) 00052 // 12-09-06, move SetModel(G4VEmModel*) in G4VEmProcess (mma) 00053 // ----------------------------------------------------------------------------- 00054 00055 // class description 00056 // 00057 00058 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00059 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00060 00061 #ifndef G4GammaConversion_h 00062 #define G4GammaConversion_h 1 00063 00064 #include "globals.hh" 00065 #include "G4VEmProcess.hh" 00066 #include "G4Gamma.hh" 00067 00068 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00069 00070 class G4ParticleDefinition; 00071 class G4VEmModel; 00072 class G4MaterialCutsCouple; 00073 class G4DynamicParticle; 00074 00075 class G4GammaConversion : public G4VEmProcess 00076 00077 { 00078 public: // with description 00079 00080 G4GammaConversion(const G4String& processName ="conv", 00081 G4ProcessType type = fElectromagnetic); 00082 00083 virtual ~G4GammaConversion(); 00084 00085 // true for Gamma only. 00086 virtual G4bool IsApplicable(const G4ParticleDefinition&); 00087 00088 virtual G4double MinPrimaryEnergy(const G4ParticleDefinition*, 00089 const G4Material*); 00090 00091 // Print few lines of informations about the process: validity range, 00092 virtual void PrintInfo(); 00093 00094 protected: 00095 00096 virtual void InitialiseProcess(const G4ParticleDefinition*); 00097 00098 private: 00099 00100 G4bool isInitialised; 00101 }; 00102 00103 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00104 00105 #endif 00106