Geant4-11
|
#include <G4PhysicsConstructorRegistry.hh>
Public Member Functions | |
void | AddFactory (G4String, G4VBasePhysConstrFactory *) |
std::vector< G4String > | AvailablePhysicsConstructors () const |
void | Clean () |
void | DeRegister (G4VPhysicsConstructor *) |
G4VPhysicsConstructor * | GetPhysicsConstructor (const G4String &name) |
G4bool | IsKnownPhysicsConstructor (const G4String &name) |
void | PrintAvailablePhysicsConstructors () const |
void | Register (G4VPhysicsConstructor *) |
~G4PhysicsConstructorRegistry () | |
Static Public Member Functions | |
static G4PhysicsConstructorRegistry * | Instance () |
Private Member Functions | |
G4PhysicsConstructorRegistry () | |
Private Attributes | |
std::map< G4String, G4VBasePhysConstrFactory * > | factories |
std::vector< G4VPhysicsConstructor * > | physConstr |
Static Private Attributes | |
static G4ThreadLocal G4PhysicsConstructorRegistry * | theInstance = 0 |
Definition at line 56 of file G4PhysicsConstructorRegistry.hh.
G4PhysicsConstructorRegistry::~G4PhysicsConstructorRegistry | ( | ) |
Definition at line 65 of file G4PhysicsConstructorRegistry.cc.
References Clean().
|
private |
void G4PhysicsConstructorRegistry::AddFactory | ( | G4String | name, |
G4VBasePhysConstrFactory * | factory | ||
) |
Definition at line 111 of file G4PhysicsConstructorRegistry.cc.
References factories, test::factory, and G4InuclParticleNames::name().
Referenced by G4PhysicsConstructorFactory< T >::G4PhysicsConstructorFactory().
std::vector< G4String > G4PhysicsConstructorRegistry::AvailablePhysicsConstructors | ( | ) | const |
Definition at line 143 of file G4PhysicsConstructorRegistry.cc.
References factories.
Referenced by G4PhysListRegistry::DeconstructPhysListName(), and PrintAvailablePhysicsConstructors().
void G4PhysicsConstructorRegistry::Clean | ( | ) |
Definition at line 70 of file G4PhysicsConstructorRegistry.cc.
References CLHEP::detail::n, and physConstr.
Referenced by ~G4PhysicsConstructorRegistry().
void G4PhysicsConstructorRegistry::DeRegister | ( | G4VPhysicsConstructor * | p | ) |
Definition at line 97 of file G4PhysicsConstructorRegistry.cc.
References CLHEP::detail::n, and physConstr.
G4VPhysicsConstructor * G4PhysicsConstructorRegistry::GetPhysicsConstructor | ( | const G4String & | name | ) |
Definition at line 116 of file G4PhysicsConstructorRegistry.cc.
References factories, FatalException, G4endl, G4Exception(), and G4InuclParticleNames::name().
Referenced by G4PhysListRegistry::GetModularPhysicsList().
|
static |
Definition at line 53 of file G4PhysicsConstructorRegistry.cc.
References G4PhysicsConstructorRegistry(), G4ThreadLocal, and theInstance.
Referenced by G4PhysListRegistry::DeconstructPhysListName(), G4PhysicsConstructorFactory< T >::G4PhysicsConstructorFactory(), G4PhysListRegistry::GetModularPhysicsList(), G4PhysListRegistry::PrintAvailablePhysLists(), and TG4GenericPhysicsList< T >::RegisterPhysicsConstructor().
Definition at line 137 of file G4PhysicsConstructorRegistry.cc.
References factories, and G4InuclParticleNames::name().
Referenced by G4PhysListRegistry::DeconstructPhysListName(), and G4PhysListRegistry::PrintAvailablePhysLists().
void G4PhysicsConstructorRegistry::PrintAvailablePhysicsConstructors | ( | ) | const |
Definition at line 154 of file G4PhysicsConstructorRegistry.cc.
References AvailablePhysicsConstructors(), G4cout, G4endl, and CLHEP::detail::n.
void G4PhysicsConstructorRegistry::Register | ( | G4VPhysicsConstructor * | p | ) |
Definition at line 85 of file G4PhysicsConstructorRegistry.cc.
References CLHEP::detail::n, and physConstr.
|
private |
Definition at line 92 of file G4PhysicsConstructorRegistry.hh.
Referenced by AddFactory(), AvailablePhysicsConstructors(), GetPhysicsConstructor(), and IsKnownPhysicsConstructor().
|
private |
Definition at line 90 of file G4PhysicsConstructorRegistry.hh.
Referenced by Clean(), DeRegister(), and Register().
|
staticprivate |
Definition at line 88 of file G4PhysicsConstructorRegistry.hh.
Referenced by Instance().