13 #include "Geant4/G4VPhysicsConstructor.hh" 22 if(!TheCustomPhysicsTable){
34 std::vector<std::string> ReturnVector;
36 ReturnVector.push_back((*i).first);
44 if(!TheCustomPhysicsTable->
theTable[PhysicsName])
54 G4VPhysicsConstructor * G4VPC = TheCustomPhysicsTable->
theTable[PhysicsName]->Build();
58 G4VPhysicsConstructor * G4VPC=0;
69 mf::LogWarning(
"CustomPhysicsTable") <<
"Physics constructor being overwritten" 70 <<
" in CustomPhysicsTable";
72 LOG_DEBUG(
"CustomPhysicsTable")<<
"CustomPhysicsTable : Physics Table registering new physics "
G4VPhysicsConstructor * GetPhysicsConstructor(std::string)
bool IsPhysicsAvailable(std::string)
std::map< std::string, CustomPhysicsFactoryBase * > theTable
virtual std::string GetName()=0
std::vector< std::string > GetAvailablePhysicsList()
void AddPhysics(CustomPhysicsFactoryBase *)
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
static CustomPhysicsTable * TheCustomPhysicsTable