EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CentralityInfo.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CentralityInfo.h
1 #ifndef CENTRALITY_IO_CENTRALITYINFO_H
2 #define CENTRALITY_IO_CENTRALITYINFO_H
3 
4 //===========================================================
8 //===========================================================
9 
10 #include <phool/PHObject.h>
11 
12 class CentralityInfo : public PHObject
13 {
14  public:
15  ~CentralityInfo() override{};
16 
17  void identify(std::ostream &os = std::cout) const override { os << "CentralityInfo base class" << std::endl; };
18  int isValid() const override { return 0; }
19 
20  enum PROP
21  {
22 
24  mbd_N = 0,
26  mbd_S = 1,
28  mbd_NS = 2,
29 
31  epd_N = 3,
33  epd_S = 4,
35  epd_NS = 5,
36 
38  bimp = 6
39 
40  };
41 
42  virtual bool has_quantity(const PROP /*prop_id*/) const { return false; }
43  virtual float get_quantity(const PROP /*prop_id*/) const { return -99; }
44  virtual void set_quantity(const PROP /*prop_id*/, const float /*value*/) { return; }
45 
46  virtual bool has_centile(const PROP /*prop_id*/) const { return false; }
47  virtual float get_centile(const PROP /*prop_id*/) const { return -99; }
48  virtual void set_centile(const PROP /*prop_id*/, const float /*value*/) { return; }
49 
50  protected:
52 
53  private:
55 };
56 
57 #endif