Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RetowerCEMC.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file RetowerCEMC.h
1 #ifndef JETBACKGROUND_RETOWERCEMC_H
2 #define JETBACKGROUND_RETOWERCEMC_H
3 
4 //===========================================================
8 //===========================================================
9 
10 #include <fun4all/SubsysReco.h>
11 
12 // system includes
13 #include <string>
14 #include <vector>
15 
16 // forward declarations
17 class PHCompositeNode;
18 
26 class RetowerCEMC : public SubsysReco
27 {
28  public:
29  RetowerCEMC(const std::string &name = "RetowerCEMC");
30  ~RetowerCEMC() override {}
31 
32  int InitRun(PHCompositeNode *topNode) override;
33  int process_event(PHCompositeNode *topNode) override;
35  void set_towerinfo(bool use_towerinfo)
36  {
37  m_use_towerinfo = use_towerinfo;
38  }
39  private:
40  int CreateNode(PHCompositeNode *topNode);
42  int _NETA;
43  int _NPHI;
44  bool m_use_towerinfo = false;
45  std::vector<std::vector<float> > _EMCAL_RETOWER_E;
46  std::vector<std::vector<int> > _EMCAL_RETOWER_T;
47 };
48 
49 #endif