Geant4  10.02
G4ASTARStopping Class Reference

#include <G4ASTARStopping.hh>

Public Member Functions

 G4ASTARStopping ()
 
 ~G4ASTARStopping ()
 
void Initialise ()
 
G4int GetIndex (const G4Material *) const
 
G4int GetIndex (const G4String &) const
 
G4double GetElectronicDEDX (G4int idx, G4double energy) const
 
G4double GetElectronicDEDX (const G4Material *, G4double energy) const
 

Private Member Functions

void AddData (const G4double *s, const G4Material *)
 
void FindData (G4int idx, const G4Material *)
 
void PrintWarning (G4int idx) const
 
G4ASTARStoppingoperator= (const G4ASTARStopping &right)
 
 G4ASTARStopping (const G4ASTARStopping &)
 

Private Attributes

size_t nvectors
 
G4double emin
 
std::vector< const G4Material * > materials
 
std::vector
< G4LPhysicsFreeVector * > 
sdata
 

Detailed Description

Definition at line 60 of file G4ASTARStopping.hh.

Constructor & Destructor Documentation

G4ASTARStopping::G4ASTARStopping ( )

Definition at line 55 of file G4ASTARStopping.cc.

References Initialise().

+ Here is the call graph for this function:

G4ASTARStopping::~G4ASTARStopping ( )

Definition at line 63 of file G4ASTARStopping.cc.

References nvectors, and sdata.

G4ASTARStopping::G4ASTARStopping ( const G4ASTARStopping )
private

Member Function Documentation

void G4ASTARStopping::AddData ( const G4double s,
const G4Material mat 
)
private

Definition at line 353 of file G4ASTARStopping.cc.

References fac, G4PhysicsVector::FillSecondDerivatives(), materials, MeV, nvectors, G4LPhysicsFreeVector::PutValues(), sdata, and G4PhysicsVector::SetSpline().

Referenced by FindData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ASTARStopping::FindData ( G4int  idx,
const G4Material mat 
)
private

Definition at line 125 of file G4ASTARStopping.cc.

References AddData(), e1, e2, e3, and e4.

Referenced by Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ASTARStopping::GetElectronicDEDX ( G4int  idx,
G4double  energy 
) const
inline

Definition at line 127 of file G4ASTARStopping.hh.

References emin, nvectors, PrintWarning(), and sdata.

Referenced by G4BraggIonModel::DEDX(), and GetElectronicDEDX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ASTARStopping::GetElectronicDEDX ( const G4Material mat,
G4double  energy 
) const
inline

Definition at line 139 of file G4ASTARStopping.hh.

References GetElectronicDEDX(), and GetIndex().

+ Here is the call graph for this function:

G4int G4ASTARStopping::GetIndex ( const G4Material mat) const
inline

Definition at line 98 of file G4ASTARStopping.hh.

References materials, and nvectors.

Referenced by G4BraggIonModel::DEDX(), and GetElectronicDEDX().

+ Here is the caller graph for this function:

G4int G4ASTARStopping::GetIndex ( const G4String nam) const
inline

Definition at line 112 of file G4ASTARStopping.hh.

References materials, and nvectors.

void G4ASTARStopping::Initialise ( )

Definition at line 82 of file G4ASTARStopping.cc.

References FindData(), G4Material::GetChemicalFormula(), G4Material::GetMaterialTable(), G4Material::GetName(), G4Material::GetNumberOfMaterials(), materials, molecularIndex, molecularName, nameNIST, numberOfMolecula, and nvectors.

Referenced by G4ASTARStopping(), and G4BraggIonModel::Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ASTARStopping& G4ASTARStopping::operator= ( const G4ASTARStopping right)
private
void G4ASTARStopping::PrintWarning ( G4int  idx) const
private

Definition at line 72 of file G4ASTARStopping.cc.

References G4Exception(), JustWarning, and nvectors.

Referenced by GetElectronicDEDX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4ASTARStopping::emin
private

Definition at line 91 of file G4ASTARStopping.hh.

Referenced by GetElectronicDEDX().

std::vector<const G4Material*> G4ASTARStopping::materials
private

Definition at line 92 of file G4ASTARStopping.hh.

Referenced by AddData(), GetIndex(), and Initialise().

size_t G4ASTARStopping::nvectors
private
std::vector<G4LPhysicsFreeVector*> G4ASTARStopping::sdata
private

Definition at line 93 of file G4ASTARStopping.hh.

Referenced by AddData(), GetElectronicDEDX(), and ~G4ASTARStopping().


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