StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtAssociationReader.h
1 #ifndef StHbtAssociationReader_hh
2 #define StHbtAssociationReader_hh
3 
4 
5 #include <ctime>
6 #include "StMaker.h"
7 #include "StHbtMaker/Infrastructure/StHbtCheckPdgIdList.h"
8 #include "StHbtMaker/Base/StHbtEventReader.hh"
9 #include "StHbtMaker/Infrastructure/StHbtHisto.hh"
10 
12 
13  private:
14  // pointers to other mkers
15  StMaker* mTheEventMaker;
16  StMaker* mTheMcEventMaker;
17  StMaker* mTheAssociationMaker;
18  // StMaker* mTheV0Maker; //! this is the chain where the StStrangeMuDstMaker is
19 
20  // some monitor histograms
21  StHbt1DHisto* mDiffCurrent;
22  StHbt1DHisto* mDiff;
23  StHbt1DHisto* mDiffMean;
24  StHbt1DHisto* mDiffRMS;
25 
26  long mV0;
27  int eventNumber;
28  time_t timeStamp;
29  bool mPerfectPID;
30 
31  protected:
32 
33  public:
34 
37 
38  StHbtEvent* ReturnHbtEvent();
39  StHbtString Report();
40 
41  // sets and gets for the other makers
42  void SetTheEventMaker(StMaker*);
43  void SetTheMcEventMaker(StMaker*); // NOTE! this is now obsolete, as we get the maker via "GetDataSet"
44  // but I leave it in just to not break any macros - malisa 28sep2005
45  // You can Set it if you want, but it just doesn't do anything
46  void SetTheAssociationMaker(StMaker*);
47  //void SetTheV0Maker(StMaker*);
48  StMaker* TheEventMaker();
49  StMaker* TheMcEventMaker();
50  StMaker* TheAssociationMaker();
51  //StMaker* TheV0Maker();
52 
53  bool PerfectPID();
54  void SetPerfectPID(bool);
55 
56  ClassDef(StHbtAssociationReader, 0)
57 };
58 
59 inline void StHbtAssociationReader::SetTheEventMaker(StMaker* maker){mTheEventMaker=maker;}
60 inline void StHbtAssociationReader::SetTheMcEventMaker(StMaker* mcMaker){mTheMcEventMaker=mcMaker;}
61 inline void StHbtAssociationReader::SetTheAssociationMaker(StMaker* associationMaker){mTheAssociationMaker=associationMaker;}
62 //inline void StHbtAssociationReader::SetTheV0Maker(StMaker* theV0Maker) { mTheV0Maker = theV0Maker; };
63 inline StMaker* StHbtAssociationReader::TheEventMaker(){return mTheEventMaker;}
64 inline StMaker* StHbtAssociationReader::TheMcEventMaker(){return mTheMcEventMaker;}
65 inline StMaker* StHbtAssociationReader::TheAssociationMaker(){return mTheAssociationMaker;}
66 //inline StMaker* StHbtAssociationReader::TheV0Maker(){return mTheV0Maker;}
67 inline bool StHbtAssociationReader::PerfectPID(){return mPerfectPID;}
68 inline void StHbtAssociationReader::SetPerfectPID(bool b) {mPerfectPID=b;}
69 
70 
71 #endif
72 
73