StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
v0CutMonitor_Minv.h
1 #ifndef v0CutMonitor_Minv_hh
2 #define v0CutMonitor_Minv_hh
3 
4 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
5 #include "StHbtMaker/Infrastructure/StHbtV0.hh"
6 #include "StHbtMaker/Base/StHbtCutMonitor.hh"
7 
9 
10 private:
11  StHbt1DHisto* mHistoK0Short;
12  StHbt1DHisto* mHistoLambda;
13  StHbt1DHisto* mHistoAntiLambda;
14 
15 public:
17  v0CutMonitor_Minv(const char* Titlek0,const char* Titlela,const char* Titlelab);
18  v0CutMonitor_Minv(const char* TitCutMoni, const char* title, int nbins ,double min, double max);
19  virtual ~v0CutMonitor_Minv();
20 
21 
22  virtual StHbtString Report();
23  virtual void Fill(const StHbtV0* v0);
24 
25  // These dummy Fill() functions were introduced to remove a compiler
26  // warning related to overloaded base-class Fill() functions being
27  // hidden by a single version of Fill() in this derived class
28  void Fill(const StHbtParticleCollection* d) {;}
29  void Fill(const StHbtEvent *d1, const StHbtParticleCollection* d2) {;}
30  void Fill(const StHbtPair* d) {;}
31  void Fill(const StHbtKink* d) {;}
32  void Fill(const StHbtEvent* d) {;}
33  void Fill(const StHbtTrack* d) {;}
34 
35  virtual void Finish();
36  StHbt1DHisto* K0Short() {return mHistoK0Short;}
37  StHbt1DHisto* Lambda() {return mHistoLambda;}
38  StHbt1DHisto* AntiLambda() {return mHistoAntiLambda;}
39 
40 #ifdef __ROOT__
41  ClassDef(v0CutMonitor_Minv, 1)
42 #endif
43 };
44 
45 #endif