|
| G4VModularPhysicsList () |
|
virtual | ~G4VModularPhysicsList () |
|
virtual void | ConstructParticle () override |
|
virtual void | ConstructProcess () override |
|
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) |
|
G4int | GetInstanceID () const |
|
virtual void | TerminateWorker () override |
|
void | SetVerboseLevel (G4int value) |
|
G4int | GetVerboseLevel () const |
|
| G4VUserPhysicsList () |
|
virtual | ~G4VUserPhysicsList () |
|
| G4VUserPhysicsList (const G4VUserPhysicsList &) |
|
G4VUserPhysicsList & | operator= (const G4VUserPhysicsList &) |
|
virtual void | ConstructParticle ()=0 |
|
void | Construct () |
|
virtual void | ConstructProcess ()=0 |
|
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 | UseCoupledTransportation (G4bool vl=true) |
|
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=nullptr) |
|
void | SetParticleCuts (G4double cut, const G4String &particleName, G4Region *region=nullptr) |
|
void | SetCutsForRegion (G4double aCut, const G4String &rname) |
|
void | SetApplyCuts (G4bool value, const G4String &name) |
|
G4bool | GetApplyCuts (const G4String &name) const |
|
void | RemoveProcessManager () |
|
void | RemoveTrackingManager () |
|
void | AddProcessManager (G4ParticleDefinition *newParticle, G4ProcessManager *newManager=nullptr) |
|
void | CheckParticleList () |
|
void | DisableCheckParticleList () |
|
G4int | GetInstanceID () const |
|
virtual void | InitializeWorker () |
|
virtual void | TerminateWorker () |
|
Definition at line 86 of file G4VModularPhysicsList.hh.
Definition at line 150 of file G4VModularPhysicsList.cc.
151{
155 {
156 G4Exception(
"G4VModularPhysicsList::RegisterPhysics",
"Run0201",
158 "Geant4 kernel is not PreInit state : Method ignored.");
159 return;
160 }
161
164
165
166
167 if(pType == 0)
168 {
170#ifdef G4VERBOSE
172 {
173 G4cout <<
"G4VModularPhysicsList::RegisterPhysics: " << pName
174 <<
" with type : " << pType <<
" is added" <<
G4endl;
175 }
176#endif
177 return;
178 }
179
180
183 {
184 if(pType == (*itr)->GetPhysicsType())
185 break;
186 }
188 {
189#ifdef G4VERBOSE
191 {
192 G4cout <<
"G4VModularPhysicsList::RegisterPhysics: "
193 <<
"a physics with given type already exists " <<
G4endl;
194 G4cout <<
" Type = " << pType <<
" : "
195 <<
" existing physics is " << (*itr)->GetPhysicsName() <<
G4endl;
196 G4cout <<
" New " << pName <<
" can not be registered " <<
G4endl;
197 }
198#endif
199 G4String comment =
"Duplicate type for ";
200 comment += pName;
201 G4Exception(
"G4VModularPhysicsList::RegisterPhysics",
"Run0202",
203 return;
204 }
205
206
208}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
const G4ApplicationState & GetCurrentState() const
static G4StateManager * GetStateManager()
const G4String & GetPhysicsName() const
G4int GetPhysicsType() const
Referenced by FTF_BIC::FTF_BIC(), FTFP_BERT::FTFP_BERT(), FTFP_BERT_ATL::FTFP_BERT_ATL(), FTFP_BERT_HP::FTFP_BERT_HP(), FTFP_BERT_TRV::FTFP_BERT_TRV(), FTFQGSP_BERT::FTFQGSP_BERT(), G4PhysListRegistry::GetModularPhysicsList(), NuBeam::NuBeam(), QBBC::QBBC(), QGS_BIC::QGS_BIC(), QGSP_BERT::QGSP_BERT(), QGSP_BERT_HP::QGSP_BERT_HP(), QGSP_BIC::QGSP_BIC(), QGSP_BIC_AllHP::QGSP_BIC_AllHP(), QGSP_BIC_HP::QGSP_BIC_HP(), QGSP_FTFP_BERT::QGSP_FTFP_BERT(), G4PhysListFactoryMessenger::SetNewValue(), and Shielding::Shielding().