Go to the documentation of this file.
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