Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TowerBackground.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TowerBackground.h
1 #ifndef JETBACKGROUND_TOWERBACKGROUND_H
2 #define JETBACKGROUND_TOWERBACKGROUND_H
3 
4 #include <phool/PHObject.h>
5 
6 #include <vector>
7 
8 class TowerBackground : public PHObject
9 {
10  public:
11  ~TowerBackground() override{};
12 
13  void identify(std::ostream &os = std::cout) const override { os << "TowerBackground base class" << std::endl; };
14  int isValid() const override { return 0; }
15 
16  virtual void set_UE(int /*layer*/, const std::vector<float> &/*UE*/) {}
17  virtual void set_v2(float) {}
18  virtual void set_Psi2(float) {}
19  virtual void set_nStripsUsedForFlow(int) {}
20  virtual void set_nTowersUsedForBkg(int) {}
21 
22  virtual std::vector<float> get_UE(int /*layer*/) { return std::vector<float>(); };
23  virtual float get_v2() { return 0; }
24  virtual float get_Psi2() { return 0; }
25  virtual int get_nStripsUsedForFlow() { return 0; }
26  virtual int get_nTowersUsedForBkg() { return 0; }
27 
28  protected:
30 
31  private:
33 };
34 
35 #endif