67 minNumberInteractionsBohr(2.0),
102 if(meanLoss <= minLoss) {
return meanLoss; }
107 G4double navr = meanLoss*meanLoss/siga;
109 if (navr >= minNumberInteractionsBohr) {
112 if ( meanLoss > minFraction*kineticEnergy ) {
113 G4double gam = (kineticEnergy - meanLoss)/particleMass + 1.0;
115 if(b2 < xmin*beta2) b2 = xmin*beta2;
118 siga *= 0.25*(1.0 +
x)*(x3 + (1.0/b2 - 0.5)/(1.0/beta2 - 0.5) );
121 G4double twomeanLoss = meanLoss + meanLoss;
124 if(twomeanLoss < siga) {
128 x = (loss - meanLoss)/siga;
133 }
while (0.0 > loss || loss > twomeanLoss);
139 loss = meanLoss*n/navr;
157 G4double etot = kineticEnergy + particleMass;
158 beta2 = kineticEnergy*(kineticEnergy + 2.0*particleMass)/(etot*etot);
160 * electronDensity * chargeSquare;
ThreeVector shoot(const G4int Ap, const G4int Af)
G4long G4Poisson(G4double mean)
G4double GetKineticEnergy() const
G4double Dispersion(const G4Material *, const G4DynamicParticle *, G4double, G4double)
G4ParticleDefinition * GetDefinition() const
G4double GetElectronDensity() const
virtual ~G4BohrFluctuations()
G4BohrFluctuations(const G4String &nam="BohrFluc")
G4double GetPDGMass() const
void InitialiseMe(const G4ParticleDefinition *)
G4double GetPDGCharge() const
const G4Material * GetMaterial() const
G4double SampleFluctuations(const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double, G4double, G4double)