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