Geant4
10.02.p02
|
#include <G4PhysicsConstructorRegistry.hh>
Public Member Functions | |
~G4PhysicsConstructorRegistry () | |
void | Register (G4VPhysicsConstructor *) |
void | DeRegister (G4VPhysicsConstructor *) |
void | Clean () |
void | AddFactory (G4String, G4VBasePhysConstrFactory *) |
G4VPhysicsConstructor * | GetPhysicsConstructor (const G4String &name) |
G4bool | IsKnownPhysicsConstructor (const G4String &name) |
std::vector< G4String > | AvailablePhysicsConstructors () const |
void | PrintAvailablePhysicsConstructors () const |
Static Public Member Functions | |
static G4PhysicsConstructorRegistry * | Instance () |
Private Member Functions | |
G4PhysicsConstructorRegistry () | |
Private Attributes | |
std::vector < G4VPhysicsConstructor * > | physConstr |
std::map< G4String, G4VBasePhysConstrFactory * > | factories |
Static Private Attributes | |
static G4ThreadLocal G4PhysicsConstructorRegistry * | theInstance = 0 |
Definition at line 57 of file G4PhysicsConstructorRegistry.hh.
G4PhysicsConstructorRegistry::~G4PhysicsConstructorRegistry | ( | ) |
Definition at line 62 of file G4PhysicsConstructorRegistry.cc.
References Clean().
|
private |
Definition at line 59 of file G4PhysicsConstructorRegistry.cc.
Referenced by Instance().
void G4PhysicsConstructorRegistry::AddFactory | ( | G4String | name, |
G4VBasePhysConstrFactory * | factory | ||
) |
Definition at line 108 of file G4PhysicsConstructorRegistry.cc.
References factories, and name.
Referenced by G4PhysicsConstructorFactory< T >::G4PhysicsConstructorFactory().
std::vector< G4String > G4PhysicsConstructorRegistry::AvailablePhysicsConstructors | ( | ) | const |
Definition at line 140 of file G4PhysicsConstructorRegistry.cc.
References factories.
Referenced by PrintAvailablePhysicsConstructors().
void G4PhysicsConstructorRegistry::Clean | ( | ) |
Definition at line 67 of file G4PhysicsConstructorRegistry.cc.
References n, and physConstr.
Referenced by ~G4PhysicsConstructorRegistry().
void G4PhysicsConstructorRegistry::DeRegister | ( | G4VPhysicsConstructor * | p | ) |
Definition at line 94 of file G4PhysicsConstructorRegistry.cc.
References n, and physConstr.
G4VPhysicsConstructor * G4PhysicsConstructorRegistry::GetPhysicsConstructor | ( | const G4String & | name | ) |
Definition at line 113 of file G4PhysicsConstructorRegistry.cc.
References factories, FatalException, G4endl, G4Exception(), and name.
Referenced by G4PhysListRegistry::GetModularPhysicsList().
|
static |
Definition at line 50 of file G4PhysicsConstructorRegistry.cc.
References G4PhysicsConstructorRegistry(), G4ThreadLocal, and theInstance.
Referenced by G4PhysListRegistry::DeconstructPhysListName(), G4PhysicsConstructorFactory< T >::G4PhysicsConstructorFactory(), G4PhysListRegistry::GetModularPhysicsList(), G4PhysListRegistry::PrintAvailablePhysLists(), PhysicsList::RegisterConstructor(), and TG4GenericPhysicsList< T >::RegisterPhysicsConstructor().
Definition at line 134 of file G4PhysicsConstructorRegistry.cc.
References factories.
Referenced by G4PhysListRegistry::DeconstructPhysListName(), and G4PhysListRegistry::PrintAvailablePhysLists().
void G4PhysicsConstructorRegistry::PrintAvailablePhysicsConstructors | ( | ) | const |
Definition at line 151 of file G4PhysicsConstructorRegistry.cc.
References AvailablePhysicsConstructors(), G4cout, G4endl, and n.
void G4PhysicsConstructorRegistry::Register | ( | G4VPhysicsConstructor * | p | ) |
Definition at line 82 of file G4PhysicsConstructorRegistry.cc.
References n, and physConstr.
|
private |
Definition at line 93 of file G4PhysicsConstructorRegistry.hh.
Referenced by AddFactory(), AvailablePhysicsConstructors(), GetPhysicsConstructor(), and IsKnownPhysicsConstructor().
|
private |
Definition at line 91 of file G4PhysicsConstructorRegistry.hh.
Referenced by Clean(), DeRegister(), and Register().
|
staticprivate |
Definition at line 89 of file G4PhysicsConstructorRegistry.hh.
Referenced by Instance().