14#include "G4ParticleTypes.hh"
16#include "G4MultipleScattering.hh"
17#include "G4eIonisation.hh"
18#include "G4eBremsstrahlung.hh"
19#include "G4MuIonisation.hh"
20#include "G4MuBremsstrahlung.hh"
21#include "G4hIonisation.hh"
23#include "G4ProcessManager.hh"
27 defaultCutValue = 0.5*mm;
38 G4Gamma:: GammaDefinition();
39 G4Electron:: ElectronDefinition();
40 G4Positron:: PositronDefinition();
41 G4MuonPlus:: MuonPlusDefinition();
42 G4MuonMinus:: MuonMinusDefinition();
43 G4PionPlus:: PionPlusDefinition();
44 G4PionMinus:: PionMinusDefinition();
45 G4KaonPlus:: KaonPlusDefinition();
46 G4KaonMinus:: KaonMinusDefinition();
47 G4Proton:: ProtonDefinition();
48 G4AntiProton:: AntiProtonDefinition();
58 theParticleIterator->reset();
59 while( (*theParticleIterator)() )
61 G4ParticleDefinition* particle = theParticleIterator->value();
62 G4ProcessManager* pmanager = particle->GetProcessManager();
63 G4String particleName = particle->GetParticleName();
64 if(particleName ==
"e-" || particleName ==
"e+")
71 else if(particleName ==
"mu-" || particleName ==
"mu+")
78 else if((!particle->IsShortLived()) && (particle->GetPDGCharge() != 0.0) && (particleName !=
"chargedgeantino"))