47 #include "PhysicsList.hh"
48 #include "PhysicsListMessenger.hh"
75 fEmBuilderIsRegisted =
false;
76 fHelIsRegisted =
false;
77 fBicIsRegisted =
false;
78 fIonIsRegisted =
false;
79 fGnucIsRegisted =
false;
80 fStopIsRegisted =
false;
106 G4cout <<
"### PhysicsList Construte Particles" <<
G4endl;
116 G4cout <<
"### PhysicsList Construte Processes" <<
G4endl;
136 G4cout <<
"### PhysicsList Add Physics <" << name
139 if ((name ==
"emstandard") && !fEmBuilderIsRegisted) {
141 fEmBuilderIsRegisted =
true;
143 }
else if (name ==
"emstandard_opt1" && !fEmBuilderIsRegisted) {
145 fEmBuilderIsRegisted =
true;
147 }
else if (name ==
"emstandard_opt2" && !fEmBuilderIsRegisted) {
149 fEmBuilderIsRegisted =
true;
151 }
else if (name ==
"emstandard_opt3" && !fEmBuilderIsRegisted) {
153 fEmBuilderIsRegisted =
true;
155 }
else if (name ==
"emlivermore" && !fEmBuilderIsRegisted) {
157 fEmBuilderIsRegisted =
true;
159 }
else if (name ==
"empenelope" && !fEmBuilderIsRegisted) {
161 fEmBuilderIsRegisted =
true;
163 }
else if (name ==
"elastic" && !fHelIsRegisted && fEmBuilderIsRegisted) {
165 fHelIsRegisted =
true;
167 }
else if (name ==
"binary" && !fBicIsRegisted && fEmBuilderIsRegisted) {
169 fBicIsRegisted =
true;
171 }
else if (name ==
"binary_ion" && !fIonIsRegisted && fEmBuilderIsRegisted) {
173 fIonIsRegisted =
true;
175 }
else if (name ==
"gamma_nuc" && !fGnucIsRegisted && fEmBuilderIsRegisted) {
177 fGnucIsRegisted =
true;
179 }
else if (name ==
"stopping" && !fStopIsRegisted && fEmBuilderIsRegisted) {
181 fStopIsRegisted =
true;
183 }
else if(!fEmBuilderIsRegisted) {
184 G4cout <<
"PhysicsList::AddPhysicsList <" << name <<
">"
185 <<
" fail - EM physics should be registered first " <<
G4endl;
187 G4cout <<
"PhysicsList::AddPhysicsList <" << name <<
">"
188 <<
" fail - module is already regitered or is unknown " <<
G4endl;
215 fCutForElectron = cut;
223 fCutForPositron = cut;
void RegisterPhysics(G4VPhysicsConstructor *)
static G4LossTableManager * Instance()
void SetCutValue(G4double aCut, const G4String &pname)
void SetCutForGamma(G4double)
void SetMinEnergy(G4double val)
void SetCutForPositron(G4double)
void SetCutForElectron(G4double)
Definition of the StepLimiterBuilder class.
void AddPhysicsList(const G4String &name)
void SetDEDXBinning(G4int val)
void SetParticleCuts(G4double cut, G4ParticleDefinition *particle, G4Region *region=0)
void DumpCutValuesTable(G4int flag=1)
G4GLOB_DLL std::ostream G4cout
void SetLambdaBinning(G4int val)
void SetMaxEnergy(G4double val)
virtual void ConstructParticle()
static G4Positron * Positron()
virtual void ConstructProcess()
void SetVerbose(G4int val)
static G4Electron * Electron()