Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UEvsEtaCentrality.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file UEvsEtaCentrality.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef UEVSETACENTRALITY_H
4 #define UEVSETACENTRALITY_H
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <string>
9 
10 class PHCompositeNode;
11 class TH1F;
12 class TH2F;
13 
15 {
16  public:
17 
18  UEvsEtaCentrality(const std::string &name = "UEvsEtaCentrality", const std::string &outputfilename = "UEvsEtaCentrality.root");
19 
20  ~UEvsEtaCentrality() override;
21 
27  int Init(PHCompositeNode *topNode) override;
28 
34  int InitRun(PHCompositeNode *topNode) override;
35 
39  int process_event(PHCompositeNode *topNode) override;
40 
42  int ResetEvent(PHCompositeNode *topNode) override;
43 
45  int EndRun(const int runnumber) override;
46 
48  int End(PHCompositeNode *topNode) override;
49 
51  int Reset(PHCompositeNode * /*topNode*/) override;
52 
53  void Print(const std::string &what = "ALL") const override;
54 
55  private:
56 
58 
59  TH2F *hv2_cent = nullptr;
60  TH2F *hPsi2_cent = nullptr;
61 
62  TH2F *hUEiHcalEta_Cent0_20 = nullptr;
63  TH2F *hUEoHcalEta_Cent0_20 = nullptr;
64  TH2F *hUEemcalEta_Cent0_20 = nullptr;
65 
66  TH2F *hUEiHcalEta_Cent20_50 = nullptr;
67  TH2F *hUEoHcalEta_Cent20_50 = nullptr;
68  TH2F *hUEemcalEta_Cent20_50 = nullptr;
69 
70  TH2F *hUEiHcalEta_Cent50_100 = nullptr;
71  TH2F *hUEoHcalEta_Cent50_100 = nullptr;
72  TH2F *hUEemcalEta_Cent50_100 = nullptr;
73 };
74 
75 #endif // UEVSETACENTRALITY_H