20 if (!TheCustomPhysicsTable) {
30 std::vector<std::string>
33 std::vector<std::string> ReturnVector;
35 TheCustomPhysicsTable->
theTable.begin();
36 i != TheCustomPhysicsTable->
theTable.end();
38 ReturnVector.push_back((*i).first);
47 if (!TheCustomPhysicsTable->
theTable[PhysicsName])
54 G4VPhysicsConstructor*
58 return TheCustomPhysicsTable->
theTable[PhysicsName]->Build();
70 mf::LogWarning(
"CustomPhysicsTable") <<
"Physics constructor being overwritten" 71 <<
" in CustomPhysicsTable";
74 <<
"CustomPhysicsTable : Physics Table registering new physics " << Factory->
GetName();
G4VPhysicsConstructor * GetPhysicsConstructor(std::string const &physicsName)
std::vector< std::string > GetAvailablePhysicsList()
void AddPhysics(CustomPhysicsFactoryBase *)
std::map< std::string, CustomPhysicsFactoryBase * > theTable
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
bool IsPhysicsAvailable(std::string const &)
CustomPhysicsTable()=default
static CustomPhysicsTable * TheCustomPhysicsTable
std::string const & GetName() const noexcept