StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
trackCutMonitor_P.h
1 #ifndef trackCutMonitor_P_hh
2 #define trackCutMonitor_P_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_P(const char* TitCutMoni, const char* title, int nbins ,double min, double max);
16  virtual ~trackCutMonitor_P();
17 
18 
19  virtual StHbtString Report();
20  virtual void Fill(const StHbtTrack* track);
21  virtual void Finish();
22  StHbt1DHisto* Histo() {return mHisto;}
23 
24  // These dummy Fill() functions were introduced to remove a compiler
25  // warning related to overloaded base-class Fill() functions being
26  // hidden by a single version of Fill() in this derived class
27  void Fill(const StHbtParticleCollection* d) {;}
28  void Fill(const StHbtEvent *d1, const StHbtParticleCollection* d2) {;}
29  void Fill(const StHbtPair* d) {;}
30  void Fill(const StHbtKink* d) {;}
31  void Fill(const StHbtV0* d) {;}
32  void Fill(const StHbtEvent* d) {;}
33 
34 #ifdef __ROOT__
35  ClassDef(trackCutMonitor_P, 1)
36 #endif
37 };
38 
39 #endif