StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
eventCutMonitor_Mult.h
1 #ifndef eventCutMonitor_Mult_hh
2 #define eventCutMonitor_Mult_hh
3 
4 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
5 #include "StHbtMaker/Infrastructure/StHbtEvent.hh"
6 #include "StHbtMaker/Base/StHbtCutMonitor.hh"
7 
9 
10 private:
11  StHbt1DHisto* mHisto;
12 
13 public:
15  eventCutMonitor_Mult(const char* TitCutMoni, const char* title, int nbins ,double min, double max);
16  virtual ~eventCutMonitor_Mult();
17 
18 
19  virtual StHbtString Report();
20  void Fill(const StHbtEvent* event);
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 StHbtTrack* d) {;}
33 
34 #ifdef __ROOT__
35  ClassDef(eventCutMonitor_Mult, 1)
36 #endif
37 };
38 
39 #endif