12 #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 MF_LOG_DEBUG(
"CustomPhysicsTable")<<
"CustomPhysicsTable : Physics Table registering new physics " bool IsPhysicsAvailable(std::string)
std::map< std::string, CustomPhysicsFactoryBase * > theTable
virtual std::string GetName()=0
static CustomPhysicsTable * TheCustomPhysicsTable
General GArSoft Utilities.
void AddPhysics(CustomPhysicsFactoryBase *)
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
G4VPhysicsConstructor * GetPhysicsConstructor(std::string)
std::vector< std::string > GetAvailablePhysicsList()