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

#include <G4EmStandardPhysicsWVI.hh>

Inheritance diagram for G4EmStandardPhysicsWVI:
Collaboration diagram for G4EmStandardPhysicsWVI:

Public Member Functions

 G4EmStandardPhysicsWVI (G4int ver=1)
 
virtual ~G4EmStandardPhysicsWVI ()
 
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 53 of file G4EmStandardPhysicsWVI.hh.

Constructor & Destructor Documentation

G4EmStandardPhysicsWVI::G4EmStandardPhysicsWVI ( G4int  ver = 1)
explicit

Definition at line 112 of file G4EmStandardPhysicsWVI.cc.

113  : G4VPhysicsConstructor("G4EmStandardWVI"), verbose(ver)
114 {
116  param->SetDefaults();
117  param->SetVerbose(verbose);
118  param->SetLowestElectronEnergy(10*eV);
119  //param->SetLatDisplacementBeyondSafety(true);
120  //param->SetMuHadLateralDisplacement(false);
122  param->SetMscThetaLimit(0.15);
123  param->SetFluo(true);
125 }
void SetVerbose(G4int val)
void SetLowestElectronEnergy(G4double val)
static constexpr double eV
Definition: G4SIunits.hh:215
static G4EmParameters * Instance()
G4VPhysicsConstructor(const G4String &="")
void ActivateAngularGeneratorForIonisation(G4bool val)
void SetMscThetaLimit(G4double val)
void SetFluo(G4bool val)

Here is the call graph for this function:

G4EmStandardPhysicsWVI::~G4EmStandardPhysicsWVI ( )
virtual

Definition at line 129 of file G4EmStandardPhysicsWVI.cc.

130 {}

Member Function Documentation

void G4EmStandardPhysicsWVI::ConstructParticle ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 134 of file G4EmStandardPhysicsWVI.cc.

135 {
136  // gamma
137  G4Gamma::Gamma();
138 
139  // leptons
144 
145  // mesons
150 
151  // barions
154 
155  // ions
158  G4He3::He3();
159  G4Alpha::Alpha();
161 }
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 G4EmStandardPhysicsWVI::ConstructProcess ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 165 of file G4EmStandardPhysicsWVI.cc.

166 {
167  if(verbose > 1) {
168  G4cout << "### " << GetPhysicsName() << " Construct Processes " << G4endl;
169  }
171 
172  // muon & hadron bremsstrahlung and pair production
181 
182  // muon & hadron multiple scattering
184  mumsc->SetEmModel(new G4WentzelVIModel());
186 
188  pimsc->SetEmModel(new G4WentzelVIModel());
190 
192  kmsc->SetEmModel(new G4WentzelVIModel());
194 
196  pmsc->SetEmModel(new G4WentzelVIModel());
198 
199  G4hMultipleScattering* hmsc = new G4hMultipleScattering("ionmsc");
200 
201  // Add standard EM Processes
202  auto myParticleIterator=GetParticleIterator();
203  myParticleIterator->reset();
204  while( (*myParticleIterator)() ){
205  G4ParticleDefinition* particle = myParticleIterator->value();
206  G4String particleName = particle->GetParticleName();
207 
208  if (particleName == "gamma") {
209 
211  cs->SetEmModel(new G4KleinNishinaModel(), 1);
212 
215 
216  ph->RegisterProcess(cs, particle);
217  ph->RegisterProcess(pee, particle);
218  ph->RegisterProcess(new G4GammaConversion(), particle);
219  ph->RegisterProcess(new G4RayleighScattering(), particle);
220 
221  } else if (particleName == "e-") {
222 
224  msc->SetEmModel(new G4WentzelVIModel());
226 
227  ph->RegisterProcess(msc, particle);
228  ph->RegisterProcess(new G4eIonisation(), particle);
229  ph->RegisterProcess(new G4eBremsstrahlung(), particle);
230  ph->RegisterProcess(ss, particle);
231 
232  } else if (particleName == "e+") {
233 
235  msc->SetEmModel(new G4WentzelVIModel());
237 
238  ph->RegisterProcess(msc, particle);
239  ph->RegisterProcess(new G4eIonisation(), particle);
240  ph->RegisterProcess(new G4eBremsstrahlung(), particle);
241  ph->RegisterProcess(new G4eplusAnnihilation(), particle);
242  ph->RegisterProcess(ss, particle);
243 
244  } else if (particleName == "mu+" ||
245  particleName == "mu-" ) {
246 
247  ph->RegisterProcess(mumsc, particle);
248  ph->RegisterProcess(new G4MuIonisation(), particle);
249  ph->RegisterProcess(mub, particle);
250  ph->RegisterProcess(mup, particle);
251  ph->RegisterProcess(muss, particle);
252 
253  } else if (particleName == "alpha" ||
254  particleName == "He3") {
255 
256  //ph->RegisterProcess(hmsc, particle);
257  ph->RegisterProcess(new G4hMultipleScattering(), particle);
258  ph->RegisterProcess(new G4ionIonisation(), particle);
259 
260  } else if (particleName == "GenericIon") {
261 
262  ph->RegisterProcess(hmsc, particle);
263  ph->RegisterProcess(new G4ionIonisation(), particle);
264 
265  } else if (particleName == "pi+" ||
266  particleName == "pi-" ) {
267 
268  //G4hMultipleScattering* pimsc = new G4hMultipleScattering();
269  ph->RegisterProcess(pimsc, particle);
270  ph->RegisterProcess(new G4hIonisation(), particle);
271  ph->RegisterProcess(pib, particle);
272  ph->RegisterProcess(pip, particle);
273  ph->RegisterProcess(piss, particle);
274 
275  } else if (particleName == "kaon+" ||
276  particleName == "kaon-" ) {
277 
278  //G4hMultipleScattering* kmsc = new G4hMultipleScattering();
279  ph->RegisterProcess(kmsc, particle);
280  ph->RegisterProcess(new G4hIonisation(), particle);
281  ph->RegisterProcess(kb, particle);
282  ph->RegisterProcess(kp, particle);
283  ph->RegisterProcess(kss, particle);
284 
285  } else if (particleName == "proton" ||
286  particleName == "anti_proton") {
287 
288  //G4hMultipleScattering* pmsc = new G4hMultipleScattering();
289  ph->RegisterProcess(pmsc, particle);
290  ph->RegisterProcess(new G4hIonisation(), particle);
291  ph->RegisterProcess(pb, particle);
292  ph->RegisterProcess(pp, particle);
293  ph->RegisterProcess(pss, particle);
294 
295  } else if (particleName == "B+" ||
296  particleName == "B-" ||
297  particleName == "D+" ||
298  particleName == "D-" ||
299  particleName == "Ds+" ||
300  particleName == "Ds-" ||
301  particleName == "anti_He3" ||
302  particleName == "anti_alpha" ||
303  particleName == "anti_deuteron" ||
304  particleName == "anti_lambda_c+" ||
305  particleName == "anti_omega-" ||
306  particleName == "anti_sigma_c+" ||
307  particleName == "anti_sigma_c++" ||
308  particleName == "anti_sigma+" ||
309  particleName == "anti_sigma-" ||
310  particleName == "anti_triton" ||
311  particleName == "anti_xi_c+" ||
312  particleName == "anti_xi-" ||
313  particleName == "deuteron" ||
314  particleName == "lambda_c+" ||
315  particleName == "omega-" ||
316  particleName == "sigma_c+" ||
317  particleName == "sigma_c++" ||
318  particleName == "sigma+" ||
319  particleName == "sigma-" ||
320  particleName == "tau+" ||
321  particleName == "tau-" ||
322  particleName == "triton" ||
323  particleName == "xi_c+" ||
324  particleName == "xi-" ) {
325 
326  ph->RegisterProcess(hmsc, particle);
327  ph->RegisterProcess(new G4hIonisation(), particle);
328  }
329  }
330 
331  // Deexcitation
332  //
335 
337 }
static G4LossTableManager * Instance()
void SetEmModel(G4VMscModel *, G4int index=1)
const G4String & GetParticleName() const
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
static G4PhysicsListHelper * GetPhysicsListHelper()
#define G4endl
Definition: G4ios.hh:61
void SetAtomDeexcitation(G4VAtomDeexcitation *)

Here is the call graph for this function:


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