6 #ifndef CUSTOMPHYSICSFACTORY_hh 7 #define CUSTOMPHYSICSFACTORY_hh 9 #include "Geant4/G4VPhysicsConstructor.hh" 11 #ifndef CUSTOMPHYSICSTABLE_hh 12 namespace larg4 {
class CustomPhysicsTable; }
23 virtual std::string
GetName() = 0;
24 virtual G4VPhysicsConstructor *
Build() = 0;
38 virtual G4VPhysicsConstructor *
Build();
65 std::cerr<<
"CustomPhysicsFactory Error : Physics registered with no name!"<<std::endl;
virtual ~CustomPhysicsFactoryBase()
virtual ~CustomPhysicsFactory()
virtual bool Registered()=0
virtual std::string GetName()=0
CustomPhysicsFactoryBase()
virtual G4VPhysicsConstructor * Build()=0
virtual G4VPhysicsConstructor * Build()