StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMuMtdHeader.h
1 #ifndef __StMuMtdHeader_hh__
2 #define __StMuMtdHeader_hh__
3 
4 #include "TObject.h"
5 
6 using namespace std;
7 
8 class StMtdHeader;
9 
10 class StMuMtdHeader : public TObject {
11 
12  public:
13 
14  StMuMtdHeader();
15  StMuMtdHeader(const StMtdHeader* header);
16  ~StMuMtdHeader() {; }
17 
18  short fiberHeader(int fiberId) const;
19  unsigned int fiberTriggerWord(int fiberId) const;
20  unsigned int triggerTime(int fiberId) const;
21  int shouldHaveRejectEvent() const;
22  unsigned int tpcSectorMask() const;
23 
24  protected:
25  short mFiberHeader1;
26  short mFiberHeader2;
27  unsigned int mFiberTriggerWord1;
28  unsigned int mFiberTriggerWord2;
29  unsigned int mTriggerTime1;
30  unsigned int mTriggerTime2;
31  int mShouldHaveRejectEvent; // indication of event status in filtering
32  // 0 - events not triggered di-muon
33  // 1 - events should have been rejected
34  // if only triggered by di-muon
35  // 2 - events pass filtering cuts
36  unsigned int mTpcSectorMask; // Mask of TPC sectors for tracking in the first iteration
37 
38  ClassDef(StMuMtdHeader,2)
39 
40 };
41 
42 #endif