#include <G4VModularPhysicsList.hh>
|
| G4VModularPhysicsList () |
|
virtual | ~G4VModularPhysicsList () |
|
virtual void | ConstructParticle () |
|
virtual void | ConstructProcess () |
|
void | RegisterPhysics (G4VPhysicsConstructor *) |
|
const G4VPhysicsConstructor * | GetPhysics (G4int index) const |
|
const G4VPhysicsConstructor * | GetPhysics (const G4String &name) const |
|
const G4VPhysicsConstructor * | GetPhysicsWithType (G4int physics_type) const |
|
void | ReplacePhysics (G4VPhysicsConstructor *) |
|
void | RemovePhysics (G4VPhysicsConstructor *) |
|
void | RemovePhysics (G4int type) |
|
void | RemovePhysics (const G4String &name) |
|
void | SetVerboseLevel (G4int value) |
|
G4int | GetVerboseLevel () const |
|
G4int | GetInstanceID () const |
|
| G4VUserPhysicsList () |
|
virtual | ~G4VUserPhysicsList () |
|
| G4VUserPhysicsList (const G4VUserPhysicsList &) |
|
G4VUserPhysicsList & | operator= (const G4VUserPhysicsList &) |
|
void | Construct () |
|
void | UseCoupledTransportation (G4bool vl=true) |
|
virtual void | SetCuts () |
|
void | SetDefaultCutValue (G4double newCutValue) |
|
G4double | GetDefaultCutValue () const |
|
void | BuildPhysicsTable () |
|
void | PreparePhysicsTable (G4ParticleDefinition *) |
|
void | BuildPhysicsTable (G4ParticleDefinition *) |
|
G4bool | StorePhysicsTable (const G4String &directory=".") |
|
G4bool | IsPhysicsTableRetrieved () const |
|
G4bool | IsStoredInAscii () const |
|
const G4String & | GetPhysicsTableDirectory () const |
|
void | SetPhysicsTableRetrieved (const G4String &directory="") |
|
void | SetStoredInAscii () |
|
void | ResetPhysicsTableRetrieved () |
|
void | ResetStoredInAscii () |
|
void | DumpList () const |
|
void | DumpCutValuesTable (G4int flag=1) |
|
void | DumpCutValuesTableIfRequested () |
|
void | SetVerboseLevel (G4int value) |
|
G4int | GetVerboseLevel () const |
|
void | SetCutsWithDefault () |
|
void | SetCutValue (G4double aCut, const G4String &pname) |
|
G4double | GetCutValue (const G4String &pname) const |
|
void | SetCutValue (G4double aCut, const G4String &pname, const G4String &rname) |
|
void | SetParticleCuts (G4double cut, G4ParticleDefinition *particle, G4Region *region=0) |
|
void | SetParticleCuts (G4double cut, const G4String &particleName, G4Region *region=0) |
|
void | SetCutsForRegion (G4double aCut, const G4String &rname) |
|
void | ResetCuts () |
| obsolete methods More...
|
|
void | SetApplyCuts (G4bool value, const G4String &name) |
|
G4bool | GetApplyCuts (const G4String &name) const |
|
void | RemoveProcessManager () |
|
void | AddProcessManager (G4ParticleDefinition *newParticle, G4ProcessManager *newManager=0) |
|
void | CheckParticleList () |
|
void | DisableCheckParticleList () |
|
G4int | GetInstanceID () const |
|
void | InitializeWorker () |
|
Definition at line 90 of file G4VModularPhysicsList.hh.
G4VModularPhysicsList::G4VModularPhysicsList |
( |
| ) |
|
Definition at line 52 of file G4VModularPhysicsList.cc.
static G4RUN_DLL G4VMPLManager G4VMPLsubInstanceManager
G4int CreateSubInstance()
G4VModularPhysicsList::~G4VModularPhysicsList |
( |
| ) |
|
|
virtual |
Definition at line 69 of file G4VModularPhysicsList.cc.
static G4RUN_DLL G4VMPLManager G4VMPLsubInstanceManager
G4int CreateSubInstance()
void G4VModularPhysicsList::ConstructParticle |
( |
| ) |
|
|
virtual |
void G4VModularPhysicsList::ConstructProcess |
( |
| ) |
|
|
virtual |
G4int G4VModularPhysicsList::GetInstanceID |
( |
| ) |
const |
|
inline |
Definition at line 356 of file G4VModularPhysicsList.cc.
358 G4PhysConstVector::iterator itr;
360 if ( name == (*itr)->GetPhysicsName())
break;
#define G4MT_physicsVector
Definition at line 366 of file G4VModularPhysicsList.cc.
368 G4PhysConstVector::iterator itr;
370 if ( pType == (*itr)->GetPhysicsType())
break;
#define G4MT_physicsVector
const G4VMPLManager & G4VModularPhysicsList::GetSubInstanceManager |
( |
| ) |
|
|
inlinestatic |
G4int G4VModularPhysicsList::GetVerboseLevel |
( |
| ) |
const |
|
inline |
Definition at line 75 of file G4VModularPhysicsList.cc.
87 static_cast<const G4VUserPhysicsList&>(right).GetSubInstanceManager().offset[right.
GetInstanceID()]._fDisplayThreshold;
90 static_cast<const G4VUserPhysicsList&>(right).GetSubInstanceManager().offset[right.
GetInstanceID()]._fIsPhysicsTableBuilt;
96 G4PhysConstVector::iterator itr;
G4bool fIsRestoredCutValues
G4bool fRetrievePhysicsTable
G4bool fIsCheckedForRetrievePhysicsTable
G4RUN_DLL G4ThreadLocalStatic T * offset
static G4RUN_DLL G4VMPLManager G4VMPLsubInstanceManager
G4bool isSetDefaultCutValue
#define G4MT_physicsVector
static G4RUN_DLL G4VUPLManager subInstanceManager
G4int CreateSubInstance()
G4int GetInstanceID() const
G4bool fDisableCheckParticleList
G4String directoryPhysicsTable
Definition at line 142 of file G4VModularPhysicsList.cc.
147 G4Exception(
"G4VModularPhysicsList::RegisterPhysics",
149 "Geant4 kernel is not PreInit state : Method ignored.");
162 G4cout <<
"G4VModularPhysicsList::RegisterPhysics: "
163 << pName <<
"with type : " << pType
172 G4PhysConstVector::iterator itr;
174 if ( pType == (*itr)->GetPhysicsType())
break;
179 G4cout <<
"G4VModularPhysicsList::RegisterPhysics: "
180 <<
"a physics with given type already exists "
182 G4cout <<
" Type = " << pType <<
" : "
183 <<
" existing physics is " << (*itr)->GetPhysicsName()
188 G4String comment =
"Duplicate type for ";
190 G4Exception(
"G4VModularPhysicsList::RegisterPhysics",
static G4StateManager * GetStateManager()
G4GLOB_DLL std::ostream G4cout
G4int GetPhysicsType() const
const G4String & GetPhysicsName() const
G4ApplicationState GetCurrentState() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
#define G4MT_physicsVector
Definition at line 288 of file G4VModularPhysicsList.cc.
293 G4Exception(
"G4VModularPhysicsList::RemovePhysics",
295 "Geant4 kernel is not PreInit state : Method ignored.");
301 if ( fPhysics == (*itr)) {
302 G4String pName = (*itr)->GetPhysicsName();
305 G4cout <<
"G4VModularPhysicsList::RemovePhysics: "
306 << pName <<
" is removed"
static G4StateManager * GetStateManager()
G4GLOB_DLL std::ostream G4cout
G4ApplicationState GetCurrentState() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
#define G4MT_physicsVector
void G4VModularPhysicsList::RemovePhysics |
( |
G4int |
type | ) |
|
Definition at line 258 of file G4VModularPhysicsList.cc.
263 G4Exception(
"G4VModularPhysicsList::RemovePhysics",
265 "Geant4 kernel is not PreInit state : Method ignored.");
271 if ( pType == (*itr)->GetPhysicsType()) {
272 G4String pName = (*itr)->GetPhysicsName();
275 G4cout <<
"G4VModularPhysicsList::RemovePhysics: "
276 << pName <<
" is removed"
static G4StateManager * GetStateManager()
G4GLOB_DLL std::ostream G4cout
G4ApplicationState GetCurrentState() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
#define G4MT_physicsVector
void G4VModularPhysicsList::RemovePhysics |
( |
const G4String & |
name | ) |
|
Definition at line 317 of file G4VModularPhysicsList.cc.
322 G4Exception(
"G4VModularPhysicsList::RemovePhysics",
324 "Geant4 kernel is not PreInit state : Method ignored.");
330 G4String pName = (*itr)->GetPhysicsName();
331 if ( name == pName) {
334 G4cout <<
"G4VModularPhysicsList::RemovePhysics: "
335 << pName <<
" is removed"
static G4StateManager * GetStateManager()
G4GLOB_DLL std::ostream G4cout
G4ApplicationState GetCurrentState() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
#define G4MT_physicsVector
Definition at line 200 of file G4VModularPhysicsList.cc.
205 G4Exception(
"G4VModularPhysicsList::ReplacePhysics",
207 "Geant4 kernel is not PreInit state : Method ignored.");
221 G4cout <<
"G4VModularPhysicsList::ReplacePhysics: "
222 << pName <<
"with type : " << pType
233 if ( pType == (*itr)->GetPhysicsType())
break;
241 G4cout <<
"G4VModularPhysicsList::ReplacePhysics: "
242 << (*itr)->GetPhysicsName() <<
"with type : " << pType
243 <<
" is replaces with " << pName
static G4StateManager * GetStateManager()
G4GLOB_DLL std::ostream G4cout
G4int GetPhysicsType() const
const G4String & GetPhysicsName() const
G4ApplicationState GetCurrentState() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
#define G4MT_physicsVector
void G4VModularPhysicsList::SetVerboseLevel |
( |
G4int |
value | ) |
|
Definition at line 377 of file G4VModularPhysicsList.cc.
382 G4PhysConstVector::iterator itr;
const XML_Char int const XML_Char * value
#define G4MT_physicsVector
G4int G4VModularPhysicsList::g4vmplInstanceID |
|
protected |
G4int G4VModularPhysicsList::verboseLevel |
|
protected |
The documentation for this class was generated from the following files: