Geant4  10.00.p03
G4IonStoppingData Class Reference

#include <G4IonStoppingData.hh>

+ Inheritance diagram for G4IonStoppingData:
+ Collaboration diagram for G4IonStoppingData:

Public Member Functions

 G4IonStoppingData (const G4String &leDirectory)
 
virtual ~G4IonStoppingData ()
 
G4bool IsApplicable (G4int atomicNumberIon, G4int atomicNumberElem)
 
G4bool IsApplicable (G4int atomicNumberIon, const G4String &matIdentifier)
 
G4bool BuildPhysicsVector (G4int ionZ, const G4String &matName)
 
G4bool BuildPhysicsVector (G4int ionZ, G4int matZ)
 
G4PhysicsVectorGetPhysicsVector (G4int atomicNumberIon, G4int atomicNumberElem)
 
G4PhysicsVectorGetPhysicsVector (G4int atomicNumberIon, const G4String &matIdenfier)
 
G4double GetDEDX (G4double kinEnergyPerNucleon, G4int atomicNumberIon, G4int atomicNumberElem)
 
G4double GetDEDX (G4double kinEnergyPerNucleon, G4int atomicNumberIon, const G4String &matIdentifier)
 
G4bool AddPhysicsVector (G4PhysicsVector *physicsVector, G4int atomicNumberIon, const G4String &matIdentifier)
 
G4bool AddPhysicsVector (G4PhysicsVector *physicsVector, G4int atomicNumberIon, G4int atomicNumberElem)
 
G4bool RemovePhysicsVector (G4int atomicNumberIon, const G4String &matIdentifier)
 
G4bool RemovePhysicsVector (G4int atomicNumberIon, G4int atomicNumberElem)
 
void ClearTable ()
 
void DumpMap ()
 
- Public Member Functions inherited from G4VIonDEDXTable
 G4VIonDEDXTable ()
 
virtual ~G4VIonDEDXTable ()
 

Private Types

typedef std::pair< G4int, G4intG4IonDEDXKeyElem
 
typedef std::pair< G4int,
G4String
G4IonDEDXKeyMat
 
typedef std::map
< G4IonDEDXKeyElem,
G4PhysicsVector * > 
G4IonDEDXMapElem
 
typedef std::map
< G4IonDEDXKeyMat,
G4PhysicsVector * > 
G4IonDEDXMapMat
 

Private Attributes

G4String subDir
 
G4IonDEDXMapElem dedxMapElements
 
G4IonDEDXMapMat dedxMapMaterials
 

Detailed Description

Definition at line 60 of file G4IonStoppingData.hh.

Member Typedef Documentation

typedef std::pair<G4int, G4int> G4IonStoppingData::G4IonDEDXKeyElem
private

Definition at line 158 of file G4IonStoppingData.hh.

typedef std::pair<G4int, G4String> G4IonStoppingData::G4IonDEDXKeyMat
private

Definition at line 159 of file G4IonStoppingData.hh.

Definition at line 161 of file G4IonStoppingData.hh.

Definition at line 162 of file G4IonStoppingData.hh.

Constructor & Destructor Documentation

G4IonStoppingData::G4IonStoppingData ( const G4String leDirectory)

Definition at line 64 of file G4IonStoppingData.cc.

G4IonStoppingData::~G4IonStoppingData ( )
virtual

Definition at line 71 of file G4IonStoppingData.cc.

Member Function Documentation

G4bool G4IonStoppingData::AddPhysicsVector ( G4PhysicsVector physicsVector,
G4int  atomicNumberIon,
const G4String matIdentifier 
)

Definition at line 192 of file G4IonStoppingData.cc.

References dedxMapMaterials, G4cerr, and G4endl.

Referenced by BuildPhysicsVector().

+ Here is the caller graph for this function:

G4bool G4IonStoppingData::AddPhysicsVector ( G4PhysicsVector physicsVector,
G4int  atomicNumberIon,
G4int  atomicNumberElem 
)

