Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4EmStandardPhysicsGS Class Reference

#include <G4EmStandardPhysicsGS.hh>

Inheritance diagram for G4EmStandardPhysicsGS:
Collaboration diagram for G4EmStandardPhysicsGS:

Public Member Functions

 G4EmStandardPhysicsGS (G4int ver=0, const G4String &name="")
 
virtual ~G4EmStandardPhysicsGS ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
- Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
 
virtual ~G4VPhysicsConstructor ()
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4int GetInstanceID () const
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4int g4vpcInstanceID
 
- Static Protected Attributes inherited from G4VPhysicsConstructor
static G4RUN_DLL G4VPCManager subInstanceManager
 

Detailed Description

Definition at line 52 of file G4EmStandardPhysicsGS.hh.

Constructor & Destructor Documentation

G4EmStandardPhysicsGS::G4EmStandardPhysicsGS ( G4int  ver = 0,
const G4String name = "" 
)
explicit

Definition at line 109 of file G4EmStandardPhysicsGS.cc.

110  : G4VPhysicsConstructor("G4EmStandardGS"), verbose(ver)
111 {
113  param->SetDefaults();
114  param->SetVerbose(verbose);
115  param->SetLowestElectronEnergy(10*eV);
116  param->SetMscRangeFactor(0.1);
117  param->SetMscStepLimitType(fUseSafetyPlus);// corresponds to Urban fUseSafety
118 // param->SetMscStepLimitType(fUseSafety);// corresponds to the error-free stepping
119 // param->SetFluo(true);
121 }
void SetVerbose(G4int val)
void SetLowestElectronEnergy(G4double val)
void SetMscStepLimitType(G4MscStepLimitType val)
void SetMscRangeFactor(G4double val)
static constexpr double eV
Definition: G4SIunits.hh:215
static G4EmParameters * Instance()
G4VPhysicsConstructor(const G4String &="")

Here is the call graph for this function:

G4EmStandardPhysicsGS::~G4EmStandardPhysicsGS ( )
virtual

Definition at line 125 of file G4EmStandardPhysicsGS.cc.

126 {}

Member Function Documentation

void G4EmStandardPhysicsGS::ConstructParticle ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 130 of file G4EmStandardPhysicsGS.cc.

131 {
132  // gamma
133  G4Gamma::Gamma();
134 
135  // leptons
140 
141  // mesons
146 
147  // barions
150 
151  // ions
154  G4He3::He3();
155  G4Alpha::Alpha();
157 }
static G4KaonPlus * KaonPlusDefinition()
Definition: G4KaonPlus.cc:108
static G4GenericIon * GenericIonDefinition()
Definition: G4GenericIon.cc:88
static G4MuonPlus * MuonPlus()
Definition: G4MuonPlus.cc:99
static G4KaonMinus * KaonMinusDefinition()
Definition: G4KaonMinus.cc:108
static G4AntiProton * AntiProton()
Definition: G4AntiProton.cc:93
static G4PionMinus * PionMinusDefinition()
Definition: G4PionMinus.cc:93
static G4Triton * Triton()
Definition: G4Triton.cc:95
static G4PionPlus * PionPlusDefinition()
Definition: G4PionPlus.cc:93
static G4Proton * Proton()
Definition: G4Proton.cc:93
static G4Gamma * Gamma()
Definition: G4Gamma.cc:86
static G4Deuteron * Deuteron()
Definition: G4Deuteron.cc:94
static G4Positron * Positron()
Definition: G4Positron.cc:94
static G4MuonMinus * MuonMinus()
Definition: G4MuonMinus.cc:100
static G4Electron * Electron()
Definition: G4Electron.cc:94
static G4Alpha * Alpha()
Definition: G4Alpha.cc:89
static G4He3 * He3()
Definition: G4He3.cc:94

Here is the call graph for this function:

void G4EmStandardPhysicsGS::ConstructProcess ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 161 of file G4EmStandardPhysicsGS.cc.

