Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SubtractTowersCS.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SubtractTowersCS.h
1 #ifndef JETBACKGROUND_SUBTRACTTOWERSCS_H
2 #define JETBACKGROUND_SUBTRACTTOWERSCS_H
3 
4 //===========================================================
8 //===========================================================
9 
10 #include <fun4all/SubsysReco.h>
11 
12 #include <string>
13 
14 // forward declarations
15 class PHCompositeNode;
16 
26 {
27  public:
28  SubtractTowersCS(const std::string &name = "SubtractTowersCS");
29  ~SubtractTowersCS() 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 SetAlpha(float alpha) { _alpha = alpha; }
36  void SetDeltaRmax(float DeltaRmax) { _DeltaRmax = DeltaRmax; }
37 
38  private:
39  int CreateNode(PHCompositeNode *topNode);
40 
42 
43  float _alpha;
44  float _DeltaRmax;
45 };
46 
47 #endif