41 #ifndef HadronXSDataTable_h
42 #define HadronXSDataTable_h 1
78 element = (*theElementVector)[i];
116 return xsData[idx]->Value(e);
const G4Element * SelectRandomAtom(G4double e, size_t idx) const
G4double GetCrossSection(G4double e, size_t idx) const
std::vector< G4PhysicsVector * > xSections
G4HadElementSelector(G4DynamicParticle *, G4CrossSectionDataStore *, const G4Material *, G4int bins, G4double emin, G4double emax, G4bool spline)
static const G4double emax
G4HadElementSelector & operator=(const G4HadElementSelector &right)=delete
const G4PhysicsVector * HasData(size_t idx) const
std::vector< G4HadElementSelector * > elmSelectors
void Initialise(G4DynamicParticle *, G4CrossSectionDataStore *, G4int bins, G4double emin, G4double emax, G4bool spline)
const G4Element * SelectRandomAtom(G4double e) const
std::vector< G4Element * > G4ElementVector
std::vector< G4PhysicsVector * > xsData
const G4ElementVector * theElementVector