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