pairCutMonitor_kT.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef pairCutMonitor_kT_hh
  2. #define pairCutMonitor_kT_hh
  3. #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
  4. #include "StHbtMaker/Infrastructure/StHbtPair.hh"
  5. #include "StHbtMaker/Base/StHbtCutMonitor.hh"
  6. class pairCutMonitor_kT : public StHbtCutMonitor{
  7. private:
  8. StHbt1DHisto* mHisto;
  9. public:
  10. pairCutMonitor_kT();
  11. pairCutMonitor_kT(const char* TitCutMoni, const char* title,
  12. int nbins ,double min, double max);
  13. virtual ~pairCutMonitor_kT();
  14. virtual string Report();
  15. virtual void Fill(const StHbtPair* pair);
  16. virtual void Finish();
  17. StHbt1DHisto* Histo() {return mHisto;}
  18. // These dummy Fill() functions were introduced to remove a compiler
  19. // warning related to overloaded base-class Fill() functions being
  20. // hidden by a single version of Fill() in this derived class
  21. void Fill(const StHbtParticleCollection* d) {;}
  22. void Fill(const StHbtEvent *d1, const StHbtParticleCollection* d2) {;}
  23. void Fill(const StHbtTrack* d) {;}
  24. void Fill(const StHbtKink* d) {;}
  25. void Fill(const StHbtV0* d) {;}
  26. void Fill(const StHbtEvent* d) {;}
  27. #ifdef __ROOT__
  28. ClassDef(pairCutMonitor_kT, 1)
  29. #endif
  30. };
  31. #endif