48#ifndef G4HadDataHandler_h
49#define G4HadDataHandler_h 1
85 return (idx < tLength) ? data[idx] :
nullptr;
88 return (idx < tLength) ? data[idx] :
nullptr;
94 {
return (*(data[itable]))[ivec]; }
96 inline const std::vector<G4PhysicsTable*>&
GetTables()
const {
return data; }
104 std::vector<G4PhysicsTable*> data;
106 std::vector<const G4VProcess*> masterProcess;
void CleanTable(std::size_t idx)
const G4PhysicsTable * GetTable(std::size_t idx) const
void AddTable(G4PhysicsTable *)
G4HadDataHandler(const G4HadDataHandler &)=delete
void SetMasterProcess(const G4VProcess *)
const G4PhysicsVector * GetVector(std::size_t itable, std::size_t ivec) const
G4PhysicsTable * Table(std::size_t idx) const
const G4VProcess * GetMasterProcess(std::size_t idx) const
void UpdateTable(G4PhysicsTable *, std::size_t idx)
const std::vector< G4PhysicsTable * > & GetTables() const
G4HadDataHandler & operator=(const G4HadDataHandler &right)=delete