00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 #ifndef StEventInfo_hh
00038 #define StEventInfo_hh
00039
00040 #include "StObject.h"
00041 #include "TString.h"
00042 class event_header_st;
00043
00044 class StEventInfo : public StObject {
00045 public:
00046 StEventInfo();
00047 virtual ~StEventInfo();
00048
00049 const TString& type() const;
00050 int id() const;
00051 int runId() const;
00052 int time() const;
00053 unsigned int triggerMask() const;
00054 unsigned int bunchCrossingNumber(unsigned int) const;
00055 unsigned int eventSize() const;
00056
00057 void setType(const char*);
00058 void setRunId(int);
00059 void setId(int);
00060 void setTime(int);
00061 void setTriggerMask(unsigned int);
00062 void setBunchCrossingNumber(unsigned int, unsigned int);
00063 void setEventSize(unsigned int);
00064
00065 protected:
00066 TString mType;
00067 Int_t mRunId;
00068 Int_t mId;
00069 Int_t mTime;
00070 UInt_t mTriggerMask;
00071 UInt_t mBunchCrossingNumber[2];
00072 UInt_t mEventSize;
00073
00074 ClassDef(StEventInfo,2)
00075 };
00076 #endif