eventCutMonitor_VpdVz.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef eventCutMonitor_VpdVz_hh
  2. #define eventCutMonitor_VpdVz_hh
  3. #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
  4. #include "StHbtMaker/Infrastructure/StHbtEvent.hh"
  5. #include "StHbtMaker/Base/StHbtCutMonitor.hh"
  6. class eventCutMonitor_VpdVz : public StHbtCutMonitor{
  7. private:
  8. StHbt1DHisto* mHisto;
  9. public:
  10. eventCutMonitor_VpdVz();
  11. eventCutMonitor_VpdVz(const char* TitCutMoni, const char* title,
  12. int nbins ,double min, double max);
  13. virtual ~eventCutMonitor_VpdVz();
  14. virtual StHbtString Report();
  15. void Fill(const StHbtEvent* event);
  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 StHbtPair* d) {;}
  24. void Fill(const StHbtKink* d) {;}
  25. void Fill(const StHbtV0* d) {;}
  26. void Fill(const StHbtTrack* d) {;}
  27. #ifdef __ROOT__
  28. ClassDef(eventCutMonitor_VpdVz, 1)
  29. #endif
  30. };
  31. #endif