Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawClusterZVertexRecorrect.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file RawClusterZVertexRecorrect.h
1 #ifndef CALORECO_RAWCLUSTERZVTXRECORRECT_H
2 #define CALORECO_RAWCLUSTERZVTXRECORRECT_H
3 
4 #include "CaloRecoUtility.h"
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <string>
9 #include <vector>
10 
11 class PHCompositeNode;
12 //class RawClusterContainer;
13 
15 {
16  public:
18 
19  int InitRun(PHCompositeNode *topNode) override;
20  int process_event(PHCompositeNode *topNode) override;
21  int End(PHCompositeNode *topNode) override;
22 
23  // void CreateNodeTree(PHCompositeNode *topNode);
24 
25 
26  void set_UseTowerInfo(const int useMode)
27  { // 0 only old tower, 1 only new (TowerInfo based),
28  m_UseTowerInfo = useMode;
29  }
30 
31 
32  void set_UseBbcZVtx(const bool useBbc)
33  {
34  // this should (could?) be replaced by flags to GlobalVertexMap
35  m_UseBbcZVtx = useBbc;
36  }
37 
38 
39  private:
40 
41  // RawClusterContainer *_recalib_clusters{};
42 
44 
46  int m_UseTowerInfo = 0; // 0 only old tower, 1 only new (TowerInfo based),
47  bool m_UseBbcZVtx = false;
48 
49 };
50 
51 #endif