- Timestamp:
- Apr 17, 2009, 12:17:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/standard/include/G4BohrFluctuations.hh
r961 r991 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BohrFluctuations.hh,v 1. 4 2009/02/19 19:17:50vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-02 -ref-02$26 // $Id: G4BohrFluctuations.hh,v 1.3 2007/09/27 13:53:11 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 79 79 void InitialiseMe(const G4ParticleDefinition*); 80 80 81 protected: 82 81 83 private: 82 84 … … 101 103 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 102 104 105 106 inline G4double G4BohrFluctuations::Dispersion( 107 const G4Material* material, 108 const G4DynamicParticle* dp, 109 G4double& tmax, 110 G4double& length) 111 { 112 if(!particle) InitialiseMe(dp->GetDefinition()); 113 114 G4double electronDensity = material->GetElectronDensity(); 115 kineticEnergy = dp->GetKineticEnergy(); 116 G4double etot = kineticEnergy + particleMass; 117 beta2 = kineticEnergy*(kineticEnergy + 2.0*particleMass)/(etot*etot); 118 G4double siga = (1.0/beta2 - 0.5) * twopi_mc2_rcl2 * tmax * length 119 * electronDensity * chargeSquare; 120 121 return siga; 122 } 123 124 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 125 103 126 #endif 104 127
Note: See TracChangeset
for help on using the changeset viewer.