StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
trackCutMonitor_Pt.h
1 #ifndef trackCutMonitor_Pt_hh
2 #define trackCutMonitor_Pt_hh
3 
4 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
5 #include "StHbtMaker/Infrastructure/StHbtTrack.hh"
6 #include "StHbtMaker/Base/StHbtCutMonitor.hh"
7 
9 
10 private:
11  StHbt1DHisto* mHisto;
12 
13 public:
15  trackCutMonitor_Pt(const char* TitCutMoni, const char* title, int nbins ,double min, double max);
16  virtual ~trackCutMonitor_Pt();
17 
18  virtual void Fill(const StHbtTrack* track);
19  virtual StHbt1DHisto* Histo() {return mHisto;}
20 
21  // These dummy Fill() functions were introduced to remove a compiler
22  // warning related to overloaded base-class Fill() functions being
23  // hidden by a single version of Fill() in this derived class
24  void Fill(const StHbtParticleCollection* d) {;}
25  void Fill(const StHbtEvent *d1, const StHbtParticleCollection* d2) {;}
26  void Fill(const StHbtPair* d) {;}
27  void Fill(const StHbtKink* d) {;}
28  void Fill(const StHbtV0* d) {;}
29  void Fill(const StHbtEvent* d) {;}
30 
31 #ifdef __ROOT__
32  ClassDef(trackCutMonitor_Pt, 1)
33 #endif
34 };
35 
36 #endif