trackCutMonitor_Y_vs_Pt.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef trackCutMonitor_Y_vs_Pt_hh
  2. #define trackCutMonitor_Y_vs_Pt_hh
  3. #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
  4. #include "StHbtMaker/Infrastructure/StHbtTrack.hh"
  5. #include "StHbtMaker/Base/StHbtCutMonitor.hh"
  6. class trackCutMonitor_Y_vs_Pt : public StHbtCutMonitor{
  7. private:
  8. StHbt2DHisto* mHisto;
  9. double mMass;
  10. public:
  11. trackCutMonitor_Y_vs_Pt();
  12. trackCutMonitor_Y_vs_Pt(double aMass,
  13. const char* TitCutMoni, const char* title,
  14. int nbins1 ,double min1, double max1,
  15. int nbins2 ,double min2, double max2);
  16. trackCutMonitor_Y_vs_Pt(const char* TitCutMoni, const char* title,
  17. int nbins1 ,double min1, double max1,
  18. int nbins2 ,double min2, double max2);
  19. virtual ~trackCutMonitor_Y_vs_Pt();
  20. void Fill(const StHbtTrack* track);
  21. StHbt2DHisto* Histo() {return mHisto;}
  22. // These dummy Fill() functions were introduced to remove a compiler
  23. // warning related to overloaded base-class Fill() functions being
  24. // hidden by a single version of Fill() in this derived class
  25. void Fill(const StHbtParticleCollection* d) {;}
  26. void Fill(const StHbtEvent *d1, const StHbtParticleCollection* d2) {;}
  27. void Fill(const StHbtPair* d) {;}
  28. void Fill(const StHbtKink* d) {;}
  29. void Fill(const StHbtV0* d) {;}
  30. void Fill(const StHbtEvent* d) {;}
  31. #ifdef __ROOT__
  32. ClassDef(trackCutMonitor_Y_vs_Pt, 1)
  33. #endif
  34. };
  35. #endif