![]() |
LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "G4PhysListFactorySingleton.hh"
Classes | |
| struct | Cleaner |
Public Member Functions | |
| G4VModularPhysicsList * | GetReferencePhysList (const G4String &) |
| G4VModularPhysicsList * | ReferencePhysList () |
| G4bool | IsReferencePhysList (const G4String &) |
| const std::vector< G4String > & | AvailablePhysLists () const |
| void | PrintAvailablePhysLists () const |
| G4bool | RegisterCreator (G4String name, PhysListCtorFuncPtr_t ctorptr, G4bool *ptr) |
| G4bool | RegisterPhysicsReplacement (G4String key, G4String physics) |
| void | SetDefaultName (const G4String &defname) |
| const G4String & | GetDefaultName () const |
Static Public Member Functions | |
| static G4PhysListFactorySingleton & | Instance () |
Private Member Functions | |
| G4PhysListFactorySingleton () | |
| G4String | GetBaseName (G4String name, std::vector< G4String > &physicsReplacements, G4bool &allKnown) |
| virtual | ~G4PhysListFactorySingleton () |
| G4PhysListFactorySingleton (const G4PhysListFactorySingleton &) | |
| void | operator= (const G4PhysListFactorySingleton &) |
Private Attributes | |
| std::map< G4String, PhysListCtorFuncPtr_t > | fFunctionMap |
| std::map< G4String, G4bool * > | fBoolPtrMap |
| std::map< G4String, G4String > | fPhysicsReplaceList |
| G4String | defName |
| std::vector< G4String > | listnames |
Static Private Attributes | |
| static G4PhysListFactorySingleton * | fgTheInstance |
Friends | |
| struct | Cleaner |
Definition at line 65 of file G4PhysListFactorySingleton.hh.
|
private |
Definition at line 48 of file G4PhysListFactorySingleton.cc.
References defName, and fgTheInstance.
Referenced by Instance().
|
privatevirtual |
Definition at line 54 of file G4PhysListFactorySingleton.cc.
References fgTheInstance.
|
private |
| const std::vector< G4String > & G4PhysListFactorySingleton::AvailablePhysLists | ( | ) | const |
Definition at line 192 of file G4PhysListFactorySingleton.cc.
References fFunctionMap, and listnames.
Referenced by alt::G4PhysListFactory::AvailablePhysLists(), and PrintAvailablePhysLists().
|
private |
Definition at line 260 of file G4PhysListFactorySingleton.cc.
References fFunctionMap, fPhysicsReplaceList, G4PhysicsProcessFactorySingleton::Instance(), and G4PhysicsProcessFactorySingleton::IsKnownPhysicsProcess().
Referenced by GetReferencePhysList(), and IsReferencePhysList().
|
inline |
Definition at line 95 of file G4PhysListFactorySingleton.hh.
References defName.
Referenced by alt::G4PhysListFactory::GetDefaultName().
| G4VModularPhysicsList * G4PhysListFactorySingleton::GetReferencePhysList | ( | const G4String & | name | ) |
Definition at line 102 of file G4PhysListFactorySingleton.cc.
References fFunctionMap, GetBaseName(), G4PhysicsProcessFactorySingleton::GetPhysicsProcess(), G4PhysicsProcessFactorySingleton::Instance(), and G4PhysicsProcessFactorySingleton::IsKnownPhysicsProcess().
Referenced by alt::G4PhysListFactory::GetReferencePhysList(), and ReferencePhysList().
|
static |
Definition at line 59 of file G4PhysListFactorySingleton.cc.
References fgTheInstance, G4PhysListFactorySingleton(), RegisterPhysicsReplacement(), and G4PhysListFactorySingleton::Cleaner::UseMe().
Referenced by alt::G4PhysListFactory::AvailablePhysLists(), alt::G4PhysListFactory::GetDefaultName(), alt::G4PhysListFactory::GetReferencePhysList(), alt::G4PhysListFactory::IsReferencePhysList(), alt::G4PhysListFactory::PrintAvailablePhysLists(), alt::G4PhysListFactory::ReferencePhysList(), and alt::G4PhysListFactory::SetDefaultName().
| G4bool G4PhysListFactorySingleton::IsReferencePhysList | ( | const G4String & | name | ) |
Definition at line 181 of file G4PhysListFactorySingleton.cc.
References GetBaseName().
Referenced by alt::G4PhysListFactory::IsReferencePhysList().
|
private |
| void G4PhysListFactorySingleton::PrintAvailablePhysLists | ( | ) | const |
Definition at line 206 of file G4PhysListFactorySingleton.cc.
References AvailablePhysLists(), fPhysicsReplaceList, G4PhysicsProcessFactorySingleton::Instance(), G4PhysicsProcessFactorySingleton::IsKnownPhysicsProcess(), and G4PhysicsProcessFactorySingleton::PrintAvailablePhysicsProcesses().
Referenced by alt::G4PhysListFactory::PrintAvailablePhysLists().
| G4VModularPhysicsList * G4PhysListFactorySingleton::ReferencePhysList | ( | ) |
Definition at line 82 of file G4PhysListFactorySingleton.cc.
References defName, and GetReferencePhysList().
Referenced by alt::G4PhysListFactory::ReferencePhysList().
| G4bool G4PhysListFactorySingleton::RegisterCreator | ( | G4String | name, |
| PhysListCtorFuncPtr_t | ctorptr, | ||
| G4bool * | ptr | ||
| ) |
Definition at line 242 of file G4PhysListFactorySingleton.cc.
References fBoolPtrMap, and fFunctionMap.
Definition at line 252 of file G4PhysListFactorySingleton.cc.
References fPhysicsReplaceList.
Referenced by Instance().
|
inline |
Definition at line 94 of file G4PhysListFactorySingleton.hh.
References defName.
Referenced by alt::G4PhysListFactory::SetDefaultName().
|
friend |
Definition at line 144 of file G4PhysListFactorySingleton.hh.
|
private |
Definition at line 111 of file G4PhysListFactorySingleton.hh.
Referenced by G4PhysListFactorySingleton(), GetDefaultName(), ReferencePhysList(), and SetDefaultName().
|
private |
Definition at line 104 of file G4PhysListFactorySingleton.hh.
Referenced by RegisterCreator().
|
private |
Definition at line 101 of file G4PhysListFactorySingleton.hh.
Referenced by AvailablePhysLists(), GetBaseName(), GetReferencePhysList(), and RegisterCreator().
|
staticprivate |
Definition at line 98 of file G4PhysListFactorySingleton.hh.
Referenced by G4PhysListFactorySingleton(), Instance(), G4PhysListFactorySingleton::Cleaner::~Cleaner(), and ~G4PhysListFactorySingleton().
Definition at line 106 of file G4PhysListFactorySingleton.hh.
Referenced by GetBaseName(), PrintAvailablePhysLists(), and RegisterPhysicsReplacement().
|
mutableprivate |
Definition at line 114 of file G4PhysListFactorySingleton.hh.
Referenced by AvailablePhysLists().