14#include "G4ParticleTypes.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();
57 auto theParticleIterator=GetParticleIterator();
59 theParticleIterator->reset();
60 while( (*theParticleIterator)() )
62 G4ParticleDefinition* particle = theParticleIterator->value();
63 G4ProcessManager* pmanager = particle->GetProcessManager();
64 G4String particleName = particle->GetParticleName();
65 if(particleName ==
"e-" || particleName ==
"e+")
72 else if(particleName ==
"mu-" || particleName ==
"mu+")
79 else if((!particle->IsShortLived()) && (particle->GetPDGCharge() != 0.0) && (particleName !=
"chargedgeantino"))