Geant4  10.00.p02
G4ElementData Class Reference

#include <G4ElementData.hh>

+ Collaboration diagram for G4ElementData:

Public Member Functions

 G4ElementData ()
 
 ~G4ElementData ()
 
void InitialiseForElement (G4int Z, G4PhysicsVector *v)
 
void InitialiseForElement (G4int Z, G4Physics2DVector *v)
 
void InitialiseForComponent (G4int Z, G4int nComponents=0)
 
void AddComponent (G4int Z, G4int id, G4PhysicsVector *v)
 
void SetName (const G4String &nam)
 
G4PhysicsVectorGetElementData (G4int Z)
 
G4Physics2DVectorGetElement2DData (G4int Z)
 
size_t GetNumberOfComponents (G4int Z)
 
G4int GetComponentID (G4int Z, size_t idx)
 
G4PhysicsVectorGetComponentDataByIndex (G4int Z, size_t idx)
 
G4PhysicsVectorGetComponentDataByID (G4int Z, G4int id)
 
G4double GetValueForElement (G4int Z, G4double kinEnergy)
 
G4double GetValueForComponent (G4int Z, size_t idx, G4double kinEnergy)
 

Private Member Functions

G4ElementDataoperator= (const G4ElementData &right)
 
 G4ElementData (const G4ElementData &)
 

Private Attributes

G4PhysicsVectorelmData [maxNumElements]
 
G4Physics2DVectorelm2Data [maxNumElements]
 
std::vector< G4PhysicsVector * > compData [maxNumElements]
 
std::vector< G4intcompID [maxNumElements]
 
size_t compLength [maxNumElements]
 
G4String name
 

Detailed Description

Definition at line 56 of file G4ElementData.hh.

Constructor & Destructor Documentation

G4ElementData::G4ElementData ( )

Definition at line 48 of file G4ElementData.cc.

References compLength, elm2Data, elmData, maxNumElements, and name.

G4ElementData::~G4ElementData ( )

Definition at line 60 of file G4ElementData.cc.

References elm2Data, and maxNumElements.

G4ElementData::G4ElementData ( const G4ElementData )
private

Member Function Documentation

void G4ElementData::AddComponent ( G4int  Z,
G4int  id,
G4PhysicsVector v 
)

Definition at line 120 of file G4ElementData.cc.

References compData, compID, compLength, FatalException, G4cout, G4endl, G4Exception(), maxNumElements, and name.

Referenced by G4NeutronCaptureXS::Initialise(), G4NeutronInelasticXS::Initialise(), and G4LivermorePhotoElectricModel::ReadData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4PhysicsVector * G4ElementData::GetComponentDataByID ( G4int  Z,
G4int  id 
)
inline

Definition at line 155 of file G4ElementData.hh.

References compData, compID, and compLength.

Referenced by G4NeutronCaptureXS::IsoCrossSection(), and G4NeutronInelasticXS::IsoCrossSection().

+ Here is the caller graph for this function:

G4PhysicsVector * G4ElementData::GetComponentDataByIndex ( G4int  Z,
size_t  idx 
)
inline

Definition at line 149 of file G4ElementData.hh.

References compData.

G4int G4ElementData::GetComponentID ( G4int  Z,
size_t  idx 
)
inline

Definition at line 143 of file G4ElementData.hh.

References compID.

Referenced by G4LivermorePhotoElectricModel::SampleSecondaries().

+ Here is the caller graph for this function:

G4Physics2DVector * G4ElementData::GetElement2DData ( G4int  Z)
inline

Definition at line 132 of file G4ElementData.hh.

References elm2Data.

Referenced by G4MuPairProductionModel::FindScaledEnergy(), and G4MuPairProduction::PrintInfo().

+ Here is the caller graph for this function:

G4PhysicsVector * G4ElementData::GetElementData ( G4int  Z)
inline
size_t G4ElementData::GetNumberOfComponents ( G4int  Z)
inline

Definition at line 138 of file G4ElementData.hh.

References compLength.

Referenced by G4NeutronCaptureXS::SelectIsotope(), and G4NeutronInelasticXS::SelectIsotope().

+ Here is the caller graph for this function:

G4double G4ElementData::GetValueForComponent ( G4int  Z,
size_t  idx,
G4double  kinEnergy 
)
inline

Definition at line 174 of file G4ElementData.hh.

References compData.

Referenced by G4LivermorePhotoElectricModel::SampleSecondaries().

+ Here is the caller graph for this function:

G4double G4ElementData::GetValueForElement ( G4int  Z,
G4double  kinEnergy 
)
inline

Definition at line 168 of file G4ElementData.hh.

References elmData, and G4PhysicsVector::Value().

+ Here is the call graph for this function:

void G4ElementData::InitialiseForComponent ( G4int  Z,
G4int  nComponents = 0 
)

Definition at line 101 of file G4ElementData.cc.

References compData, compID, compLength, FatalException, G4cout, G4endl, G4Exception(), maxNumElements, and name.

Referenced by G4NeutronCaptureXS::Initialise(), G4NeutronInelasticXS::Initialise(), and G4LivermorePhotoElectricModel::ReadData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ElementData::InitialiseForElement ( G4int  Z,
G4PhysicsVector v 
)

Definition at line 75 of file G4ElementData.cc.

References elmData, FatalException, G4cout, G4endl, G4Exception(), maxNumElements, and name.

Referenced by G4NeutronCaptureXS::Initialise(), G4NeutronInelasticXS::Initialise(), and G4MuPairProductionModel::MakeSamplingTables().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ElementData::InitialiseForElement ( G4int  Z,
G4Physics2DVector v 
)

Definition at line 88 of file G4ElementData.cc.

References elm2Data, FatalException, G4cout, G4endl, G4Exception(), maxNumElements, and name.

+ Here is the call graph for this function:

G4ElementData& G4ElementData::operator= ( const G4ElementData right)
private
void G4ElementData::SetName ( const G4String nam)
inline

Definition at line 120 of file G4ElementData.hh.

References name.

Referenced by G4NeutronCaptureXS::G4NeutronCaptureXS(), and G4NeutronInelasticXS::G4NeutronInelasticXS().

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<G4PhysicsVector*> G4ElementData::compData[maxNumElements]
private
std::vector<G4int> G4ElementData::compID[maxNumElements]
private
size_t G4ElementData::compLength[maxNumElements]
private
G4Physics2DVector* G4ElementData::elm2Data[maxNumElements]
private
G4PhysicsVector* G4ElementData::elmData[maxNumElements]
private
G4String G4ElementData::name
private

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