44#define ElementData_h 1
126 return compLength[Z];
131 return (compID[Z])[idx];
137 return (compData[Z])[idx];
144 for(
size_t i=0; i<compLength[Z]; ++i) {
145 if(
id == (compID[Z])[i]) {
146 v = (compData[Z])[i];
156 return elmData[Z]->
Value(kinEnergy);
162 return ((compData[Z])[idx])->Value(kinEnergy);
const G4int maxNumElements
void InitialiseForComponent(G4int Z, G4int nComponents=0)
void InitialiseForElement(G4int Z, G4PhysicsVector *v)
G4int GetComponentID(G4int Z, size_t idx)
G4PhysicsVector * GetElementData(G4int Z)
G4PhysicsVector * GetComponentDataByIndex(G4int Z, size_t idx)
G4double GetValueForElement(G4int Z, G4double kinEnergy)
void AddComponent(G4int Z, G4int id, G4PhysicsVector *v)
void SetName(const G4String &nam)
G4double GetValueForComponent(G4int Z, size_t idx, G4double kinEnergy)
G4PhysicsVector * GetComponentDataByID(G4int Z, G4int id)
size_t GetNumberOfComponents(G4int Z)
G4double Value(G4double theEnergy)