44 #define ElementData_h 1
159 if(
id == (
compID[Z])[i]) {
176 return ((
compData[Z])[idx])->Value(kinEnergy);
G4PhysicsVector * GetComponentDataByIndex(G4int Z, size_t idx)
void AddComponent(G4int Z, G4int id, G4PhysicsVector *v)
G4PhysicsVector * GetComponentDataByID(G4int Z, G4int id)
std::vector< G4PhysicsVector * > compData[maxNumElements]
G4PhysicsVector * GetElementData(G4int Z)
G4ElementData & operator=(const G4ElementData &right)
const G4int maxNumElements
G4int GetComponentID(G4int Z, size_t idx)
void InitialiseForElement(G4int Z, G4PhysicsVector *v)
size_t compLength[maxNumElements]
G4PhysicsVector * elmData[maxNumElements]
std::vector< G4int > compID[maxNumElements]
size_t GetNumberOfComponents(G4int Z)
G4double Value(G4double theEnergy, size_t &lastidx) const
G4Physics2DVector * elm2Data[maxNumElements]
G4double GetValueForElement(G4int Z, G4double kinEnergy)
G4double GetValueForComponent(G4int Z, size_t idx, G4double kinEnergy)
void SetName(const G4String &nam)
G4Physics2DVector * GetElement2DData(G4int Z)
void InitialiseForComponent(G4int Z, G4int nComponents=0)