Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions
G4VhElectronicStoppingPower Class Referenceabstract

#include <G4VhElectronicStoppingPower.hh>

Inheritance diagram for G4VhElectronicStoppingPower:
G4hICRU49He G4hICRU49p G4hSRIM2000p G4hZiegler1985p

Public Member Functions

 G4VhElectronicStoppingPower ()
 
virtual ~G4VhElectronicStoppingPower ()
 
virtual G4double StoppingPower (const G4Material *material, G4double kineticEnergy)=0
 
virtual G4bool HasMaterial (const G4Material *material)=0
 
virtual G4double ElectronicStoppingPower (G4double z, G4double kineticEnergy) const =0
 

Protected Member Functions

G4double HeEffChargeSquare (const G4double z, const G4double kineticEnergyHe) const
 
G4double GetHeMassAMU () const
 

Detailed Description

Definition at line 59 of file G4VhElectronicStoppingPower.hh.

Constructor & Destructor Documentation

G4VhElectronicStoppingPower::G4VhElectronicStoppingPower ( )

Definition at line 57 of file G4VhElectronicStoppingPower.cc.

57  :
58  theHeMassAMU(4.0026)
59 {;}
G4VhElectronicStoppingPower::~G4VhElectronicStoppingPower ( )
virtual

Definition at line 63 of file G4VhElectronicStoppingPower.cc.

64 {;}

Member Function Documentation

virtual G4double G4VhElectronicStoppingPower::ElectronicStoppingPower ( G4double  z,
G4double  kineticEnergy 
) const
pure virtual
G4double G4VhElectronicStoppingPower::GetHeMassAMU ( ) const
inlineprotected

Definition at line 85 of file G4VhElectronicStoppingPower.hh.

Referenced by HeEffChargeSquare().

85 {return theHeMassAMU;};
virtual G4bool G4VhElectronicStoppingPower::HasMaterial ( const G4Material material)
pure virtual
G4double G4VhElectronicStoppingPower::HeEffChargeSquare ( const G4double  z,
const G4double  kineticEnergyHe 
) const
protected

Definition at line 68 of file G4VhElectronicStoppingPower.cc.

References test::c, GetHeMassAMU(), python.hepunit::keV, G4INCL::Math::max(), test::x, and z.

Referenced by G4hICRU49He::ElectronicStoppingPower(), and G4hICRU49He::StoppingPower().

71 {
72  // The aproximation of He effective charge from:
73  // J.F.Ziegler, J.P. Biersack, U. Littmark
74  // The Stopping and Range of Ions in Matter,
75  // Vol.1, Pergamon Press, 1985
76 
77  static const G4double c[6] = {0.2865, 0.1266, -0.001429,
78  0.02402,-0.01135, 0.001475} ;
79 
80  G4double e = std::log( std::max( 1.0, kineticEnergyHe/(keV*GetHeMassAMU()))) ;
81  G4double x = c[0] ;
82  G4double y = 1.0 ;
83  for (G4int i=1; i<6; i++) {
84  y *= e ;
85  x += y * c[i] ;
86  }
87 
88  G4double w = 7.6 - e ;
89  w = 1.0 + (0.007 + 0.00005*z) * std::exp( -w*w ) ;
90  w = 4.0 * (1.0 - std::exp(-x)) * w * w ;
91  return w;
92 }
G4double z
Definition: TRTMaterials.hh:39
int G4int
Definition: G4Types.hh:78
T max(const T t1, const T t2)
brief Return the largest of the two arguments
double G4double
Definition: G4Types.hh:76
virtual G4double G4VhElectronicStoppingPower::StoppingPower ( const G4Material material,
G4double  kineticEnergy 
)
pure virtual

The documentation for this class was generated from the following files: