109 helIsRegisted =
false;
110 bicIsRegisted =
false;
111 biciIsRegisted =
false;
112 locIonIonInelasticIsRegistered =
false;
122 emName =
G4String(
"emstandard_opt3");
135 delete emPhysicsList;
136 delete decPhysicsList;
137 for(
size_t i=0; i<hadronPhys.size(); i++) {
delete hadronPhys[i];}
154 G4cout <<
"THE FOLLOWING PHYSICS PACKEGE LIST HAS BEEN ACTIVATED: "<<name<<
G4endl;
180 for(
size_t i=0; i<hadronPhys.size(); i++) {
181 hadronPhys[i]->ConstructProcess();
194 G4cout <<
"PhysicsList::AddPhysicsList: <" << name <<
">" <<
G4endl;
196 if (name == emName)
return;
202 if (name ==
"standard_opt3") {
204 delete emPhysicsList;
206 G4cout <<
"THE FOLLOWING ELECTROMAGNETIC PHYSICS LIST HAS BEEN ACTIVATED: G4EmStandardPhysics_option3" <<
G4endl;
208 }
else if (name ==
"LowE_Livermore") {
210 delete emPhysicsList;
212 G4cout <<
"THE FOLLOWING ELECTROMAGNETIC PHYSICS LIST HAS BEEN ACTIVATED: G4EmLivermorePhysics" <<
G4endl;
214 }
else if (name ==
"LowE_Penelope") {
216 delete emPhysicsList;
218 G4cout <<
"THE FOLLOWING ELECTROMAGNETIC PHYSICS LIST HAS BEEN ACTIVATED: G4EmLivermorePhysics" <<
G4endl;
223 }
else if (name ==
"elastic" && !helIsRegisted) {
224 G4cout <<
"THE FOLLOWING HADRONIC ELASTIC PHYSICS LIST HAS BEEN ACTIVATED: G4HadronElasticPhysics()" <<
G4endl;
226 helIsRegisted =
true;
228 }
else if (name ==
"binary" && !bicIsRegisted) {
230 bicIsRegisted =
true;
231 G4cout <<
"THE FOLLOWING HADRONIC INELASTIC PHYSICS LIST HAS BEEN ACTIVATED: G4HadronInelasticQBBC()" <<
G4endl;
233 }
else if (name ==
"binary_ion" && !biciIsRegisted) {
235 biciIsRegisted =
true;
239 G4cout <<
"PhysicsList::AddPhysicsList: <" << name <<
">"
257 if (stepMaxProcess->
IsApplicable(*particle) && pmanager)
269 G4cout <<
"PhysicsList::SetCuts:";
292 cutForElectron = cut;
299 cutForPositron = cut;
void SetCutForElectron(G4double)
void RegisterPhysics(G4VPhysicsConstructor *)
static G4LossTableManager * Instance()
static constexpr double mm
void SetCutValue(G4double aCut, const G4String &pname)
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
void AddPackage(const G4String &name)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
void AddPhysicsList(const G4String &name)
virtual void ConstructParticle()=0
void SetParticleCuts(G4double cut, G4ParticleDefinition *particle, G4Region *region=0)
void DumpCutValuesTable(G4int flag=1)
G4GLOB_DLL std::ostream G4cout
const G4VPhysicsConstructor * GetPhysics(G4int index) const
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
void SetCutForPositron(G4double)
void SetVerboseLevel(G4int value)
static G4Positron * Positron()
void SetCutForGamma(G4double)
G4ProcessManager * GetProcessManager() const
virtual ~ML2PhysicsList()
virtual void ConstructProcess()=0
std::vector< G4InuclElementaryParticle >::iterator particleIterator
static G4Electron * Electron()
G4bool IsApplicable(const G4ParticleDefinition &)
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const