[819] | 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 | // $Id: G4PenelopePhotoElectric.hh,v 1.4 2006/06/29 19:36:35 gunter Exp $ |
---|
[1228] | 28 | // GEANT4 tag $Name: geant4-09-03 $ |
---|
[819] | 29 | // |
---|
| 30 | // Author: L.Pandola |
---|
| 31 | // |
---|
| 32 | // History: |
---|
| 33 | // ----------- |
---|
| 34 | // 07 Jan 2003 L.Pandola 1st implementation |
---|
| 35 | // 31 May 2005 L.Pandola Added method to sample angular distribution |
---|
| 36 | // of the final electron |
---|
| 37 | // ------------------------------------------------------------------- |
---|
| 38 | |
---|
| 39 | // Class description: |
---|
| 40 | // Low Energy Electromagnetic process, Photoelectric effect with |
---|
| 41 | // Penelope model and tables |
---|
| 42 | // ------------------------------------------------------------------- |
---|
| 43 | |
---|
| 44 | #ifndef G4PENELOPEPHOTOELECTRIC_HH |
---|
| 45 | #define G4PENELOPEPHOTOELECTRIC_HH 1 |
---|
| 46 | |
---|
| 47 | #include "globals.hh" |
---|
| 48 | #include "G4VDiscreteProcess.hh" |
---|
| 49 | #include "G4AtomicDeexcitation.hh" |
---|
| 50 | |
---|
| 51 | class G4Track; |
---|
| 52 | class G4Step; |
---|
| 53 | class G4ParticleDefinition; |
---|
| 54 | class G4VParticleChange; |
---|
| 55 | class G4VEMDataSet; |
---|
| 56 | class G4VCrossSectionHandler; |
---|
| 57 | class G4VRangeTest; |
---|
| 58 | |
---|
| 59 | class G4PenelopePhotoElectric : public G4VDiscreteProcess { |
---|
| 60 | |
---|
| 61 | public: |
---|
| 62 | |
---|
| 63 | G4PenelopePhotoElectric(const G4String& processName ="PenPhotoElec"); |
---|
| 64 | |
---|
| 65 | ~G4PenelopePhotoElectric(); |
---|
| 66 | |
---|
| 67 | G4bool IsApplicable(const G4ParticleDefinition&); |
---|
| 68 | |
---|
| 69 | void BuildPhysicsTable(const G4ParticleDefinition& photon); |
---|
| 70 | |
---|
| 71 | G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep); |
---|
| 72 | |
---|
| 73 | void SetCutForLowEnSecPhotons(G4double); |
---|
| 74 | |
---|
| 75 | void SetCutForLowEnSecElectrons(G4double); |
---|
| 76 | |
---|
| 77 | void ActivateAuger(G4bool); |
---|
| 78 | |
---|
| 79 | // For testing purpose only |
---|
| 80 | G4double DumpMeanFreePath(const G4Track& aTrack, |
---|
| 81 | G4double previousStepSize, |
---|
| 82 | G4ForceCondition* condition) |
---|
| 83 | { return GetMeanFreePath(aTrack, previousStepSize, condition); } |
---|
| 84 | |
---|
| 85 | protected: |
---|
| 86 | |
---|
| 87 | G4double GetMeanFreePath(const G4Track& aTrack, |
---|
| 88 | G4double previousStepSize, |
---|
| 89 | G4ForceCondition* condition); |
---|
| 90 | |
---|
| 91 | private: |
---|
| 92 | |
---|
| 93 | // Hide copy constructor and assignment operator as private |
---|
| 94 | G4PenelopePhotoElectric& operator=(const G4PenelopePhotoElectric& right); |
---|
| 95 | G4PenelopePhotoElectric(const G4PenelopePhotoElectric& ); |
---|
| 96 | |
---|
| 97 | G4double SampleElectronDirection(G4double); |
---|
| 98 | |
---|
| 99 | G4double lowEnergyLimit; // low energy limit applied to the process |
---|
| 100 | G4double highEnergyLimit; // high energy limit applied to the process |
---|
| 101 | |
---|
| 102 | G4VEMDataSet* meanFreePathTable; |
---|
| 103 | |
---|
| 104 | G4VCrossSectionHandler* crossSectionHandler; |
---|
| 105 | G4VCrossSectionHandler* shellCrossSectionHandler; |
---|
| 106 | |
---|
| 107 | G4VRangeTest* rangeTest; |
---|
| 108 | |
---|
| 109 | const G4double intrinsicLowEnergyLimit; // intrinsic validity range |
---|
| 110 | const G4double intrinsicHighEnergyLimit; |
---|
| 111 | |
---|
| 112 | G4double cutForLowEnergySecondaryPhotons; |
---|
| 113 | G4double cutForLowEnergySecondaryElectrons; |
---|
| 114 | |
---|
| 115 | G4AtomicDeexcitation deexcitationManager; |
---|
| 116 | }; |
---|
| 117 | |
---|
| 118 | #endif |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | |
---|