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