Import Geant4 8.2.0 source tree
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4ionEffectiveCharge.hh,v 1.7 2006/06/29 19:54:53 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// $Id: G4ionEffectiveCharge.hh,v 1.8 2006/08/15 16:21:39 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -99,8 +99,8 @@ inline G4double G4ionEffectiveCharge::EffectiveChargeSquareRatio(
|
||||
const G4Material* material,
|
||||
G4double kineticEnergy)
|
||||
{
|
||||
G4double charge = EffectiveCharge(p,material,kineticEnergy)*chargeCorrection
|
||||
/ eplus;
|
||||
G4double charge = EffectiveCharge(p,material,kineticEnergy)/eplus;
|
||||
charge *= chargeCorrection;
|
||||
|
||||
return charge*charge;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user