Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CentralityValid.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CentralityValid.h
1 #ifndef CENTRALITY_VALIDATION_H
2 #define CENTRALITY_VALIDATION_H
3 
4 #include <fun4all/SubsysReco.h>
5 
6 #include <limits>
7 
8 // Forward declarations
9 class CentralityInfo;
10 class MinimumBiasInfo;
12 class PHCompositeNode;
13 class TH1;
14 class TEfficiency;
15 
17 {
18  public:
20  explicit CentralityValid(const std::string &name = "CentralityValid", const std::string &hist_name = "QA_CentralityReco.root");
21 
23  virtual ~CentralityValid();
24 
26  int Init(PHCompositeNode *);
27  int InitRun(PHCompositeNode *);
28 
30 
32  int End(PHCompositeNode *);
33 
34  protected:
35 
36  Fun4AllHistoManager *hm = nullptr;
37 
40 
42 
43  TH1 *_h_centrality_bin = nullptr;
44 
45  TH1 *_h_centrality_bin_mb = nullptr;
46 
47  TEfficiency *_he_min_bias = nullptr;
48 
49 };
50 
51 #endif