fxtEventCutMonitor.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #ifndef fxtEventCutMonitor_hh
  2. #define fxtEventCutMonitor_hh
  3. #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
  4. #include "StHbtMaker/Infrastructure/StHbtEvent.hh"
  5. #include "StHbtMaker/Base/StHbtCutMonitor.hh"
  6. #include "TProfile.h"
  7. class fxtEventCutMonitor : public StHbtCutMonitor{
  8. private:
  9. StHbt2FHisto* mVertexYvsVertexX;
  10. StHbt1FHisto* mVertexZ;
  11. StHbt1FHisto* mRefMult;
  12. StHbt1FHisto* mVpdVzDiff;
  13. public:
  14. fxtEventCutMonitor();
  15. fxtEventCutMonitor(const char* TitCutMoni, const char* title);
  16. virtual ~fxtEventCutMonitor();
  17. virtual StHbtString Report();
  18. virtual void Fill(const StHbtEvent* event);
  19. virtual void Finish();
  20. // These dummy Fill() functions were introduced to remove a compiler
  21. // warning related to overloaded base-class Fill() functions being
  22. // hidden by a single version of Fill() in this derived class
  23. void Fill(const StHbtParticleCollection* d) {;}
  24. void Fill(const StHbtEvent *d1, const StHbtParticleCollection* d2) {;}
  25. void Fill(const StHbtPair* d) {;}
  26. void Fill(const StHbtKink* d) {;}
  27. void Fill(const StHbtV0* d) {;}
  28. void Fill(const StHbtTrack* d) {;}
  29. StHbt2FHisto* VertexYvsVertexX() {return mVertexYvsVertexX;}
  30. StHbt1FHisto* VertexZ() {return mVertexZ;}
  31. StHbt1FHisto* RefMult() {return mRefMult;}
  32. StHbt1FHisto* VpdVzDiff() {return mVpdVzDiff;}
  33. #ifdef __ROOT__
  34. ClassDef(fxtEventCutMonitor, 1)
  35. #endif
  36. };
  37. #endif