- Timestamp:
- Apr 17, 2009, 12:17:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/standard/src/G4BohrFluctuations.cc
r961 r991 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BohrFluctuations.cc,v 1. 7 2009/02/19 19:17:50vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-02 -ref-02$26 // $Id: G4BohrFluctuations.cc,v 1.6 2007/09/27 14:02:41 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 137 137 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 138 138 139 G4double G4BohrFluctuations::Dispersion(const G4Material* material,140 const G4DynamicParticle* dp,141 G4double& tmax,142 G4double& length)143 {144 if(!particle) InitialiseMe(dp->GetDefinition());145 139 146 G4double electronDensity = material->GetElectronDensity();147 kineticEnergy = dp->GetKineticEnergy();148 G4double etot = kineticEnergy + particleMass;149 beta2 = kineticEnergy*(kineticEnergy + 2.0*particleMass)/(etot*etot);150 G4double siga = (1.0/beta2 - 0.5) * twopi_mc2_rcl2 * tmax * length151 * electronDensity * chargeSquare;152 153 return siga;154 }155 156 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....157 158
Note: See TracChangeset
for help on using the changeset viewer.