ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawClusterBuilderGraph.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file RawClusterBuilderGraph.h
1 #ifndef CALORECO_RAWCLUSTERBUILDER_H
2 #define CALORECO_RAWCLUSTERBUILDER_H
3 
4 #include <fun4all/SubsysReco.h>
5 
6 #include <string>
7 
8 class PHCompositeNode;
10 
12 {
13  public:
14  RawClusterBuilderGraph(const std::string &name = "RawClusterBuilderGraph");
16 
17  int InitRun(PHCompositeNode *topNode) override;
18  int process_event(PHCompositeNode *topNode) override;
19  int End(PHCompositeNode *topNode) override;
20  void Detector(const std::string &d) { detector = d; }
21 
22  void set_threshold_energy(const float e) { _min_tower_e = e; }
23  void checkenergy(const int i = 1) { chkenergyconservation = i; }
24 
25  private:
26  void CreateNodes(PHCompositeNode *topNode);
27 
29 
30  float _min_tower_e;
32 
33  std::string detector;
34  std::string ClusterNodeName;
35 };
36 
37 #endif