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