69 helIsRegisted =
false;
70 bicIsRegisted =
false;
71 biciIsRegisted =
false;
72 locIonIonInelasticIsRegistered =
false;
73 radioactiveDecayIsRegisted =
false;
81 emName =
G4String(
"emstandard_opt3");
92 delete decPhysicsList;
93 for(
size_t i=0; i<hadronPhys.size(); i++) {
delete hadronPhys[i];}
135 for(
size_t i=0; i<hadronPhys.size(); i++) {
136 hadronPhys[i]->ConstructProcess();
149 G4cout <<
"PhysicsList::AddPhysicsList: <" << name <<
">" <<
G4endl;
151 if (name == emName)
return;
157 if (name ==
"standard_opt3") {
159 delete emPhysicsList;
161 G4cout <<
"THE FOLLOWING ELECTROMAGNETIC PHYSICS LIST HAS BEEN ACTIVATED: G4EmStandardPhysics_option3" <<
G4endl;
163 }
else if (name ==
"LowE_Livermore") {
165 delete emPhysicsList;
167 G4cout <<
"THE FOLLOWING ELECTROMAGNETIC PHYSICS LIST HAS BEEN ACTIVATED: G4EmLivermorePhysics" <<
G4endl;
168 }
else if (name ==
"LowE_Penelope") {
170 delete emPhysicsList;
172 G4cout <<
"THE FOLLOWING ELECTROMAGNETIC PHYSICS LIST HAS BEEN ACTIVATED: G4EmLivermorePhysics" <<
G4endl;
173 }
else if (name ==
"LowE_Polarized") {
175 delete emPhysicsList;
177 G4cout <<
"THE FOLLOWING ELECTROMAGNETIC PHYSICS LIST HAS BEEN ACTIVATED: G4EmLivermorePhysics" <<
G4endl;
182 }
else if (name ==
"elastic" && !helIsRegisted) {
183 G4cout <<
"THE FOLLOWING HADRONIC ELASTIC PHYSICS LIST HAS BEEN ACTIVATED: G4HadronElasticPhysics()" <<
G4endl;
185 helIsRegisted =
true;
187 }
else if (name ==
"DElastic" && !helIsRegisted) {
189 helIsRegisted =
true;
191 }
else if (name ==
"HPElastic" && !helIsRegisted) {
193 helIsRegisted =
true;
195 }
else if (name ==
"binary" && !bicIsRegisted) {
197 bicIsRegisted =
true;
198 G4cout <<
"THE FOLLOWING HADRONIC INELASTIC PHYSICS LIST HAS BEEN ACTIVATED: HadronPhysicsQGSP_BIC_HP()" <<
G4endl;
200 }
else if (name ==
"binary_ion" && !biciIsRegisted) {
202 biciIsRegisted =
true;
203 G4cout <<
"THE FOLLOWING HADRONIC INELASTIC PHYSICS LIST HAS BEEN ACTIVATED: G4IonBinaryCascadePhysics()" <<
G4endl;
204 }
else if (name ==
"radioactive_decay" && !radioactiveDecayIsRegisted ) {
206 radioactiveDecayIsRegisted =
true;
207 G4cout <<
"THE FOLLOWING HADRONIC INELASTIC PHYSICS LIST HAS BEEN ACTIVATED: G4RadioactiveDecayPhysics()" <<
G4endl;
210 G4cout <<
"PhysicsList::AddPhysicsList: <" << name <<
">"
221 G4cout <<
"PhysicsList::SetCuts:";
246 cutForElectron = cut;
252 cutForPositron = cut;
void RegisterPhysics(G4VPhysicsConstructor *)
static G4LossTableManager * Instance()
void SetCutValue(G4double aCut, const G4String &pname)
void SetEnergyRange(G4double lowedge, G4double highedge)
void SetCutForPositron(G4double)
#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 &)
static constexpr double eV
void SetVerboseLevel(G4int value)
static G4ProductionCutsTable * GetProductionCutsTable()
static G4Positron * Positron()
virtual ~GammaRayTelPhysicsList()
void SetCutForGamma(G4double)
static constexpr double GeV
virtual void ConstructProcess()=0
static G4Electron * Electron()
void AddPackage(const G4String &name)
static constexpr double micrometer
void SetCutForElectron(G4double)