trackCutMonitor_P.h 1.1 KB

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