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 // 26 // 27 //------------------ G4PhotoElectricEffect phy 27 //------------------ G4PhotoElectricEffect physics process ------------------ 28 // by Michel Maire, 24 May 1 28 // by Michel Maire, 24 May 1996 29 // 29 // 30 // 12-06-96, Added SelectRandomAtom() method a 30 // 12-06-96, Added SelectRandomAtom() method and new data member 31 // for cumulative total cross sectio 31 // for cumulative total cross section, by M.Maire 32 // 21-06-96, SetCuts implementation, M.Maire 32 // 21-06-96, SetCuts implementation, M.Maire 33 // 17-09-96, Dynamic array PartialSumSigma 33 // 17-09-96, Dynamic array PartialSumSigma 34 // split ComputeBindingEnergy(), M.M 34 // split ComputeBindingEnergy(), M.Maire 35 // 08-01-97, crossection table + meanfreepath 35 // 08-01-97, crossection table + meanfreepath table, M.Maire 36 // 13-03-97, adapted for the new physics schem 36 // 13-03-97, adapted for the new physics scheme, M.Maire 37 // 13-08-98, new methods SetBining() PrintInfo 37 // 13-08-98, new methods SetBining() PrintInfo() 38 // 17-11-98, use table of atomic shells in Pos 38 // 17-11-98, use table of atomic shells in PostStepDoIt, mma 39 // 06-01-99, Sandia crossSection below 50 keV, 39 // 06-01-99, Sandia crossSection below 50 keV, V.Grichine mma 40 // 03-08-01, new methods Store/Retrieve Physic 40 // 03-08-01, new methods Store/Retrieve PhysicsTable (mma) 41 // 06-08-01, BuildThePhysicsTable() called fro 41 // 06-08-01, BuildThePhysicsTable() called from constructor (mma) 42 // 19-09-01, come back to previous process nam 42 // 19-09-01, come back to previous process name "phot" 43 // 20-09-01, DoIt: fminimalEnergy = 1*eV (mma) 43 // 20-09-01, DoIt: fminimalEnergy = 1*eV (mma) 44 // 01-10-01, come back to BuildPhysicsTable(co 44 // 01-10-01, come back to BuildPhysicsTable(const G4ParticleDefinition&) 45 // 10-01-02, moved few function from icc to cc 45 // 10-01-02, moved few function from icc to cc 46 // 17-04-02, Keep only Sandia crossSections. R 46 // 17-04-02, Keep only Sandia crossSections. Remove BuildPhysicsTables. 47 // Simplify public interface (mma) 47 // Simplify public interface (mma) 48 // 29-04-02, Generate theta angle of the photo 48 // 29-04-02, Generate theta angle of the photoelectron from Sauter-Gavrila 49 // distribution (mma) 49 // distribution (mma) 50 // 13-08-04, suppress icc file; make public Co 50 // 13-08-04, suppress icc file; make public ComputeCrossSectionPerAtom() (mma) 51 // 21-04-05, Redesign - use G4VEmProcess inter 51 // 21-04-05, Redesign - use G4VEmProcess interface (V.Ivanchenko) 52 // 02-05-05, move ParticleChange actions in mo 52 // 02-05-05, move ParticleChange actions in model (mma) 53 // 04-05-05, Make class to be default (V.Ivanc 53 // 04-05-05, Make class to be default (V.Ivanchenko) 54 // 09-08-06, add SetModel(G4VEmModel*) (mma) 54 // 09-08-06, add SetModel(G4VEmModel*) (mma) 55 // 12-09-06, move SetModel(G4VEmModel*) in G4V 55 // 12-09-06, move SetModel(G4VEmModel*) in G4VEmProcess (mma) 56 // ------------------------------------------- 56 // ----------------------------------------------------------------------------- 57 57 58 // class description 58 // class description 59 // 59 // 60 60 61 //....oooOO0OOooo........oooOO0OOooo........oo 61 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 62 //....oooOO0OOooo........oooOO0OOooo........oo 62 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 63 63 64 #ifndef G4PhotoElectricEffect_h 64 #ifndef G4PhotoElectricEffect_h 65 #define G4PhotoElectricEffect_h 1 65 #define G4PhotoElectricEffect_h 1 66 66 67 #include "globals.hh" 67 #include "globals.hh" 68 #include "G4VEmProcess.hh" 68 #include "G4VEmProcess.hh" 69 #include "G4Gamma.hh" 69 #include "G4Gamma.hh" 70 70 71 //....oooOO0OOooo........oooOO0OOooo........oo 71 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 72 72 73 class G4ParticleDefinition; 73 class G4ParticleDefinition; 74 class G4VEmModel; 74 class G4VEmModel; 75 class G4MaterialCutsCouple; 75 class G4MaterialCutsCouple; 76 class G4DynamicParticle; 76 class G4DynamicParticle; 77 77 78 class G4PhotoElectricEffect : public G4VEmProc 78 class G4PhotoElectricEffect : public G4VEmProcess 79 79 80 { 80 { 81 public: // with description 81 public: // with description 82 82 83 explicit G4PhotoElectricEffect(const G4Strin 83 explicit G4PhotoElectricEffect(const G4String& processName ="phot", 84 G4ProcessType type = fElectromagnetic 84 G4ProcessType type = fElectromagnetic); 85 85 86 ~G4PhotoElectricEffect() override; 86 ~G4PhotoElectricEffect() override; 87 87 88 // true for Gamma only. 88 // true for Gamma only. 89 G4bool IsApplicable(const G4ParticleDefiniti 89 G4bool IsApplicable(const G4ParticleDefinition&) final; 90 90 91 // print documentation in html format 91 // print documentation in html format 92 void ProcessDescription(std::ostream&) const 92 void ProcessDescription(std::ostream&) const override; 93 93 94 G4PhotoElectricEffect & operator=(const G4Ph 94 G4PhotoElectricEffect & operator=(const G4PhotoElectricEffect &right) = delete; 95 G4PhotoElectricEffect(const G4PhotoElectricE 95 G4PhotoElectricEffect(const G4PhotoElectricEffect&) = delete; 96 96 97 protected: 97 protected: 98 98 99 virtual void InitialiseProcess(const G4Parti 99 virtual void InitialiseProcess(const G4ParticleDefinition*) override; 100 100 101 private: 101 private: 102 102 103 G4bool isInitialised = false; 103 G4bool isInitialised = false; 104 }; 104 }; 105 105 106 //....oooOO0OOooo........oooOO0OOooo........oo 106 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 107 107 108 #endif 108 #endif 109 109 110 110