Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer 3 // * License and Disclaimer * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/ 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. 9 // * include a list of copyright holders. * 10 // * 10 // * * 11 // * Neither the authors of this software syst 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitatio 16 // * for the full disclaimer and the limitation of liability. * 17 // * 17 // * * 18 // * This code implementation is the result 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboratio 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distri 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you ag 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publicati 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Sof 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************* 24 // ******************************************************************** 25 // 25 // >> 26 // $Id: G4PhotoElectricEffect.hh 66241 2012-12-13 18:34:42Z gunter $ 26 // 27 // 27 //------------------ G4PhotoElectricEffect phy 28 //------------------ G4PhotoElectricEffect physics process ------------------ 28 // by Michel Maire, 24 May 1 29 // by Michel Maire, 24 May 1996 29 // 30 // 30 // 12-06-96, Added SelectRandomAtom() method a 31 // 12-06-96, Added SelectRandomAtom() method and new data member 31 // for cumulative total cross sectio 32 // for cumulative total cross section, by M.Maire 32 // 21-06-96, SetCuts implementation, M.Maire 33 // 21-06-96, SetCuts implementation, M.Maire 33 // 17-09-96, Dynamic array PartialSumSigma 34 // 17-09-96, Dynamic array PartialSumSigma 34 // split ComputeBindingEnergy(), M.M 35 // split ComputeBindingEnergy(), M.Maire 35 // 08-01-97, crossection table + meanfreepath 36 // 08-01-97, crossection table + meanfreepath table, M.Maire 36 // 13-03-97, adapted for the new physics schem 37 // 13-03-97, adapted for the new physics scheme, M.Maire 37 // 13-08-98, new methods SetBining() PrintInfo 38 // 13-08-98, new methods SetBining() PrintInfo() 38 // 17-11-98, use table of atomic shells in Pos 39 // 17-11-98, use table of atomic shells in PostStepDoIt, mma 39 // 06-01-99, Sandia crossSection below 50 keV, 40 // 06-01-99, Sandia crossSection below 50 keV, V.Grichine mma 40 // 03-08-01, new methods Store/Retrieve Physic 41 // 03-08-01, new methods Store/Retrieve PhysicsTable (mma) 41 // 06-08-01, BuildThePhysicsTable() called fro 42 // 06-08-01, BuildThePhysicsTable() called from constructor (mma) 42 // 19-09-01, come back to previous process nam 43 // 19-09-01, come back to previous process name "phot" 43 // 20-09-01, DoIt: fminimalEnergy = 1*eV (mma) 44 // 20-09-01, DoIt: fminimalEnergy = 1*eV (mma) 44 // 01-10-01, come back to BuildPhysicsTable(co 45 // 01-10-01, come back to BuildPhysicsTable(const G4ParticleDefinition&) 45 // 10-01-02, moved few function from icc to cc 46 // 10-01-02, moved few function from icc to cc 46 // 17-04-02, Keep only Sandia crossSections. R 47 // 17-04-02, Keep only Sandia crossSections. Remove BuildPhysicsTables. 47 // Simplify public interface (mma) 48 // Simplify public interface (mma) 48 // 29-04-02, Generate theta angle of the photo 49 // 29-04-02, Generate theta angle of the photoelectron from Sauter-Gavrila 49 // distribution (mma) 50 // distribution (mma) 50 // 13-08-04, suppress icc file; make public Co 51 // 13-08-04, suppress icc file; make public ComputeCrossSectionPerAtom() (mma) 51 // 21-04-05, Redesign - use G4VEmProcess inter 52 // 21-04-05, Redesign - use G4VEmProcess interface (V.Ivanchenko) 52 // 02-05-05, move ParticleChange actions in mo 53 // 02-05-05, move ParticleChange actions in model (mma) 53 // 04-05-05, Make class to be default (V.Ivanc 54 // 04-05-05, Make class to be default (V.Ivanchenko) 54 // 09-08-06, add SetModel(G4VEmModel*) (mma) 55 // 09-08-06, add SetModel(G4VEmModel*) (mma) 55 // 12-09-06, move SetModel(G4VEmModel*) in G4V 56 // 12-09-06, move SetModel(G4VEmModel*) in G4VEmProcess (mma) 56 // ------------------------------------------- 57 // ----------------------------------------------------------------------------- 57 58 58 // class description 59 // class description 59 // 60 // 60 61 61 //....oooOO0OOooo........oooOO0OOooo........oo 62 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 62 //....oooOO0OOooo........oooOO0OOooo........oo 63 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 63 64 64 #ifndef G4PhotoElectricEffect_h 65 #ifndef G4PhotoElectricEffect_h 65 #define G4PhotoElectricEffect_h 1 66 #define G4PhotoElectricEffect_h 1 66 67 67 #include "globals.hh" 68 #include "globals.hh" 68 #include "G4VEmProcess.hh" 69 #include "G4VEmProcess.hh" 69 #include "G4Gamma.hh" 70 #include "G4Gamma.hh" 70 71 71 //....oooOO0OOooo........oooOO0OOooo........oo 72 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 72 73 73 class G4ParticleDefinition; 74 class G4ParticleDefinition; 74 class G4VEmModel; 75 class G4VEmModel; 75 class G4MaterialCutsCouple; 76 class G4MaterialCutsCouple; 76 class G4DynamicParticle; 77 class G4DynamicParticle; 77 78 78 class G4PhotoElectricEffect : public G4VEmProc 79 class G4PhotoElectricEffect : public G4VEmProcess 79 80 80 { 81 { 81 public: // with description 82 public: // with description 82 83 83 explicit G4PhotoElectricEffect(const G4Strin << 84 G4PhotoElectricEffect(const G4String& processName ="phot", 84 G4ProcessType type = fElectromagnetic << 85 G4ProcessType type = fElectromagnetic); 85 86 86 ~G4PhotoElectricEffect() override; << 87 virtual ~G4PhotoElectricEffect(); 87 88 88 // true for Gamma only. 89 // true for Gamma only. 89 G4bool IsApplicable(const G4ParticleDefiniti << 90 virtual G4bool IsApplicable(const G4ParticleDefinition&); 90 91 91 // print documentation in html format << 92 // Print few lines of informations about the process: validity range, 92 void ProcessDescription(std::ostream&) const << 93 virtual void PrintInfo(); 93 << 94 G4PhotoElectricEffect & operator=(const G4Ph << 95 G4PhotoElectricEffect(const G4PhotoElectricE << 96 94 97 protected: 95 protected: 98 96 99 virtual void InitialiseProcess(const G4Parti << 97 virtual void InitialiseProcess(const G4ParticleDefinition*); 100 98 101 private: 99 private: 102 100 103 G4bool isInitialised = false; << 101 G4bool isInitialised; 104 }; 102 }; 105 103 106 //....oooOO0OOooo........oooOO0OOooo........oo 104 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 107 105 108 #endif 106 #endif 109 107 110 108