103 emName =
G4String(
"emstandard_opt4");
125 delete emPhysicsList;
127 delete radioactiveDecay_List;
129 for(
size_t i=0; i<hadronPhys.size(); i++)
131 delete hadronPhys[i];
155 for(
size_t i=0; i < hadronPhys.size(); i++)
176 G4cout <<
"PhysicsList::AddPhysicsList: <" << name <<
">" <<
G4endl;
178 if (name == emName)
return;
183 if (name ==
"standard_opt4") {
185 delete emPhysicsList;
189 G4cout <<
"THE FOLLOWING ELECTROMAGNETIC PHYSICS LIST HAS BEEN ACTIVATED: G4EmStandardPhysics_option4" <<
G4endl;
201 }
else if (name ==
"standard_opt3") {
203 delete emPhysicsList;
207 G4cout <<
"THE FOLLOWING ELECTROMAGNETIC PHYSICS LIST HAS BEEN ACTIVATED: G4EmStandardPhysics_option3" <<
G4endl;
208 }
else if (name ==
"local_ion_ion_inelastic") {
210 locIonIonInelasticIsRegistered =
true;
212 }
else if (name ==
"HADRONTHERAPY_1") {
229 G4cout <<
"HADRONTHERAPY_1 PHYSICS LIST has been activated" <<
G4endl;
232 }
else if (name ==
"HADRONTHERAPY_2") {
252 G4cout <<
"HADRONTHERAPY_2 PHYSICS LIST has been acivated" <<
G4endl;
255 else if (name ==
"QGSP_BIC_EMY") {
267 G4cout <<
"PhysicsList::AddPhysicsList: <" << name <<
">"
289 if (stepMaxProcess->
IsApplicable(*particle) && pmanager)
301 G4cout <<
"PhysicsList::SetCuts:";
315 G4String regName[] = {
"DetectorLog"};
317 for(
G4int i=0;i<1;i++)
G4Region * GetRegion(const G4String &name, G4bool verbose=true) const
static G4LossTableManager * Instance()
static constexpr double mm
void SetCutValue(G4double aCut, const G4String &pname)
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
void SetProductionCut(G4double cut, G4int index=-1)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4bool IsApplicable(const G4ParticleDefinition &)
static const G4double reg
static G4RegionStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
void AddPhysicsList(const G4String &name)
void SetVerboseLevel(G4int value)
static G4RunManager * GetRunManager()
G4ProcessManager * GetProcessManager() const
std::vector< G4InuclElementaryParticle >::iterator particleIterator
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
void SetProductionCuts(G4ProductionCuts *cut)
virtual ~HadrontherapyPhysicsList()
virtual void ConstructProcess()
HadrontherapyPhysicsList()