#include <QweakSimEmStandardPhysics.hh>
Inherits G4EmStandardPhysics.
Definition at line 3 of file QweakSimEmStandardPhysics.hh.
QweakSimEmStandardPhysics::QweakSimEmStandardPhysics |
( |
G4int |
ver = 0 | ) |
|
|
inline |
virtual QweakSimEmStandardPhysics::~QweakSimEmStandardPhysics |
( |
| ) |
|
|
inlinevirtual |
void QweakSimEmStandardPhysics::ConstructProcess |
( |
| ) |
|
|
virtual |
Definition at line 14 of file QweakSimEmStandardPhysics.cc.
References verbose.
17 G4cout <<
"### " << GetPhysicsName() <<
" Construct Processes " << G4endl;
19 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
22 G4double highEnergyLimit = 100*MeV;
25 #if G4VERSION_NUMBER >= 1030
26 auto aParticleIterator = GetParticleIterator();
28 aParticleIterator->reset();
29 while( (*aParticleIterator)() ){
30 G4ParticleDefinition* particle = aParticleIterator->value();
31 G4String particleName = particle->GetParticleName();
33 if (particleName ==
"e-" || particleName ==
"e+") {
35 G4eMultipleScattering* msc =
new G4eMultipleScattering;
38 msc1->SetHighEnergyLimit(highEnergyLimit);
39 msc2->SetLowEnergyLimit(highEnergyLimit);
40 msc->AddEmModel(0, msc1);
41 msc->AddEmModel(0, msc2);
43 ph->RegisterProcess(msc, particle);
49 G4EmStandardPhysics::ConstructProcess();
G4int QweakSimEmStandardPhysics::verbose |
|
private |
The documentation for this class was generated from the following files: