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