#include <G4PhysicsConstructorRegistry.hh>
◆ ~G4PhysicsConstructorRegistry()
G4PhysicsConstructorRegistry::~G4PhysicsConstructorRegistry |
( |
| ) |
|
◆ G4PhysicsConstructorRegistry()
G4PhysicsConstructorRegistry::G4PhysicsConstructorRegistry |
( |
| ) |
|
|
private |
◆ AddFactory()
◆ AvailablePhysicsConstructors()
std::vector< G4String > G4PhysicsConstructorRegistry::AvailablePhysicsConstructors |
( |
| ) |
const |
Definition at line 140 of file G4PhysicsConstructorRegistry.cc.
142 std::vector<G4String> avail;
143 std::map<G4String,G4VBasePhysConstrFactory*>::const_iterator itr;
145 avail.push_back(itr->first);
std::map< G4String, G4VBasePhysConstrFactory * > factories
◆ Clean()
void G4PhysicsConstructorRegistry::Clean |
( |
| ) |
|
◆ DeRegister()
◆ GetPhysicsConstructor()
Definition at line 113 of file G4PhysicsConstructorRegistry.cc.
128 ED <<
"The factory for the physics constructor ["<< name <<
"] does not exist!" <<
G4endl;
std::ostringstream G4ExceptionDescription
std::map< G4String, G4VBasePhysConstrFactory * > factories
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ Instance()
◆ IsKnownPhysicsConstructor()
G4bool G4PhysicsConstructorRegistry::IsKnownPhysicsConstructor |
( |
const G4String & |
name | ) |
|
◆ PrintAvailablePhysicsConstructors()
void G4PhysicsConstructorRegistry::PrintAvailablePhysicsConstructors |
( |
| ) |
const |
Definition at line 151 of file G4PhysicsConstructorRegistry.cc.
154 G4cout <<
"G4VPhysicsConstructors in G4PhysicsConstructorRegistry are:" 156 if ( avail.empty() )
G4cout <<
"... no registered processes" << G4endl;
158 size_t n = avail.size();
159 for (
size_t i=0; i<
n; ++i ) {
160 G4cout <<
" [" << std::setw(3) << i <<
"] " 161 <<
" \"" << avail[i] <<
"\"" <<
G4endl;
G4GLOB_DLL std::ostream G4cout
std::vector< G4String > AvailablePhysicsConstructors() const
◆ Register()
◆ factories
◆ physConstr
◆ theInstance
The documentation for this class was generated from the following files: