ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/physics_lists/lists/include/G4PhysListRegistry.hh>
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 |
G4String | userDefault |
throw an exception if unsatisfiable? | |
G4String | systemDefault |
use this if $PHYSLIST isn't set | |
std::vector< G4String > | availBasePhysLists |
std::vector< G4String > | availExtensions |
Static Private Attributes | |
static G4ThreadLocal G4PhysListRegistry * | theInstance = 0 |
Definition at line 56 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 56 of file G4PhysListRegistry.hh
G4PhysListRegistry::~G4PhysListRegistry | ( | ) |
Definition at line 100 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 100 of file G4PhysListRegistry.cc
|
private |
Definition at line 92 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 92 of file G4PhysListRegistry.cc
References SetUserDefaultPhysList().
Referenced by Instance().
void G4PhysListRegistry::AddFactory | ( | G4String | name, |
G4VBasePhysListStamper * | factory | ||
) |
Definition at line 110 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 110 of file G4PhysListRegistry.cc
References factories.
Referenced by G4PhysListStamper< T >::G4PhysListStamper().
Definition at line 115 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 115 of file G4PhysListRegistry.cc
References physicsExtensions.
Referenced by Instance(), and main().
const std::vector< G4String > & G4PhysListRegistry::AvailablePhysicsExtensions | ( | ) | const |
Definition at line 389 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 389 of file G4PhysListRegistry.cc
References availExtensions, and physicsExtensions.
Referenced by AvailablePhysListsEM(), and DeconstructPhysListName().
const std::vector< G4String > & G4PhysListRegistry::AvailablePhysLists | ( | ) | const |
Definition at line 378 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 378 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 400 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 400 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 231 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 231 of file G4PhysListRegistry.cc
References G4PhysicsConstructorRegistry::AvailablePhysicsConstructors(), AvailablePhysicsExtensions(), AvailablePhysLists(), c, G4String::data(), doReplace, FindLongestMatch(), G4cout, G4endl, G4PhysicsConstructorRegistry::Instance(), isCtorName, G4PhysicsConstructorRegistry::IsKnownPhysicsConstructor(), and physicsExtensions.
Referenced by GetModularPhysicsList(), and IsReferencePhysList().
G4bool G4PhysListRegistry::FindLongestMatch | ( | const G4String & | workName, |
const G4String & | searchName, | ||
const std::vector< G4String > & | validNames, | ||
G4String & | bestMatch, | ||
G4int | verbose = 0 |
||
) | const |
Definition at line 341 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 341 of file G4PhysListRegistry.cc
References G4cout, G4endl, and n.
Referenced by DeconstructPhysListName().
G4VModularPhysicsList * G4PhysListRegistry::GetModularPhysicsList | ( | const G4String & | name | ) |
Definition at line 122 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 122 of file G4PhysListRegistry.cc
References DeconstructPhysListName(), doReplace, factories, FatalException, G4cout, G4endl, G4Exception(), G4PhysicsConstructorRegistry::GetPhysicsConstructor(), G4VModularPhysicsList::GetVerboseLevel(), G4PhysicsConstructorRegistry::Instance(), isCtorName, physicsExtensions, readPY::pl, G4VModularPhysicsList::RegisterPhysics(), G4VModularPhysicsList::ReplacePhysics(), G4VModularPhysicsList::SetVerboseLevel(), unknownFatal, and verbose.
Referenced by GetModularPhysicsListFromEnv(), and g4alt::G4PhysListFactory::GetReferencePhysList().
G4VModularPhysicsList * G4PhysListRegistry::GetModularPhysicsListFromEnv | ( | ) |
Definition at line 201 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 201 of file G4PhysListRegistry.cc
References G4cout, G4endl, GetModularPhysicsList(), and userDefault.
Referenced by g4alt::G4PhysListFactory::ReferencePhysList().
|
inline |
Definition at line 102 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 102 of file G4PhysListRegistry.hh
References systemDefault.
|
inline |
Definition at line 95 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 95 of file G4PhysListRegistry.hh
References unknownFatal.
Referenced by g4alt::G4PhysListFactory::GetUnknownFatal().
|
inline |
Definition at line 98 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 98 of file G4PhysListRegistry.hh
References userDefault.
|
inline |
Definition at line 92 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 92 of file G4PhysListRegistry.hh
References verbose.
Referenced by g4alt::G4PhysListFactory::GetVerbose().
|
static |
Definition at line 64 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 64 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::GetUnknownFatal(), g4alt::G4PhysListFactory::GetVerbose(), g4alt::G4PhysListFactory::IsReferencePhysList(), main(), g4alt::G4PhysListFactory::PrintAvailablePhysLists(), g4alt::G4PhysListFactory::ReferencePhysList(), g4alt::G4PhysListFactory::SetDefaultReferencePhysList(), g4alt::G4PhysListFactory::SetUnknownFatal(), and g4alt::G4PhysListFactory::SetVerbose().
Definition at line 222 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 222 of file G4PhysListRegistry.cc
References DeconstructPhysListName().
Referenced by g4alt::G4PhysListFactory::IsReferencePhysList().
void G4PhysListRegistry::PrintAvailablePhysLists | ( | ) | const |
Definition at line 408 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 408 of file G4PhysListRegistry.cc
References AvailablePhysLists(), G4cout, G4endl, G4PhysicsConstructorRegistry::Instance(), G4PhysicsConstructorRegistry::IsKnownPhysicsConstructor(), n, and physicsExtensions.
Referenced by g4alt::G4PhysListFactory::PrintAvailablePhysLists().
Definition at line 94 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 94 of file G4PhysListRegistry.hh
References unknownFatal.
Referenced by g4alt::G4PhysListFactory::SetUnknownFatal().
Definition at line 104 of file G4PhysListRegistry.cc.
View newest version in sPHENIX GitHub at line 104 of file G4PhysListRegistry.cc
References systemDefault, and userDefault.
Referenced by G4PhysListRegistry(), and g4alt::G4PhysListFactory::SetDefaultReferencePhysList().
Definition at line 91 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 91 of file G4PhysListRegistry.hh
References verbose.
Referenced by g4alt::G4PhysListFactory::SetVerbose().
|
mutableprivate |
use this if user hasn't set userDefault or attempts to set the userDefault=""
Definition at line 124 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 124 of file G4PhysListRegistry.hh
Referenced by AvailablePhysLists().
|
mutableprivate |
Definition at line 125 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 125 of file G4PhysListRegistry.hh
Referenced by AvailablePhysicsExtensions().
|
private |
Definition at line 110 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 110 of file G4PhysListRegistry.hh
Referenced by AddFactory(), AvailablePhysLists(), and GetModularPhysicsList().
Definition at line 111 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 111 of file G4PhysListRegistry.hh
Referenced by AddPhysicsExtension(), AvailablePhysicsExtensions(), DeconstructPhysListName(), GetModularPhysicsList(), and PrintAvailablePhysLists().
|
private |
use this if $PHYSLIST isn't set
Definition at line 116 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 116 of file G4PhysListRegistry.hh
Referenced by GetSystemDefaultPhysList(), and SetUserDefaultPhysList().
|
staticprivate |
Definition at line 108 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 108 of file G4PhysListRegistry.hh
Referenced by Instance().
|
private |
Definition at line 114 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 114 of file G4PhysListRegistry.hh
Referenced by GetModularPhysicsList(), GetUnknownFatal(), and SetUnknownFatal().
|
private |
throw an exception if unsatisfiable?
Definition at line 115 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 115 of file G4PhysListRegistry.hh
Referenced by GetModularPhysicsListFromEnv(), GetUserDefaultPhysList(), and SetUserDefaultPhysList().
|
private |
Definition at line 113 of file G4PhysListRegistry.hh.
View newest version in sPHENIX GitHub at line 113 of file G4PhysListRegistry.hh
Referenced by GetModularPhysicsList(), GetVerbose(), and SetVerbose().