54 data.resize(
n,
nullptr);
86 data.push_back(table);
88 }
else {
data[i] = table; }
99 data[i]->clearAndDestroy();
113 if(
nullptr !=
data[idx]) {
114 yes =
data[idx]->StorePhysicsTable(
fname, ascii);
117 G4cout <<
"Physics table is stored for "
121 G4cout <<
"Fail to store Physics Table for "
141 G4cout <<
"Physics table " << idx <<
" for "
143 <<
" is retrieved from <" <<
fname <<
">"
146 }
else if (1 < param->
Verbose()) {
147 G4cout <<
"Fail to retrieve physics table " << idx <<
" for "
G4GLOB_DLL std::ostream G4cout
void SetMasterProcess(const G4VEmProcess *)
void CleanTable(size_t idx)
std::vector< G4PhysicsTable * > data
G4PhysicsTable * MakeTable(size_t idx)
std::vector< const G4VEmProcess * > masterProcess
G4bool RetrievePhysicsTable(size_t idx, const G4ParticleDefinition *part, const G4String &fname, G4bool ascii, G4bool spline)
const G4VEmProcess * GetMasterProcess(size_t idx) const
G4PhysicsTable * Table(size_t idx) const
size_t SetTable(G4PhysicsTable *)
G4EmDataHandler(size_t nTable)
G4bool StorePhysicsTable(size_t idx, const G4ParticleDefinition *part, const G4String &fname, G4bool ascii)
static G4EmParameters * Instance()
const G4String & GetParticleName() const
static G4PhysicsTable * PreparePhysicsTable(G4PhysicsTable *physTable)
static G4bool RetrievePhysicsTable(G4PhysicsTable *physTable, const G4String &fileName, G4bool ascii, G4bool spline)