26#ifndef G4PhysicsConstructorFactory_h
27#define G4PhysicsConstructorFactory_h 1
60#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor) \
61 const G4PhysicsConstructorFactory<physics_constructor>& physics_constructor##Factory = G4PhysicsConstructorFactory<physics_constructor>(#physics_constructor)
63#define G4_REFERENCE_PHYSCONSTR_FACTORY(physics_constructor) \
64 class physics_constructor; \
65 extern const G4PhysicsConstructorFactory<physics_constructor>& physics_constructor##Factory; \
66 const G4PhysicsConstructorFactory<physics_constructor>& physics_constructor##FactoryRef = physics_constructor##Factory
G4PhysicsConstructorFactory(const G4String &name)
virtual G4VPhysicsConstructor * Instantiate()
void AddFactory(G4String, G4VBasePhysConstrFactory *)
static G4PhysicsConstructorRegistry * Instance()
virtual G4VPhysicsConstructor * Instantiate()=0