v0CutMonitor_Minv.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #ifndef v0CutMonitor_Minv_hh
  2. #define v0CutMonitor_Minv_hh
  3. #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
  4. #include "StHbtMaker/Infrastructure/StHbtV0.hh"
  5. #include "StHbtMaker/Base/StHbtCutMonitor.hh"
  6. class v0CutMonitor_Minv : public StHbtCutMonitor{
  7. private:
  8. StHbt1DHisto* mHistoK0Short;
  9. StHbt1DHisto* mHistoLambda;
  10. StHbt1DHisto* mHistoAntiLambda;
  11. public:
  12. v0CutMonitor_Minv();
  13. v0CutMonitor_Minv(const char* Titlek0,const char* Titlela,const char* Titlelab);
  14. v0CutMonitor_Minv(const char* TitCutMoni, const char* title, int nbins ,double min, double max);
  15. virtual ~v0CutMonitor_Minv();
  16. virtual StHbtString Report();
  17. virtual void Fill(const StHbtV0* v0);
  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 StHbtEvent* d) {;}
  26. void Fill(const StHbtTrack* d) {;}
  27. virtual void Finish();
  28. StHbt1DHisto* K0Short() {return mHistoK0Short;}
  29. StHbt1DHisto* Lambda() {return mHistoLambda;}
  30. StHbt1DHisto* AntiLambda() {return mHistoAntiLambda;}
  31. #ifdef __ROOT__
  32. ClassDef(v0CutMonitor_Minv, 1)
  33. #endif
  34. };
  35. #endif