Geant4  10.01.p01
G4ExtDEDXTable Class Reference

#include <G4ExtDEDXTable.hh>

+ Inheritance diagram for G4ExtDEDXTable:
+ Collaboration diagram for G4ExtDEDXTable:

Public Member Functions

 G4ExtDEDXTable ()
 
virtual ~G4ExtDEDXTable ()
 
G4bool BuildPhysicsVector (G4int ionZ, const G4String &matName)
 
G4bool BuildPhysicsVector (G4int ionZ, G4int matZ)
 
G4bool IsApplicable (G4int atomicNumberIon, G4int atomicNumberElem)
 
G4bool IsApplicable (G4int atomicNumberIon, const G4String &matIdentifier)
 
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 &matIdenfier)
 
G4bool AddPhysicsVector (G4PhysicsVector *physicsVector, G4int atomicNumberIon, const G4String &matIdenfier, G4int atomicNumberElem=0)
 
G4bool RemovePhysicsVector (G4int atomicNumberIon, const G4String &matIdentifier)
 
G4bool StorePhysicsTable (const G4String &fileName)
 
G4bool RetrievePhysicsTable (const G4String &fileName)
 
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 Member Functions

G4PhysicsVectorCreatePhysicsVector (G4int vectorType)
 
G4int FindAtomicNumberElement (G4PhysicsVector *physicsVector)
 

Private Attributes

G4IonDEDXMapElem dedxMapElements
 
G4IonDEDXMapMat dedxMapMaterials
 

Detailed Description

Definition at line 64 of file G4ExtDEDXTable.hh.

Member Typedef Documentation

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

Definition at line 158 of file G4ExtDEDXTable.hh.

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

Definition at line 159 of file G4ExtDEDXTable.hh.

Definition at line 161 of file G4ExtDEDXTable.hh.

Definition at line 162 of file G4ExtDEDXTable.hh.

Constructor & Destructor Documentation

G4ExtDEDXTable::G4ExtDEDXTable ( )

Definition at line 73 of file G4ExtDEDXTable.cc.

G4ExtDEDXTable::~G4ExtDEDXTable ( )
virtual

Definition at line 79 of file G4ExtDEDXTable.cc.

References ClearTable().

+ Here is the call graph for this function:

Member Function Documentation

G4bool G4ExtDEDXTable::AddPhysicsVector ( G4PhysicsVector physicsVector,
G4int  atomicNumberIon,
const G4String matIdenfier,
G4int  atomicNumberElem = 0 
)

Definition at line 216 of file G4ExtDEDXTable.cc.

References dedxMapElements, dedxMapMaterials, G4cout, and G4endl.

Referenced by RetrievePhysicsTable().

+ Here is the caller graph for this function:

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

Implements G4VIonDEDXTable.

Definition at line 94 of file G4ExtDEDXTable.cc.

References IsApplicable().

+ Here is the call graph for this function:

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

Implements G4VIonDEDXTable.

Definition at line 86 of file G4ExtDEDXTable.cc.

References IsApplicable().

+ Here is the call graph for this function:

void G4ExtDEDXTable::ClearTable ( )

Definition at line 590 of file G4ExtDEDXTable.cc.

References dedxMapElements, dedxMapMaterials, and second.

Referenced by ~G4ExtDEDXTable().

+ Here is the caller graph for this function:

G4PhysicsVector * G4ExtDEDXTable::CreatePhysicsVector ( G4int  vectorType)
private

Definition at line 529 of file G4ExtDEDXTable.cc.

References T_G4LPhysicsFreeVector, T_G4PhysicsFreeVector, T_G4PhysicsLinearVector, T_G4PhysicsLnVector, T_G4PhysicsLogVector, and T_G4PhysicsOrderedFreeVector.

Referenced by RetrievePhysicsTable().

+ Here is the caller graph for this function:

void G4ExtDEDXTable::DumpMap ( )

Definition at line 608 of file G4ExtDEDXTable.cc.

References dedxMapMaterials, FindAtomicNumberElement(), G4cout, G4endl, right, and second.

+ Here is the call graph for this function:

G4int G4ExtDEDXTable::FindAtomicNumberElement ( G4PhysicsVector physicsVector)
private

Definition at line 567 of file G4ExtDEDXTable.cc.

References dedxMapElements.

Referenced by DumpMap(), and StorePhysicsTable().

+ Here is the caller graph for this function:

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

Definition at line 170 of file G4ExtDEDXTable.cc.

References dedxMapElements, and second.

G4double G4ExtDEDXTable::GetDEDX ( G4double  kinEnergyPerNucleon,
G4int  atomicNumberIon,
const G4String matIdenfier 
)

Definition at line 193 of file G4ExtDEDXTable.cc.

References dedxMapMaterials, and second.

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

Implements G4VIonDEDXTable.

Definition at line 134 of file G4ExtDEDXTable.cc.

References dedxMapElements, and second.

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

Implements G4VIonDEDXTable.

Definition at line 152 of file G4ExtDEDXTable.cc.

References dedxMapMaterials, and second.

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

Implements G4VIonDEDXTable.

Definition at line 102 of file G4ExtDEDXTable.cc.

References dedxMapElements.

Referenced by BuildPhysicsVector().

+ Here is the caller graph for this function:

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

Implements G4VIonDEDXTable.

Definition at line 118 of file G4ExtDEDXTable.cc.

References dedxMapMaterials.

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

Definition at line 293 of file G4ExtDEDXTable.cc.

References dedxMapElements, dedxMapMaterials, G4cout, and G4endl.

G4bool G4ExtDEDXTable::RetrievePhysicsTable ( const G4String fileName)

Definition at line 409 of file G4ExtDEDXTable.cc.

References AddPhysicsVector(), CreatePhysicsVector(), G4cout, G4endl, and pos.

+ Here is the call graph for this function:

G4bool G4ExtDEDXTable::StorePhysicsTable ( const G4String fileName)

Definition at line 338 of file G4ExtDEDXTable.cc.

References dedxMapMaterials, FindAtomicNumberElement(), G4cout, G4endl, and second.

+ Here is the call graph for this function:

Member Data Documentation

G4IonDEDXMapElem G4ExtDEDXTable::dedxMapElements
private
G4IonDEDXMapMat G4ExtDEDXTable::dedxMapMaterials
private

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