StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtCutMonitorHandler.h
1 #ifndef StHbtCutMonitorHandler_hh
2 #define StHbtCutMonitorHandler_hh
3 
4 
5 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
6 #include "StHbtMaker/Infrastructure/StHbtEvent.hh"
7 #include "StHbtMaker/Infrastructure/StHbtTrack.hh"
8 #include "StHbtMaker/Infrastructure/StHbtV0.hh"
9 #include "StHbtMaker/Infrastructure/StHbtKink.hh"
10 #include "StHbtMaker/Infrastructure/StHbtPair.hh" //Gael 12/04/02
11 #include "StHbtMaker/Infrastructure/StHbtParticleCollection.hh" // Gael 19/06/02
12 #include "StHbtMaker/Infrastructure/StHbtCutMonitorCollection.hh"
13 #include "StHbtMaker/Base/StHbtCutMonitor.hh"
14 
16 
17  public:
18 
20  virtual ~StHbtCutMonitorHandler();
21 
22  StHbtCutMonitorCollection* PassMonitorColl();
23  StHbtCutMonitorCollection* FailMonitorColl();
24  StHbtCutMonitor* PassMonitor(int n);
25  StHbtCutMonitor* FailMonitor(int n);
26  void AddCutMonitor(StHbtCutMonitor* cutMoni1, StHbtCutMonitor* cutMoni2);
27  void AddCutMonitor(StHbtCutMonitor* cutMoni);
28  void AddCutMonitorPass(StHbtCutMonitor* cutMoni);
29  void AddCutMonitorFail(StHbtCutMonitor* cutMoni);
30  void FillCutMonitor(const StHbtEvent* event, bool pass);
31  void FillCutMonitor(const StHbtTrack* track, bool pass);
32  void FillCutMonitor(const StHbtV0* v0, bool pass);
33  void FillCutMonitor(const StHbtKink* kink, bool pass);
34  void FillCutMonitor(const StHbtPair* pair, bool pass);//Gael 11/04/02
35  void FillCutMonitor(const StHbtParticleCollection* partColl);// Gael 19/06/02
36  void FillCutMonitor(const StHbtEvent* event, const StHbtParticleCollection* partColl);// Gael 19/06/02
37  void Finish();
38 
39  private:
40  bool mCollectionsEmpty;
41  StHbtCutMonitorCollection* mPassColl;
42  StHbtCutMonitorCollection* mFailColl;
43 #ifdef __ROOT__
44  ClassDef(StHbtCutMonitorHandler, 0)
45 #endif
46 
47 };
48 
49 inline StHbtCutMonitorCollection* StHbtCutMonitorHandler::PassMonitorColl() { return mPassColl;}
50 inline StHbtCutMonitorCollection* StHbtCutMonitorHandler::FailMonitorColl() { return mFailColl;}
51 
52 #endif