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 // Author: A. Forti 30 // 31 // History: 32 // ----------- 33 // 02 Mar 1999 A. Forti 1st implementation 34 // 27 Sep 2001 V. Ivanchenko Major revision according to a design iteration 35 // 10 Oct 2001 M.G. Pia Revision to improve code quality 36 // and consistency with design 37 // 29 Nov 2001 V.Ivanchenko New parametrisation of EEDL data 38 // 21 Feb 2003 V.Ivanchenko Energy bins for spectrum are defined here 39 // 24 Mar 2003 P.Rodrigues Changes to accommodate new angular generators 40 // 06 Nov 2003 MGP Overloaded SetAngularGenerator 41 // 42 // ------------------------------------------------------------------- 43 44 // Class description: 45 // Low Energy electromagnetic process, electron Bremsstrahlung 46 // based on the data of the EEDL database. Details are described 47 // in the Physics Reference Manual. 48 // Further documentation available from http://www.ge.infn.it/geant4/lowE 49 50 // -------------------------------------------------------------- 51 52 53 #ifndef G4RDLOWENERGYBREMSSTRAHLUNG_HH 54 #define G4RDLOWENERGYBREMSSTRAHLUNG_HH 1 55 56 #include "G4eLowEnergyLoss.hh" 57 #include "G4DataVector.hh" 58 59 class G4Track; 60 class G4Step; 61 class G4ParticleDefinition; 62 class G4VParticleChange; 63 class G4RDVEMDataSet; 64 class G4RDVEnergySpectrum; 65 class G4RDVCrossSectionHandler; 66 class G4RDVBremAngularDistribution; 67 68 class G4LowEnergyBremsstrahlung : public G4eLowEnergyLoss 69 { 70 public: 71 72 G4LowEnergyBremsstrahlung(const G4String& processName = "LowEnBrem"); 73 74 75 // G4LowEnergyBremsstrahlung(const G4String& processName = "LowEnBrem", 76 // G4RDVBremAngularDistribution* distribution = 0); 77 78 ~G4LowEnergyBremsstrahlung(); 79 80 G4bool IsApplicable(const G4ParticleDefinition&); 81 82 void BuildPhysicsTable(const G4ParticleDefinition& particleType); 83 84 G4VParticleChange* PostStepDoIt(const G4Track& track, 85 const G4Step& step); 86 87 void SetCutForLowEnSecPhotons(G4double cut); 88 89 void SetAngularGenerator(G4RDVBremAngularDistribution* distribution); 90 91 void SetAngularGenerator(const G4String& name); 92 93 void PrintInfoDefinition(); 94 95 96 protected: 97 98 G4double GetMeanFreePath(const G4Track& track, 99 G4double previousStepSize, 100 G4ForceCondition* condition ); 101 102 private: 103 104 // Hide copy constructor and assignment operator as private 105 G4LowEnergyBremsstrahlung(const G4LowEnergyBremsstrahlung& ); 106 G4LowEnergyBremsstrahlung& operator = (const G4LowEnergyBremsstrahlung& right); 107 108 void BuildLossTable(const G4ParticleDefinition& ParticleType); 109 110 G4RDVCrossSectionHandler* crossSectionHandler; 111 G4RDVEMDataSet* theMeanFreePath; 112 G4RDVEnergySpectrum* energySpectrum; 113 G4DataVector energyBins; 114 G4RDVBremAngularDistribution* angularDistribution; 115 G4RDVBremAngularDistribution* TsaiAngularDistribution; 116 G4String generatorName; 117 118 // Lower limit for generation of gamma in this model 119 G4DataVector cutForSecondaryPhotons; 120 G4double cutForPhotons; 121 }; 122 123 124 125 #endif 126 127 128 129 130 131 132 133 134 135 136 137