44 #include "PhysicsList.hh"
48 #define REGREF PhysicsList
49 #include "G4RegisterPhysicsConstructors.icc"
50 #include "CommandLineParser.hh"
79 using namespace G4DNAPARSER ;
86 double currentDefaultCut ;
88 SetDefaultCutValue(currentDefaultCut);
92 SetEnergyRange(100*
eV, 1*
GeV);
98 if(CommandLineParser::GetParser()->GetCommandIfActive(
"-dnaliv"))
100 G4cout<<
"Livermore + DNAphysics is activated!"<<
G4endl;
101 RegisterConstructor(
"G4EmLivermorePhysics");
118 else if(CommandLineParser::GetParser()->GetCommandIfActive(
"-dnachemON"))
120 G4cout<<
"'Livermore + DNAphysics + DNAChemistry' is activated!"<<
G4endl;
121 RegisterConstructor(
"G4EmLivermorePhysics");
136 else if(CommandLineParser::GetParser()->GetCommandIfActive(
"-dnahad"))
139 <<
"HadronPhysics + LivermorePhysics + DNAPhysics is activated!"<<
G4endl;
141 RegisterConstructor(
"G4HadronElasticPhysics");
143 RegisterConstructor(
"G4HadronPhysicsQGSP_BIC");
145 RegisterConstructor(
"G4StoppingPhysics");
147 RegisterConstructor(
"G4IonBinaryCascadePhysics");
149 RegisterConstructor(
"G4EmExtraPhysics");
151 RegisterConstructor(
"G4NeutronTrackingCut");
153 RegisterConstructor(
"G4DecayPhysics");
158 RegisterConstructor(
"G4EmLivermorePhysics");
175 RegisterConstructor(
"G4EmLivermorePhysics");
186 GetPhysicsConstructor(name));
static constexpr double micrometer
static G4PhysicsConstructorRegistry * Instance()
void RegisterPhysics(G4VPhysicsConstructor *)
PhysicsList()
Implementation of the PhysicsList class.
static constexpr double eV
void AddDNA(const G4String ®ion, const G4String &type)
static G4ProductionCutsTable * GetProductionCutsTable()
G4GLOB_DLL std::ostream G4cout
void RegisterConstructor(const G4String &name)
static constexpr double GeV
static G4EmParameters * Instance()