trackCutMonitor_Nhits_vs_NhitsDedx.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef trackCutMonitor_Nhits_vs_NhitsDedx_hh
  2. #define trackCutMonitor_Nhits_vs_NhitsDedx_hh
  3. #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
  4. #include "StHbtMaker/Infrastructure/StHbtTrack.hh"
  5. #include "StHbtMaker/Base/StHbtCutMonitor.hh"
  6. class trackCutMonitor_Nhits_vs_NhitsDedx : public StHbtCutMonitor {
  7. private:
  8. StHbt2DHisto* mHisto;
  9. int mCharge;
  10. public:
  11. trackCutMonitor_Nhits_vs_NhitsDedx(); // default constructor
  12. trackCutMonitor_Nhits_vs_NhitsDedx(const trackCutMonitor_Nhits_vs_NhitsDedx&); // copy constructor
  13. trackCutMonitor_Nhits_vs_NhitsDedx(const char* TitCutMoni, const char* title);
  14. virtual ~trackCutMonitor_Nhits_vs_NhitsDedx();
  15. virtual void Fill(const StHbtTrack* track);
  16. StHbt2DHisto* 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_Nhits_vs_NhitsDedx, 1)
  28. #endif
  29. };
  30. #endif