LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
PDGCode.hh
Go to the documentation of this file.
1 //
2 // __ __ __ __ __
3 // ____ ______/ /_____ _/ // / / /_/ /__
4 // / __ `/ ___/ __/ __ `/ // /_/ __/ //_/
5 // / /_/ / / / /_/ /_/ /__ __/ /_/ ,<
6 // \__,_/_/ \__/\__, / /_/ \__/_/|_|
7 // /____/
8 //
9 // artg4tk: art based Geant 4 Toolkit
10 //
11 //=============================================================================
12 // PDGCode.hh: A minimal version of a convenience class to allow compile
13 // time access to the PDG identifier codes.
14 // Author: Hans Wenzel (Fermilab)
15 //=============================================================================
16 #ifndef artg4tk_DataProducts_EventGenerators_PDGCode_hh
17 #define artg4tk_DataProducts_EventGenerators_PDGCode_hh
18 //
19 // A minimal version of a convenience class to allow compile time access
20 // to the PDG identifier codes.
21 //
22 
23 namespace artg4tk {
24 
25  class PDGCode {
26 
27  public:
28  enum type {
29  invalid = 0,
30  pi_plus = 211,
31  pi_minus = -211,
32  K_plus = 321,
33  K_minus = -321,
34  phi = 333,
35  proton = 2212
36 
37  };
38  };
39 
40 }
41 
42 #endif /* artg4tk_DataProducts_EventGenerators_PDGCode_hh */