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 // Author: A. Forti 28 // Maria Grazia Pia (Maria.Grazia.Pia@cern.ch) 29 // 30 // History: 31 // ----------- 32 // 02 Mar 1999 A. Forti 1st implementation 33 // 1 Aug 2001 MGP Major revision according to a design iteration 34 // 35 // ------------------------------------------------------------------- 36 37 // Class description: 38 // Low Energy Electromagnetic Physics, Compton Scattering 39 // Further documentation available from http://www.ge.infn.it/geant4/lowE 40 41 // ------------------------------------------------------------------- 42 43 #ifndef G4RDLOWENERGYCOMPTON_HH 44 #define G4RDLOWENERGYCOMPTON_HH 1 45 46 #include "globals.hh" 47 #include "G4VDiscreteProcess.hh" 48 #include "G4RDShellData.hh" 49 #include "G4RDDopplerProfile.hh" 50 51 class G4Track; 52 class G4Step; 53 class G4ParticleDefinition; 54 class G4VParticleChange; 55 class G4RDVEMDataSet; 56 class G4RDVCrossSectionHandler; 57 class G4RDVRangeTest; 58 59 class G4LowEnergyCompton : public G4VDiscreteProcess { 60 61 public: 62 63 G4LowEnergyCompton(const G4String& processName ="LowEnCompton"); 64 65 ~G4LowEnergyCompton(); 66 67 G4bool IsApplicable(const G4ParticleDefinition& definition); 68 69 void BuildPhysicsTable(const G4ParticleDefinition& definition); 70 71 G4VParticleChange* PostStepDoIt(const G4Track& track, const G4Step& step); 72 73 // For testing purpose only 74 G4double DumpMeanFreePath(const G4Track& track, 75 G4double previousStepSize, 76 G4ForceCondition* condition) 77 { return GetMeanFreePath(track, previousStepSize, condition); } 78 79 protected: 80 81 G4double GetMeanFreePath(const G4Track& track, 82 G4double previousStepSize, 83 G4ForceCondition* condition); 84 85 private: 86 87 // Hide copy constructor and assignment operator as private 88 G4LowEnergyCompton& operator=(const G4LowEnergyCompton& right); 89 G4LowEnergyCompton(const G4LowEnergyCompton& ); 90 91 G4double lowEnergyLimit; // low energy limit applied to the process 92 G4double highEnergyLimit; // high energy limit applied to the process 93 94 G4RDVEMDataSet* meanFreePathTable; 95 G4RDVEMDataSet* scatterFunctionData; 96 97 G4RDVCrossSectionHandler* crossSectionHandler; 98 99 G4RDVRangeTest* rangeTest; 100 101 const G4double intrinsicLowEnergyLimit; // intrinsic validity range 102 const G4double intrinsicHighEnergyLimit; 103 104 G4RDShellData shellData; 105 G4RDDopplerProfile profileData; 106 }; 107 108 #endif 109 110