LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
G4PhysListFactorySingleton.hh File Reference
#include "Geant4/G4VModularPhysicsList.hh"
#include "Geant4/globals.hh"

Go to the source code of this file.

Classes

class  G4PhysListFactorySingleton
 
struct  G4PhysListFactorySingleton::Cleaner
 

Macros

#define PHYSLISTREG(_name)
 
#define PHYSLISTREG3(_ns, _name, _fqname)
 

Typedefs

typedef G4VModularPhysicsList *(* PhysListCtorFuncPtr_t) ()
 

Macro Definition Documentation

#define PHYSLISTREG (   _name)
Value:
G4VModularPhysicsList* _name ## _ctor_function () { return new _name; } \
static G4bool _name ## _creator_registered = \
G4PhysListFactorySingleton::Instance().RegisterCreator(# _name, \
& _name ## _ctor_function, \
& _name ## _creator_registered );

Definition at line 174 of file G4PhysListFactorySingleton.hh.

#define PHYSLISTREG3 (   _ns,
  _name,
  _fqname 
)
Value:
namespace _ns { \
G4VModularPhysicsList* _name ## _ctor_function () { return new _fqname; } \
static G4bool _name ## _creator_registered = \
G4PhysListFactorySingleton::Instance().RegisterCreator(# _fqname, \
& _fqname ## _ctor_function, \
& _fqname ## _creator_registered );}

Definition at line 181 of file G4PhysListFactorySingleton.hh.

Typedef Documentation

typedef G4VModularPhysicsList*(* PhysListCtorFuncPtr_t) ()

Definition at line 63 of file G4PhysListFactorySingleton.hh.