3 #include "G4Version.hh"
4 #include "G4SystemOfUnits.hh"
5 #include "G4PhysicsListHelper.hh"
6 #include "G4ParticleDefinition.hh"
8 #include "G4eMultipleScattering.hh"
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();
virtual void ConstructProcess()