Modules/SdSimulation/Deprecated/UpgradeASCIITests/G4TankSimulatorASCII/ParticleCases.h
Go to the documentation of this file.
1 #ifndef _G4TankSimulatorASCII_ParticleCases_h_
2 #define _G4TankSimulatorASCII_ParticleCases_h_
3 
4 
5 #define G4_ELECTRONS \
6  11: /* e- */ \
7  case -11 /* e+ */
8 
9 #define G4_PHOTON \
10  22 /* photon */
11 
12 #define G4_MUONS \
13  13: /* mu- */ \
14  case -13 /* mu+ */
15 
16 #define G4_MESONS \
17  111: /* pi0 */ \
18  case 211: /* pi+ */ \
19  case -211: /* pi- */ \
20  case 221: /* eta */ \
21  case 130: /* K0L */ \
22  case 310: /* K0S */ \
23  case 321: /* K+ */ \
24  case -321 /* K- */
25 
26 #define G4_BARYONS \
27  2212: /* p */ \
28  case -2212: /* p bar */ \
29  case 2112: /* n */ \
30  case -2112: /* n bar */ \
31  case 4122: /* lambdac */ \
32  case 3122: /* lambda */ \
33  case -3122 /* lambda bar */
34 
35 #define G4_HADRONS \
36  G4_MESONS: \
37  case G4_BARYONS
38 
39 #define OFFLINE_PHOTON \
40  utl::Particle::ePhoton
41 
42 #define OFFLINE_ELECTRONS \
43  utl::Particle::eElectron: \
44  case utl::Particle::ePositron
45 
46 #define OFFLINE_MUONS \
47  utl::Particle::eMuon: \
48  case utl::Particle::eAntiMuon
49 
50 #define OFFLINE_MESONS \
51  utl::Particle::ePiZero: \
52  case utl::Particle::ePiPlus: \
53  case utl::Particle::ePiMinus: \
54  case utl::Particle::eEta: \
55  case utl::Particle::eKaon0L: \
56  case utl::Particle::eKaon0S: \
57  case utl::Particle::eKaonPlus: \
58  case utl::Particle::eKaonMinus
59 
60 #define OFFLINE_BARYONS \
61  utl::Particle::eProton: \
62  case utl::Particle::eAntiProton: \
63  case utl::Particle::eNeutron: \
64  case utl::Particle::eAntiNeutron: \
65  case utl::Particle::eLambda: \
66  case utl::Particle::eAntiLambda: \
67  case utl::Particle::eLambdac
68 
69 #define OFFLINE_HADRONS \
70  OFFLINE_MESONS: \
71  case OFFLINE_BARYONS
72 
73 
74 #endif

, generated on Tue Sep 26 2023.