Geant4
10.01.p02
|
#include <G4PhysListRegistry.hh>
Public Member Functions | |
~G4PhysListRegistry () | |
void | AddFactory (G4String name, G4VBasePhysListStamper *) |
void | AddPhysicsExtension (G4String name, G4String procname) |
G4VModularPhysicsList * | GetModularPhysicsList (const G4String &name) |
G4bool | IsReferencePhysList (G4String nam) const |
const std::vector< G4String > & | AvailablePhysLists () const |
const std::vector< G4String > & | AvailablePhysicsExtensions () const |
const std::vector< G4String > & | AvailablePhysListsEM () const |
void | PrintAvailablePhysLists () const |
G4bool | DeconstructPhysListName (const G4String &name, G4String &plBase, std::vector< G4String > &physExt, std::vector< G4int > &replace, G4int verbose=0) const |
void | SetVerbose (G4int val) |
G4int | GetVerbose () const |
Static Public Member Functions | |
static G4PhysListRegistry * | Instance () |
Private Member Functions | |
G4PhysListRegistry () | |
Private Attributes | |
std::map< G4String, G4VBasePhysListStamper * > | factories |
std::map< G4String, G4String > | physicsExtensions |
G4int | verbose |
G4int | unknownFatal |
std::vector< G4String > | availBasePhysLists |
std::vector< G4String > | availExtensions |
Static Private Attributes | |
static G4ThreadLocal G4PhysListRegistry * | theInstance = 0 |
Definition at line 57 of file G4PhysListRegistry.hh.
G4PhysListRegistry::~G4PhysListRegistry | ( | ) |
Definition at line 75 of file G4PhysListRegistry.cc.
|
private |
Definition at line 72 of file G4PhysListRegistry.cc.
Referenced by Instance().
void G4PhysListRegistry::AddFactory | ( | G4String | name, |
G4VBasePhysListStamper * | factory | ||
) |
Definition at line 79 of file G4PhysListRegistry.cc.
References factories, and name.
Referenced by G4PhysListStamper< T >::G4PhysListStamper().
Definition at line 84 of file G4PhysListRegistry.cc.
References name, and physicsExtensions.
Referenced by Instance().
const std::vector< G4String > & G4PhysListRegistry::AvailablePhysicsExtensions | ( | ) | const |
Definition at line 262 of file G4PhysListRegistry.cc.
References availExtensions, and physicsExtensions.
Referenced by AvailablePhysListsEM(), and DeconstructPhysListName().
const std::vector< G4String > & G4PhysListRegistry::AvailablePhysLists | ( | ) | const |
Definition at line 251 of file G4PhysListRegistry.cc.
References availBasePhysLists, and factories.
Referenced by g4alt::G4PhysListFactory::AvailablePhysLists(), DeconstructPhysListName(), and PrintAvailablePhysLists().
const std::vector< G4String > & G4PhysListRegistry::AvailablePhysListsEM | ( | ) | const |
Definition at line 273 of file G4PhysListRegistry.cc.
References AvailablePhysicsExtensions().
Referenced by g4alt::G4PhysListFactory::AvailablePhysListsEM().
G4bool G4PhysListRegistry::DeconstructPhysListName | ( | const G4String & | name, |
G4String & | plBase, | ||
std::vector< G4String > & | physExt, | ||
std::vector< G4int > & | replace, | ||
G4int | verbose = 0 |
||
) | const |
Definition at line 147 of file G4PhysListRegistry.cc.
References AvailablePhysicsExtensions(), AvailablePhysLists(), G4String::data(), G4cout, G4endl, and name.
Referenced by GetModularPhysicsList(), and IsReferencePhysList().
G4VModularPhysicsList * G4PhysListRegistry::GetModularPhysicsList | ( | const G4String & | name | ) |
Definition at line 91 of file G4PhysListRegistry.cc.
References DeconstructPhysListName(), factories, FatalException, G4endl, G4Exception(), G4PhysicsConstructorRegistry::GetPhysicsConstructor(), G4PhysicsConstructorRegistry::Instance(), pc, physicsExtensions, G4VModularPhysicsList::RegisterPhysics(), G4VModularPhysicsList::ReplacePhysics(), unknownFatal, and verbose.
Referenced by g4alt::G4PhysListFactory::GetReferencePhysList().
|
inline |
Definition at line 86 of file G4PhysListRegistry.hh.
References verbose.
Referenced by g4alt::G4PhysListFactory::GetReferencePhysList().
|
static |
Definition at line 52 of file G4PhysListRegistry.cc.
References AddPhysicsExtension(), G4PhysListRegistry(), G4ThreadLocal, and theInstance.
Referenced by g4alt::G4PhysListFactory::AvailablePhysLists(), g4alt::G4PhysListFactory::AvailablePhysListsEM(), G4PhysListStamper< T >::G4PhysListStamper(), g4alt::G4PhysListFactory::GetReferencePhysList(), g4alt::G4PhysListFactory::IsReferencePhysList(), and g4alt::G4PhysListFactory::PrintAvailablePhysLists().
Definition at line 138 of file G4PhysListRegistry.cc.
References DeconstructPhysListName().
Referenced by g4alt::G4PhysListFactory::IsReferencePhysList().
void G4PhysListRegistry::PrintAvailablePhysLists | ( | ) | const |
std::vector<G4String> physConstNames = physConstRegistry->AvailablePhysicsConstructors();
Definition at line 280 of file G4PhysListRegistry.cc.
References AvailablePhysLists(), G4cout, G4endl, G4PhysicsConstructorRegistry::Instance(), G4PhysicsConstructorRegistry::IsKnownPhysicsConstructor(), n, and physicsExtensions.
Referenced by g4alt::G4PhysListFactory::PrintAvailablePhysLists().
|
inline |
Definition at line 85 of file G4PhysListRegistry.hh.
References verbose.
Referenced by g4alt::G4PhysListFactory::GetReferencePhysList().
|
mutableprivate |
Definition at line 105 of file G4PhysListRegistry.hh.
Referenced by AvailablePhysLists().
|
mutableprivate |
Definition at line 106 of file G4PhysListRegistry.hh.
Referenced by AvailablePhysicsExtensions().
|
private |
Definition at line 94 of file G4PhysListRegistry.hh.
Referenced by AddFactory(), AvailablePhysLists(), and GetModularPhysicsList().
Definition at line 95 of file G4PhysListRegistry.hh.
Referenced by AddPhysicsExtension(), AvailablePhysicsExtensions(), GetModularPhysicsList(), and PrintAvailablePhysLists().
|
staticprivate |
Definition at line 92 of file G4PhysListRegistry.hh.
Referenced by Instance().
|
private |
Definition at line 98 of file G4PhysListRegistry.hh.
Referenced by GetModularPhysicsList().
|
private |
Definition at line 97 of file G4PhysListRegistry.hh.
Referenced by GetModularPhysicsList(), GetVerbose(), and SetVerbose().