forked from sPHENIX-Collaboration/coresoftware
/
RetowerCEMC.h
43 lines (34 loc) · 1.02 KB
/
RetowerCEMC.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef JETBACKGROUND_RETOWERCEMC_H
#define JETBACKGROUND_RETOWERCEMC_H
//===========================================================
/// \file RetowerCEMC.h
/// \brief creates 0.1x0.1 towerized CEMC container
/// \author Dennis V. Perepelitsa
//===========================================================
#include <fun4all/SubsysReco.h>
// system includes
#include <string>
#include <vector>
// forward declarations
class PHCompositeNode;
/// \class RetowerCEMC
///
/// \brief creates 0.1x0.1-towerized CEMC container
///
/// Using the existing CEMC tower collection, creates a new
/// 0.1x0.1-towerized version appropriate for HI jet reconstruction
///
class RetowerCEMC : public SubsysReco
{
public:
RetowerCEMC(const std::string &name = "RetowerCEMC");
~RetowerCEMC() override {}
int InitRun(PHCompositeNode *topNode) override;
int process_event(PHCompositeNode *topNode) override;
private:
int CreateNode(PHCompositeNode *topNode);
int _NETA;
int _NPHI;
std::vector<std::vector<float> > _EMCAL_RETOWER_E;
};
#endif