71 G4VPhysicsConstructor*
74 G4VPhysicsConstructor* p = 0;
86 G4cout <<
"### G4PhysicsProcessFactorySingleton WARNING: " 87 <<
"PhysicsProcess " << name <<
" is not known" 103 const std::vector<G4String>&
121 G4cout <<
"G4VPhysicsConstructors in " 122 <<
"G4PhysicsProcessFactorySingleton are: " 124 if ( list.empty() ) G4cout <<
" ... no registered processes" << G4endl;
126 for (
size_t indx=0; indx < list.size(); ++indx ) {
127 G4cout <<
" [" << std::setw(2) << indx <<
"] " 128 <<
"\"" << list[indx] <<
"\"" << G4endl;
G4bool RegisterCreator(G4String name, PhysProcCtorFuncPtr_t ctorptr, G4bool *ptr)
std::map< G4String, G4bool * > fBoolPtrMap
const std::vector< G4String > & AvailablePhysicsProcesses() const
std::vector< G4String > listnames
static G4PhysicsProcessFactorySingleton & Instance()
G4VPhysicsConstructor *(* PhysProcCtorFuncPtr_t)()
std::map< G4String, PhysProcCtorFuncPtr_t > fFunctionMap
virtual ~G4PhysicsProcessFactorySingleton()
G4bool IsKnownPhysicsProcess(const G4String &)
G4PhysicsProcessFactorySingleton()
static G4PhysicsProcessFactorySingleton * fgTheInstance
G4VPhysicsConstructor * GetPhysicsProcess(const G4String &)
void PrintAvailablePhysicsProcesses() const