Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VhElectronicStoppingPower Class Referenceabstract

#include <G4VhElectronicStoppingPower.hh>

Inheritance diagram for G4VhElectronicStoppingPower:

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 58 of file G4VhElectronicStoppingPower.cc.

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

Definition at line 64 of file G4VhElectronicStoppingPower.cc.

65 {;}

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.

85 {return theHeMassAMU;};

Here is the caller graph for this function:

virtual G4bool G4VhElectronicStoppingPower::HasMaterial ( const G4Material material)
pure virtual
G4double G4VhElectronicStoppingPower::HeEffChargeSquare ( const G4double  z,
const G4double  kineticEnergyHe 
) const
protected

Definition at line 69 of file G4VhElectronicStoppingPower.cc.

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

Here is the call graph for this function:

Here is the caller graph for this function:

virtual G4double G4VhElectronicStoppingPower::StoppingPower ( const G4Material material,
G4double  kineticEnergy 
)
pure virtual

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