StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
trackCutMonitor_Y_vs_Pt.h
1 #ifndef trackCutMonitor_Y_vs_Pt_hh
2 #define trackCutMonitor_Y_vs_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  StHbt2DHisto* mHisto;
12  double mMass;
13 
14 public:
16  trackCutMonitor_Y_vs_Pt(double aMass,
17  const char* TitCutMoni, const char* title,
18  int nbins1 ,double min1, double max1,
19  int nbins2 ,double min2, double max2);
20  trackCutMonitor_Y_vs_Pt(const char* TitCutMoni, const char* title,
21  int nbins1 ,double min1, double max1,
22  int nbins2 ,double min2, double max2);
23  virtual ~trackCutMonitor_Y_vs_Pt();
24 
25  void Fill(const StHbtTrack* track);
26  StHbt2DHisto* Histo() {return mHisto;}
27 
28  // These dummy Fill() functions were introduced to remove a compiler
29  // warning related to overloaded base-class Fill() functions being
30  // hidden by a single version of Fill() in this derived class
31  void Fill(const StHbtParticleCollection* d) {;}
32  void Fill(const StHbtEvent *d1, const StHbtParticleCollection* d2) {;}
33  void Fill(const StHbtPair* d) {;}
34  void Fill(const StHbtKink* d) {;}
35  void Fill(const StHbtV0* d) {;}
36  void Fill(const StHbtEvent* d) {;}
37 
38 #ifdef __ROOT__
39  ClassDef(trackCutMonitor_Y_vs_Pt, 1)
40 #endif
41 };
42 
43 #endif