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 // 28 // Author: A. Forti 29 // Maria Grazia Pia (Maria.Grazia.Pia@cern.ch) 30 // 31 // History: 32 // ----------- 33 // 02 Mar 1999 A. Forti 1st implementation 34 // 12 Aug 2001 MGP Major revision according to a design iteration 35 // 16 Sept 2001 E. Guardincerri Added fluorescence generation 36 // 31 May 2002 V.Ivanchenko Add cut on Auger electrons 37 // 10 May 2004 P. Rodrigues Changes to accommodate new angular generators 38 // 39 // ------------------------------------------------------------------- 40 41 // Class description: 42 // Low Energy Electromagnetic process, Photoelectric effect 43 // Further documentation available from http://www.ge.infn.it/geant4/lowE 44 45 // ------------------------------------------------------------------- 46 47 #ifndef G4RDLOWENERGYPHOTOELECTRIC_HH 48 #define G4RDLOWENERGYPHOTOELECTRIC_HH 1 49 50 #include "globals.hh" 51 #include "G4VDiscreteProcess.hh" 52 #include "G4RDAtomicDeexcitation.hh" 53 54 class G4Track; 55 class G4Step; 56 class G4ParticleDefinition; 57 class G4VParticleChange; 58 class G4RDVEMDataSet; 59 class G4RDVCrossSectionHandler; 60 class G4RDVRangeTest; 61 class G4RDVPhotoElectricAngularDistribution; 62 63 class G4LowEnergyPhotoElectric : public G4VDiscreteProcess { 64 65 public: 66 67 G4LowEnergyPhotoElectric(const G4String& processName ="LowEnPhotoElec"); 68 69 ~G4LowEnergyPhotoElectric(); 70 71 G4bool IsApplicable(const G4ParticleDefinition&); 72 73 void BuildPhysicsTable(const G4ParticleDefinition& photon); 74 75 G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep); 76 77 void SetCutForLowEnSecPhotons(G4double); 78 79 void SetCutForLowEnSecElectrons(G4double); 80 81 void ActivateAuger(G4bool); 82 83 void SetAngularGenerator(G4RDVPhotoElectricAngularDistribution* distribution); 84 85 void SetAngularGenerator(const G4String& name); 86 87 88 // For testing purpose only 89 G4double DumpMeanFreePath(const G4Track& aTrack, 90 G4double previousStepSize, 91 G4ForceCondition* condition) 92 { return GetMeanFreePath(aTrack, previousStepSize, condition); } 93 94 protected: 95 96 G4double GetMeanFreePath(const G4Track& aTrack, 97 G4double previousStepSize, 98 G4ForceCondition* condition); 99 100 private: 101 102 // Hide copy constructor and assignment operator as private 103 G4LowEnergyPhotoElectric& operator=(const G4LowEnergyPhotoElectric& right); 104 G4LowEnergyPhotoElectric(const G4LowEnergyPhotoElectric& ); 105 106 G4double lowEnergyLimit; // low energy limit applied to the process 107 G4double highEnergyLimit; // high energy limit applied to the process 108 109 G4RDVEMDataSet* meanFreePathTable; 110 111 G4RDVCrossSectionHandler* crossSectionHandler; 112 G4RDVCrossSectionHandler* shellCrossSectionHandler; 113 114 G4RDVRangeTest* rangeTest; 115 116 const G4double intrinsicLowEnergyLimit; // intrinsic validity range 117 const G4double intrinsicHighEnergyLimit; 118 119 G4double cutForLowEnergySecondaryPhotons; 120 G4double cutForLowEnergySecondaryElectrons; 121 122 G4RDAtomicDeexcitation deexcitationManager; 123 124 G4RDVPhotoElectricAngularDistribution* ElectronAngularGenerator; 125 G4String generatorName; 126 }; 127 128 #endif 129 130 131 132