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

Go to the source code of this file.

Classes

class  G4VBasePhysListStamper
 
class  G4PhysListStamper< T >
 

Macros

#define G4_DECLARE_PHYSLIST_FACTORY(physics_list)    const G4PhysListStamper<physics_list>& physics_list##Factory = G4PhysListStamper<physics_list>(#physics_list)
 
#define G4_DECLARE_PHYSLIST_FACTORY_NS(physics_list, nsname, plbase)
 
#define G4_REFERENCE_PHYSLIST_FACTORY(physics_list)
 
#define G4_REFERENCE_PHYSLIST_FACTORY_NS(physics_list, nsname, plbase)
 

Macro Definition Documentation

◆ G4_DECLARE_PHYSLIST_FACTORY

#define G4_DECLARE_PHYSLIST_FACTORY (   physics_list)     const G4PhysListStamper<physics_list>& physics_list##Factory = G4PhysListStamper<physics_list>(#physics_list)

Definition at line 59 of file G4PhysListStamper.hh.

◆ G4_DECLARE_PHYSLIST_FACTORY_NS

#define G4_DECLARE_PHYSLIST_FACTORY_NS (   physics_list,
  nsname,
  plbase 
)
Value:
namespace nsname { \
const G4PhysListStamper<physics_list>& plbase##Factory = G4PhysListStamper<physics_list>(#physics_list); \
} \
typedef int xyzzy__LINE__

Definition at line 65 of file G4PhysListStamper.hh.

◆ G4_REFERENCE_PHYSLIST_FACTORY

#define G4_REFERENCE_PHYSLIST_FACTORY (   physics_list)
Value:
template <class T> class T##physics_list; \
typedef T##physics_list<G4VModularPhysicsList> physics_list; \
extern const G4PhysListStamper<physics_list>& physics_list##Factory; \
const G4PhysListStamper<physics_list>& physics_list##FactoryRef = physics_list##Factory

Definition at line 80 of file G4PhysListStamper.hh.

◆ G4_REFERENCE_PHYSLIST_FACTORY_NS

#define G4_REFERENCE_PHYSLIST_FACTORY_NS (   physics_list,
  nsname,
  plbase 
)
Value:
namespace nsname { \
template <class T> class T##plbase; \
typedef T##plbase<G4VModularPhysicsList> plbase; \
extern const G4PhysListStamper<plbase>& plbase##Factory; \
const G4PhysListStamper<plbase>& plbase##FactoryRef = plbase##Factory; \
} \
typedef int xyzzy__LINE__

Definition at line 87 of file G4PhysListStamper.hh.