Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:16:36

0001 #ifndef JETBACKGROUND_TOWERBACKGROUND_H
0002 #define JETBACKGROUND_TOWERBACKGROUND_H
0003 
0004 #include <phool/PHObject.h>
0005 
0006 #include <vector>
0007 
0008 class TowerBackground : public PHObject
0009 {
0010  public:
0011   ~TowerBackground() override {};
0012 
0013   void identify(std::ostream &os = std::cout) const override { os << "TowerBackground base class" << std::endl; };
0014   int isValid() const override { return 0; }
0015 
0016   virtual void set_UE(int /*layer*/, const std::vector<float> & /*UE*/) {}
0017   virtual void set_v2(float) {}
0018   virtual void set_Psi2(float) {}
0019   virtual void set_nStripsUsedForFlow(int) {}
0020   virtual void set_nTowersUsedForBkg(int) {}
0021   virtual void set_flow_failure_flag(bool) {}
0022 
0023   virtual std::vector<float> get_UE(int /*layer*/) const { return std::vector<float>(); };
0024   virtual float get_v2() const { return 0; }
0025   virtual float get_Psi2() const { return 0; }
0026   virtual int get_nStripsUsedForFlow() const { return 0; }
0027   virtual int get_nTowersUsedForBkg() const { return 0; }
0028   virtual bool get_flow_failure_flag() const { return false; }
0029 
0030  protected:
0031   TowerBackground() {}
0032 
0033  private:
0034   ClassDefOverride(TowerBackground, 1);
0035 };
0036 
0037 #endif