StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mercedesEventCutMonitor.h
1 /***************************************************************************
2  *
3  * $Id: mercedesEventCutMonitor.h,v 1.2 2003/02/02 23:50:43 magestro Exp $
4  *
5  * Author: Mercedes Lopez Noriega , Ohio State, mercedes@pacific.mps.ohio-state.edu
6  *
7  ***************************************************************************
8  *
9  * Event Cut Monitor that plots just the tracks that passed
10  * mercedesStarStandardEventCut in the multiplicity plot
11  * Plots: EventMultiplicity (just # of tracks that passed the event cut),
12  * ZVertexPosition, and 2D plot: EventMultiplicity vs Tracks (# of tracks that
13  * passed the cuts vs # of tracks in the event)
14  *
15  ***************************************************************************
16  *
17  * $Log: mercedesEventCutMonitor.h,v $
18  * Revision 1.2 2003/02/02 23:50:43 magestro
19  * Added dummy Fill() functions to take care of compiler warning related to overloaded virtual functions
20  *
21  * Revision 1.1 2002/04/09 15:14:34 mercedes
22  * Event Cut Monitor for mercedesStarStandardEventCut
23  *
24  *
25  **************************************************************************/
26 
27 
28 #ifndef mercedesEventCutMonitor_hh
29 #define mercedesEventCutMonitor_hh
30 
31 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
32 #include "StHbtMaker/Infrastructure/StHbtEvent.hh"
33 #include "StHbtMaker/Base/StHbtCutMonitor.hh"
34 
36 
37 private:
38 
39  StHbt1DHisto* mEventMultHisto;
40  StHbt1DHisto* mZVertexPosHisto;
41  StHbt2DHisto* mEventMultvsTracks;
42 
43 public:
45  virtual ~mercedesEventCutMonitor();
46 
47  virtual StHbtString Report();
48  virtual void Fill(const StHbtEvent* event);
49  virtual void Finish();
50 
51 
52  // These dummy Fill() functions were introduced to remove a compiler
53  // warning related to overloaded base-class Fill() functions being
54  // hidden by a single version of Fill() in this derived class
55  void Fill(const StHbtParticleCollection* d) {;}
56  void Fill(const StHbtEvent *d1, const StHbtParticleCollection* d2) {;}
57  void Fill(const StHbtPair* d) {;}
58  void Fill(const StHbtKink* d) {;}
59  void Fill(const StHbtV0* d) {;}
60  void Fill(const StHbtTrack* d) {;}
61 
62  StHbt1DHisto* EventMultHisto() {return mEventMultHisto;}
63  StHbt1DHisto* ZVertexPosHisto() {return mZVertexPosHisto;}
64  StHbt2DHisto* EventMultvsTracks() {return mEventMultvsTracks;}
65 
66 #ifdef __ROOT__
67  ClassDef(mercedesEventCutMonitor, 1)
68 #endif
69 };
70 
71 #endif