34 #include "PhysicsList.hh"
35 #include "PhysicsListMessenger.hh"
37 #include "PhysListEmStandard.hh"
38 #include "PhysListEmStandardSSM.hh"
79 fHadPhysicsList(nullptr)
96 delete fEmPhysicsList;
185 G4cout <<
"PhysicsList::AddPhysicsList: <" << name <<
">" <<
G4endl;
188 if (name == fEmName)
return;
190 if (name ==
"local") {
193 delete fEmPhysicsList;
196 }
else if (name ==
"emstandard_opt0") {
199 delete fEmPhysicsList;
202 }
else if (name ==
"emstandard_opt1") {
205 delete fEmPhysicsList;
208 }
else if (name ==
"emstandard_opt2") {
211 delete fEmPhysicsList;
214 }
else if (name ==
"emstandard_opt3") {
217 delete fEmPhysicsList;
220 }
else if (name ==
"emstandard_opt4") {
223 delete fEmPhysicsList;
226 }
else if (name ==
"emstandardSS") {
229 delete fEmPhysicsList;
232 }
else if (name ==
"standardSSM") {
235 delete fEmPhysicsList;
238 }
else if (name ==
"emstandardWVI") {
241 delete fEmPhysicsList;
244 }
else if (name ==
"standardGS") {
247 delete fEmPhysicsList;
250 }
else if (name ==
"empenelope") {
252 delete fEmPhysicsList;
255 }
else if (name ==
"emlowenergy") {
257 delete fEmPhysicsList;
260 }
else if (name ==
"emlivermore") {
262 delete fEmPhysicsList;
265 }
else if (name ==
"had_elastic" && !fHadPhysicsList) {
270 G4cout <<
"PhysicsList::AddPhysicsList: <" << name <<
">"
void SetDefaultCutValue(G4double newCutValue)
static G4LossTableManager * Instance()
static constexpr double mm
virtual G4bool IsApplicable(const G4ParticleDefinition &)
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()
void AddPhysicsList(const G4String &name)
static void ConstructParticle()
G4GLOB_DLL std::ostream G4cout
static void ConstructParticle()
G4int AddProcess(G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
void SetProcessOrdering(G4VProcess *aProcess, G4ProcessVectorDoItIndex idDoIt, G4int ordDoIt=ordDefault)
void SetVerboseLevel(G4int value)
static void ConstructParticle()
G4bool IsShortLived() const
G4ProcessManager * GetProcessManager() const
virtual G4bool IsApplicable(const G4ParticleDefinition &)
virtual void ConstructProcess()=0
std::vector< G4InuclElementaryParticle >::iterator particleIterator
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const