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