ATLAS Offline Software
CustomPDGParser.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CustomPDGParser_h
6 #define CustomPDGParser_h
7 
8 #include <vector>
9 
10 
12 {
13 public:
14  static bool s_isRHadron(int pdg);
15  static bool s_isSLepton(int pdg);
16  static bool s_isRBaryon(int pdg);
17  static bool s_isRMeson(int pdg);
18  static bool s_isMesonino(int pdg);
19  static bool s_isSbaryon(int pdg);
20  static bool s_isRGlueball(int pdg);
21  static double s_charge(int pdg);
22  static double s_spin(int pdg);
23  static std::vector<int> s_containedQuarks(int pdg);
24  static int s_containedQuarksCode(int pdg);
25 private:
26  // Only used by s_charge function
27  static bool s_isstopHadron(int pdg);
28  static bool s_issbottomHadron(int pdg) ;
29 
30 };
31 
32 #endif
CustomPDGParser::s_containedQuarksCode
static int s_containedQuarksCode(int pdg)
Definition: CustomPDGParser.cxx:148
CustomPDGParser::s_spin
static double s_spin(int pdg)
Definition: CustomPDGParser.cxx:133
CustomPDGParser::s_isRMeson
static bool s_isRMeson(int pdg)
Definition: CustomPDGParser.cxx:52
CustomPDGParser::s_issbottomHadron
static bool s_issbottomHadron(int pdg)
Definition: CustomPDGParser.cxx:25
CustomPDGParser::s_isstopHadron
static bool s_isstopHadron(int pdg)
Definition: CustomPDGParser.cxx:19
CustomPDGParser::s_charge
static double s_charge(int pdg)
Definition: CustomPDGParser.cxx:74
CustomPDGParser::s_isRBaryon
static bool s_isRBaryon(int pdg)
Definition: CustomPDGParser.cxx:38
CustomPDGParser::s_isRHadron
static bool s_isRHadron(int pdg)
Definition: CustomPDGParser.cxx:13
CustomPDGParser::s_isRGlueball
static bool s_isRGlueball(int pdg)
Definition: CustomPDGParser.cxx:45
CustomPDGParser::s_isMesonino
static bool s_isMesonino(int pdg)
Definition: CustomPDGParser.cxx:59
CustomPDGParser::s_isSbaryon
static bool s_isSbaryon(int pdg)
Definition: CustomPDGParser.cxx:66
CustomPDGParser::s_isSLepton
static bool s_isSLepton(int pdg)
Definition: CustomPDGParser.cxx:32
CustomPDGParser::s_containedQuarks
static std::vector< int > s_containedQuarks(int pdg)
Definition: CustomPDGParser.cxx:139
CustomPDGParser
Definition: CustomPDGParser.h:12