Definition at line 253 of file G4IonStoppingData.cc.

References dedxMapElements, G4cerr, and G4endl.

G4bool G4IonStoppingData::BuildPhysicsVector ( G4int  ionZ,
const G4String matName 
)
virtual

Implements G4VIonDEDXTable.

Definition at line 377 of file G4IonStoppingData.cc.

References AddPhysicsVector(), cm2, FatalException, g, G4Exception(), IsApplicable(), MeV, and subDir.

+ Here is the call graph for this function:

G4bool G4IonStoppingData::BuildPhysicsVector ( G4int  ionZ,
G4int  matZ 
)
virtual

Implements G4VIonDEDXTable.

Definition at line 428 of file G4IonStoppingData.cc.

References AddPhysicsVector(), cm2, FatalException, g, G4Exception(), IsApplicable(), MeV, and subDir.

+ Here is the call graph for this function:

void G4IonStoppingData::ClearTable ( )

Definition at line 478 of file G4IonStoppingData.cc.

References dedxMapElements, dedxMapMaterials, and second.

void G4IonStoppingData::DumpMap ( )

Definition at line 507 of file G4IonStoppingData.cc.

References dedxMapElements, dedxMapMaterials, G4cout, G4endl, right, and second.

G4double G4IonStoppingData::GetDEDX ( G4double  kinEnergyPerNucleon,
G4int  atomicNumberIon,
G4int  atomicNumberElem 
)

Definition at line 146 of file G4IonStoppingData.cc.

References dedxMapElements, and second.

G4double G4IonStoppingData::GetDEDX ( G4double  kinEnergyPerNucleon,
G4int  atomicNumberIon,
const G4String matIdentifier 
)

Definition at line 169 of file G4IonStoppingData.cc.

References dedxMapMaterials, and second.

G4PhysicsVector * G4IonStoppingData::GetPhysicsVector ( G4int  atomicNumberIon,
G4int  atomicNumberElem 
)
virtual

Implements G4VIonDEDXTable.

Definition at line 110 of file G4IonStoppingData.cc.

References dedxMapElements, and second.

G4PhysicsVector * G4IonStoppingData::GetPhysicsVector ( G4int  atomicNumberIon,
const G4String matIdenfier 
)
virtual

Implements G4VIonDEDXTable.

Definition at line 128 of file G4IonStoppingData.cc.

References dedxMapMaterials, and second.

G4bool G4IonStoppingData::IsApplicable ( G4int  atomicNumberIon,
G4int  atomicNumberElem 
)
virtual

Implements G4VIonDEDXTable.

Definition at line 78 of file G4IonStoppingData.cc.

References dedxMapElements.

Referenced by BuildPhysicsVector().

+ Here is the caller graph for this function:

G4bool G4IonStoppingData::IsApplicable ( G4int  atomicNumberIon,
const G4String matIdentifier 
)
virtual

Implements G4VIonDEDXTable.

Definition at line 94 of file G4IonStoppingData.cc.

References dedxMapMaterials.

G4bool G4IonStoppingData::RemovePhysicsVector ( G4int  atomicNumberIon,
const G4String matIdentifier 
)

Definition at line 312 of file G4IonStoppingData.cc.

References dedxMapMaterials, G4cerr, and G4endl.

G4bool G4IonStoppingData::RemovePhysicsVector ( G4int  atomicNumberIon,
G4int  atomicNumberElem 
)

Definition at line 345 of file G4IonStoppingData.cc.

References dedxMapElements, G4cerr, and G4endl.

Member Data Documentation

G4IonDEDXMapElem G4IonStoppingData::dedxMapElements
private
G4IonDEDXMapMat G4IonStoppingData::dedxMapMaterials
private
G4String G4IonStoppingData::subDir
private

Definition at line 156 of file G4IonStoppingData.hh.

Referenced by BuildPhysicsVector().


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