LBNEParticleCode.hh
Go to the documentation of this file.
1 #ifndef LBNEPARTICLECODE_H
2 #define LBNEPARTICLECODE_H
3 
4 #include "globals.hh"
5 #include <string>
6 
7 namespace LBNEParticleCode
8 {
9  typedef enum ELBNEParticleCode
10  {
11  kMuonPlus = 5,
13  kPion0 = 7,
14  kPionPlus = 8,
16  kKaon0L = 10,
17  kKaonPlus = 11,
18  kKaonMinus = 12,
19  kNeutron = 13,
20  kProton = 14,
22  kKaon0S = 16,
23  kEta = 17,
24  kLambda = 18,
25  kSigmaPlus = 19,
26  kSigma0 = 20,
28  kXi0 = 22,
29  kXiMinus = 23,
36  kAntiXi0 = 30,
42  kOther = 99
44 
45  G4String AsString(LBNEParticleCode_t pCode);
46  G4int AsInt(LBNEParticleCode_t pCode);
47  LBNEParticleCode_t IntToEnum(G4int particleInt);
48  LBNEParticleCode_t StringToEnum(G4String particleName);
49 
50 }
51 
52 #endif
LBNEParticleCode_t IntToEnum(G4int particleInt)
LBNEParticleCode_t StringToEnum(G4String particleName)
enum LBNEParticleCode::ELBNEParticleCode LBNEParticleCode_t
G4String AsString(LBNEParticleCode_t pCode)
G4int AsInt(LBNEParticleCode_t pCode)