162 {
163  if(verbose > 1) {
164  G4cout << "### " << GetPhysicsName() << " Construct Processes " << G4endl;
165  }
167 
168  // muon & hadron bremsstrahlung and pair production
177 
178  // muon & hadron multiple scattering
180  mumsc->AddEmModel(0, new G4WentzelVIModel());
182 
184  pimsc->AddEmModel(0, new G4WentzelVIModel());
186 
188  kmsc->AddEmModel(0, new G4WentzelVIModel());
190 
192  pmsc->AddEmModel(0, new G4WentzelVIModel());
194 
195  G4hMultipleScattering* hmsc = new G4hMultipleScattering("ionmsc");
196 
197  // high energy limit for e+- scattering models
198  G4double highEnergyLimit = 100*MeV;
199 
200  // Add standard EM Processes
201  auto myParticleIterator=GetParticleIterator();
202  myParticleIterator->reset();
203  while( (*myParticleIterator)() ){
204  G4ParticleDefinition* particle = myParticleIterator->value();
205  G4String particleName = particle->GetParticleName();
206 
207  if (particleName == "gamma") {
208 
209  ph->RegisterProcess(new G4PhotoElectricEffect(), particle);
210  ph->RegisterProcess(new G4ComptonScattering(), particle);
211  ph->RegisterProcess(new G4GammaConversion(), particle);
212 
213 
214 /*
215  G4ComptonScattering* cs = new G4ComptonScattering;
216  cs->SetEmModel(new G4KleinNishinaModel(), 1);
217 
218  G4PhotoElectricEffect* pee = new G4PhotoElectricEffect();
219  pee->SetEmModel(new G4LivermorePhotoElectricModel(), 1);
220 
221  ph->RegisterProcess(cs, particle);
222  ph->RegisterProcess(pee, particle);
223  ph->RegisterProcess(new G4GammaConversion(), particle);
224  ph->RegisterProcess(new G4RayleighScattering(), particle);
225 */
226  } else if (particleName == "e-") {
227 
230  msc1->SetOptionPWAScreening(false);
231 
232  G4WentzelVIModel* msc2 = new G4WentzelVIModel();
233  msc1->SetHighEnergyLimit(highEnergyLimit);
234  msc2->SetLowEnergyLimit(highEnergyLimit);
235  msc->AddEmModel(0, msc1);
236  msc->AddEmModel(0, msc2);
237 
240  ss->SetEmModel(ssm, 1);
241  ss->SetMinKinEnergy(highEnergyLimit);
242  ssm->SetLowEnergyLimit(highEnergyLimit);
243  ssm->SetActivationLowEnergyLimit(highEnergyLimit);
244 
245  ph->RegisterProcess(msc, particle);
246  ph->RegisterProcess(new G4eIonisation(), particle);
247  ph->RegisterProcess(new G4eBremsstrahlung(), particle);
248  ph->RegisterProcess(ss, particle);
249 
250  } else if (particleName == "e+") {
251 
254  msc1->SetOptionPWAScreening(true);
255 
256  G4WentzelVIModel* msc2 = new G4WentzelVIModel();
257  msc1->SetHighEnergyLimit(highEnergyLimit);
258  msc2->SetLowEnergyLimit(highEnergyLimit);
259  msc->AddEmModel(0, msc1);
260  msc->AddEmModel(0, msc2);
261 
264  ss->SetEmModel(ssm, 1);
265  ss->SetMinKinEnergy(highEnergyLimit);
266  ssm->SetLowEnergyLimit(highEnergyLimit);
267  ssm->SetActivationLowEnergyLimit(highEnergyLimit);
268 
269  ph->RegisterProcess(msc, particle);
270  ph->RegisterProcess(new G4eIonisation(), particle);
271  ph->RegisterProcess(new G4eBremsstrahlung(), particle);
272  ph->RegisterProcess(new G4eplusAnnihilation(), particle);
273  ph->RegisterProcess(ss, particle);
274 
275  } else if (particleName == "mu+" ||
276  particleName == "mu-" ) {
277 
278  ph->RegisterProcess(mumsc, particle);
279  ph->RegisterProcess(new G4MuIonisation(), particle);
280  ph->RegisterProcess(mub, particle);
281  ph->RegisterProcess(mup, particle);
282  ph->RegisterProcess(muss, particle);
283 
284  } else if (particleName == "alpha" ||
285  particleName == "He3") {
286 
287  //ph->RegisterProcess(hmsc, particle);
288  ph->RegisterProcess(new G4hMultipleScattering(), particle);
289  ph->RegisterProcess(new G4ionIonisation(), particle);
290 
291  } else if (particleName == "GenericIon") {
292 
293  ph->RegisterProcess(hmsc, particle);
294  ph->RegisterProcess(new G4ionIonisation(), particle);
295 
296  } else if (particleName == "pi+" ||
297  particleName == "pi-" ) {
298 
299  //G4hMultipleScattering* pimsc = new G4hMultipleScattering();
300  ph->RegisterProcess(pimsc, particle);
301  ph->RegisterProcess(new G4hIonisation(), particle);
302  ph->RegisterProcess(pib, particle);
303  ph->RegisterProcess(pip, particle);
304  ph->RegisterProcess(piss, particle);
305 
306  } else if (particleName == "kaon+" ||
307  particleName == "kaon-" ) {
308 
309  //G4hMultipleScattering* kmsc = new G4hMultipleScattering();
310  ph->RegisterProcess(kmsc, particle);
311  ph->RegisterProcess(new G4hIonisation(), particle);
312  ph->RegisterProcess(kb, particle);
313  ph->RegisterProcess(kp, particle);
314  ph->RegisterProcess(kss, particle);
315 
316  } else if (particleName == "proton" ||
317  particleName == "anti_proton") {
318 
319  //G4hMultipleScattering* pmsc = new G4hMultipleScattering();
320  ph->RegisterProcess(pmsc, particle);
321  ph->RegisterProcess(new G4hIonisation(), particle);
322  ph->RegisterProcess(pb, particle);
323  ph->RegisterProcess(pp, particle);
324  ph->RegisterProcess(pss, particle);
325 
326  } else if (particleName == "B+" ||
327  particleName == "B-" ||
328  particleName == "D+" ||
329  particleName == "D-" ||
330  particleName == "Ds+" ||
331  particleName == "Ds-" ||
332  particleName == "anti_He3" ||
333  particleName == "anti_alpha" ||
334  particleName == "anti_deuteron" ||
335  particleName == "anti_lambda_c+" ||
336  particleName == "anti_omega-" ||
337  particleName == "anti_sigma_c+" ||
338  particleName == "anti_sigma_c++" ||
339  particleName == "anti_sigma+" ||
340  particleName == "anti_sigma-" ||
341  particleName == "anti_triton" ||
342  particleName == "anti_xi_c+" ||
343  particleName == "anti_xi-" ||
344  particleName == "deuteron" ||
345  particleName == "lambda_c+" ||
346  particleName == "omega-" ||
347  particleName == "sigma_c+" ||
348  particleName == "sigma_c++" ||
349  particleName == "sigma+" ||
350  particleName == "sigma-" ||
351  particleName == "tau+" ||
352  particleName == "tau-" ||
353  particleName == "triton" ||
354  particleName == "xi_c+" ||
355  particleName == "xi-" ) {
356 
357  ph->RegisterProcess(hmsc, particle);
358  ph->RegisterProcess(new G4hIonisation(), particle);
359  }
360  }
361 
362  // Deexcitation
363  //
366 
368 }
static G4LossTableManager * Instance()
const G4String & GetParticleName() const
void SetHighEnergyLimit(G4double)
Definition: G4VEmModel.hh:732
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
void SetEmModel(G4VEmModel *, G4int index=1)
G4GLOB_DLL std::ostream G4cout
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
const G4String & GetPhysicsName() const
void SetActivationLowEnergyLimit(G4double)
Definition: G4VEmModel.hh:753
static G4PhysicsListHelper * GetPhysicsListHelper()
void AddEmModel(G4int order, G4VEmModel *, const G4Region *region=nullptr)
#define G4endl
Definition: G4ios.hh:61
static constexpr double MeV
Definition: G4SIunits.hh:214
void SetMinKinEnergy(G4double e)
double G4double
Definition: G4Types.hh:76
void SetLowEnergyLimit(G4double)
Definition: G4VEmModel.hh:739
void SetAtomDeexcitation(G4VAtomDeexcitation *)

Here is the call graph for this function:


The documentation for this class was generated from the following files: