Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4EmStandardPhysicsSS Class Reference

#include <G4EmStandardPhysicsSS.hh>

Inheritance diagram for G4EmStandardPhysicsSS:
Collaboration diagram for G4EmStandardPhysicsSS:

Public Member Functions

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

Constructor & Destructor Documentation

G4EmStandardPhysicsSS::G4EmStandardPhysicsSS ( G4int  ver = 1)
explicit

Definition at line 115 of file G4EmStandardPhysicsSS.cc.

116  : G4VPhysicsConstructor("G4EmStandardSS"), verbose(ver)
117 {
119  param->SetDefaults();
120  param->SetVerbose(verbose);
121  param->SetLowestElectronEnergy(10*eV);
122  param->SetMscThetaLimit(0.0);
123  param->SetFluo(true);
124  param->SetAuger(true);
125  param->SetPixe(true);
127 }
void SetVerbose(G4int val)
void SetLowestElectronEnergy(G4double val)
void SetAuger(G4bool val)
static constexpr double eV
Definition: G4SIunits.hh:215
void SetPixe(G4bool val)
static G4EmParameters * Instance()
G4VPhysicsConstructor(const G4String &="")
void SetMscThetaLimit(G4double val)
void SetFluo(G4bool val)

Here is the call graph for this function:

G4EmStandardPhysicsSS::~G4EmStandardPhysicsSS ( )
virtual

Definition at line 131 of file G4EmStandardPhysicsSS.cc.

132 {}

Member Function Documentation

void G4EmStandardPhysicsSS::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 136 of file G4EmStandardPhysicsSS.cc.

137 {
138  // gamma
139  G4Gamma::Gamma();
140 
141  // leptons
146 
147  // mesons
152 
153  // barions
156 
157  // ions
160  G4He3::He3();
161  G4Alpha::Alpha();
163 }
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 G4EmStandardPhysicsSS::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 167 of file G4EmStandardPhysicsSS.cc.

168 {
169  if(verbose > 1) {
170  G4cout << "### " << GetPhysicsName() << " Construct Processes " << G4endl;
171  }
173 
174  // muon & hadron bremsstrahlung and pair production
183 
184  // muon & hadron multiple scattering
189 
190  G4hMultipleScattering* hmsc = new G4hMultipleScattering("ionmsc");
191 
192 
193  // Add standard EM Processes
194  auto myParticleIterator=GetParticleIterator();
195  myParticleIterator->reset();
196  while( (*myParticleIterator)() ){
197  G4ParticleDefinition* particle = myParticleIterator->value();
198  G4String particleName = particle->GetParticleName();
199 
200  if (particleName == "gamma") {
201 
203  cs->SetEmModel(new G4KleinNishinaModel(), 1);
204 
207 
208  ph->RegisterProcess(cs, particle);
209  ph->RegisterProcess(pee, particle);
210  ph->RegisterProcess(new G4GammaConversion(), particle);
211  ph->RegisterProcess(new G4RayleighScattering(), particle);
212 
213  } else if (particleName == "e-") {
214 
216  if(G4EmParameters::Instance()->UseMottCorrection()) {
218  }
219 
220  ph->RegisterProcess(new G4eIonisation(), particle);
221  ph->RegisterProcess(new G4eBremsstrahlung(), particle);
222  ph->RegisterProcess(ss, particle);
223 
224  } else if (particleName == "e+") {
225 
227 
228  ph->RegisterProcess(new G4eIonisation(), particle);
229  ph->RegisterProcess(new G4eBremsstrahlung(), particle);
230  ph->RegisterProcess(new G4eplusAnnihilation(), particle);
231  ph->RegisterProcess(ss, particle);
232 
233  } else if (particleName == "mu+" ||
234  particleName == "mu-" ) {
235 
236  ph->RegisterProcess(new G4MuIonisation(), particle);
237  ph->RegisterProcess(mub, particle);
238  ph->RegisterProcess(mup, particle);
239  ph->RegisterProcess(muss, particle);
240 
241  } else if (particleName == "alpha" ||
242  particleName == "He3") {
243 
244  ph->RegisterProcess(new G4ionIonisation(), particle);
245  ph->RegisterProcess(new G4CoulombScattering(), particle);
246 
247  } else if (particleName == "GenericIon") {
248 
249  ph->RegisterProcess(new G4ionIonisation(), particle);
250  ph->RegisterProcess(new G4CoulombScattering(), particle);
251 
252  } else if (particleName == "pi+" ||
253  particleName == "pi-" ) {
254 
255  ph->RegisterProcess(new G4hIonisation(), particle);
256  ph->RegisterProcess(pib, particle);
257  ph->RegisterProcess(pip, particle);
258  ph->RegisterProcess(piss, particle);
259 
260  } else if (particleName == "kaon+" ||
261  particleName == "kaon-" ) {
262 
263  ph->RegisterProcess(new G4hIonisation(), particle);
264  ph->RegisterProcess(kb, particle);
265  ph->RegisterProcess(kp, particle);
266  ph->RegisterProcess(kss, particle);
267 
268  } else if (particleName == "proton" ||
269  particleName == "anti_proton") {
270 
271  ph->RegisterProcess(new G4hIonisation(), particle);
272  ph->RegisterProcess(pb, particle);
273  ph->RegisterProcess(pp, particle);
274  ph->RegisterProcess(pss, particle);
275 
276  } else if (particleName == "B+" ||
277  particleName == "B-" ||
278  particleName == "D+" ||
279  particleName == "D-" ||
280  particleName == "Ds+" ||
281  particleName == "Ds-" ||
282  particleName == "anti_He3" ||
283  particleName == "anti_alpha" ||
284  particleName == "anti_deuteron" ||
285  particleName == "anti_lambda_c+" ||
286  particleName == "anti_omega-" ||
287  particleName == "anti_sigma_c+" ||
288  particleName == "anti_sigma_c++" ||
289  particleName == "anti_sigma+" ||
290  particleName == "anti_sigma-" ||
291  particleName == "anti_triton" ||
292  particleName == "anti_xi_c+" ||
293  particleName == "anti_xi-" ||
294  particleName == "deuteron" ||
295  particleName == "lambda_c+" ||
296  particleName == "omega-" ||
297  particleName == "sigma_c+" ||
298  particleName == "sigma_c++" ||
299  particleName == "sigma+" ||
300  particleName == "sigma-" ||
301  particleName == "tau+" ||
302  particleName == "tau-" ||
303  particleName == "triton" ||
304  particleName == "xi_c+" ||
305  particleName == "xi-" ) {
306 
307  ph->RegisterProcess(hmsc, particle);
308  ph->RegisterProcess(new G4hIonisation(), particle);
309  }
310  }
311 
312  // Deexcitation
313  //
316 
318 }
static G4LossTableManager * Instance()
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()
static G4EmParameters * Instance()
#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: