Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PhysicsConstructorFactory.hh File Reference

Go to the source code of this file.

Classes

class  G4VBasePhysConstrFactory
 
class  G4PhysicsConstructorFactory< T >
 

Macros

#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)    const G4PhysicsConstructorFactory<physics_constructor>& physics_constructor##Factory = G4PhysicsConstructorFactory<physics_constructor>(#physics_constructor)
 
#define G4_DECLARE_PHYSCONSTR_FACTORY_NS(physics_constructor, nsname, pcbase)
 
#define REGREF   0
 
#define G4_REFERENCE_PHYSCONSTR_FACTORY(physics_constructor)
 
#define G4_REFERENCE_PHYSCONSTR_FACTORY_NS(physics_constructor, nsname, pcbase)
 

Macro Definition Documentation

◆ G4_DECLARE_PHYSCONSTR_FACTORY

#define G4_DECLARE_PHYSCONSTR_FACTORY (   physics_constructor)     const G4PhysicsConstructorFactory<physics_constructor>& physics_constructor##Factory = G4PhysicsConstructorFactory<physics_constructor>(#physics_constructor)

Definition at line 59 of file G4PhysicsConstructorFactory.hh.

◆ G4_DECLARE_PHYSCONSTR_FACTORY_NS

#define G4_DECLARE_PHYSCONSTR_FACTORY_NS (   physics_constructor,
  nsname,
  pcbase 
)
Value:
namespace nsname { \
} \
typedef int xyzzy__LINE__

Definition at line 65 of file G4PhysicsConstructorFactory.hh.

◆ G4_REFERENCE_PHYSCONSTR_FACTORY

#define G4_REFERENCE_PHYSCONSTR_FACTORY (   physics_constructor)
Value:
class physics_constructor; \
extern const G4PhysicsConstructorFactory<physics_constructor>& physics_constructor##Factory; \
const G4PhysicsConstructorFactory<physics_constructor>& physics_constructor##FactoryRef##REGREF = physics_constructor##Factory
#define REGREF

Definition at line 83 of file G4PhysicsConstructorFactory.hh.

◆ G4_REFERENCE_PHYSCONSTR_FACTORY_NS

#define G4_REFERENCE_PHYSCONSTR_FACTORY_NS (   physics_constructor,
  nsname,
  pcbase 
)
Value:
namespace nsname { \
class pcbase; \
extern const G4PhysicsConstructorFactory<physics_constructor>& pcbase##Factory; \
const G4PhysicsConstructorFactory<physics_constructor>& pcbase##FactoryRef##REGREF = pcbase##Factory; \
} \
typedef int xyzzy__LINE__

Definition at line 88 of file G4PhysicsConstructorFactory.hh.

◆ REGREF

#define REGREF   0

Definition at line 80 of file G4PhysicsConstructorFactory.hh.