StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
trackCutMonitor_DCA.h
1 #ifndef trackCutMonitor_DCA_hh
2 #define trackCutMonitor_DCA_hh
3 
4 //#include<string>
5 //#include <typeinfo>
6 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
7 #include "StHbtMaker/Infrastructure/StHbtTrack.hh"
8 #include "StHbtMaker/Base/StHbtCutMonitor.hh"
9 
11 
12 private:
13  StHbt1DHisto* mHisto;
14 
15 public:
17  trackCutMonitor_DCA(const char* TitCutMoni, const char* title,
18  int nbins ,double min, double max);
19  virtual ~trackCutMonitor_DCA();
20 
21  virtual void Fill(const StHbtTrack* track);
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_DCA, 1)
36 #endif
37 };
38 
39 #endif