/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/RootEventData/RootEventData-00-03-80/RootEventData/TEvtHeader.h

Go to the documentation of this file.
00001 #ifndef ROOT_TEvtHeader_H
00002 #define ROOT_TEvtHeader_H 1
00003 
00004 #include "TObject.h"
00005 #include "TObjArray.h"
00006 
00007 
00008 class TEvtHeader : public TObject {
00009     
00010 public:
00011 
00012     TEvtHeader();
00013     virtual ~TEvtHeader();
00014 
00015     void initialize( Int_t Id, Int_t runId, UInt_t evenTag);
00016 
00017     void Clear(Option_t *option="");
00018  
00019     void Print(Option_t *option="") const;
00020 
00021 
00023     inline Int_t getEventId() { return m_eventId; };
00024 
00026     inline Int_t getRunId() { return m_runId; };
00027 
00028     inline UInt_t time() const { return m_time; }
00029 
00030     inline void setTime(int value) { m_time = value; }
00031 
00032     inline UInt_t getEventTag() { return m_eventTag;}
00033 
00034     inline void setFlag1(int value) { m_flag1 = value; }
00035     inline void setFlag2(int value) { m_flag2 = value; }
00036 
00037     inline UInt_t getFlag1() { return m_flag1; }
00038     inline UInt_t getFlag2() { return m_flag2; }
00039 
00040 private:
00041 
00043     Int_t m_eventId;  
00044     
00046     Int_t m_runId;
00047   
00048     UInt_t m_time;
00049     
00050     //eventTag
00051     UInt_t m_eventTag;
00052 
00053     // flags
00054     UInt_t m_flag1;
00055     UInt_t m_flag2;
00056     
00057     ClassDef(TEvtHeader,7)
00058 
00059 };
00060 
00061 #endif 

Generated on Tue Nov 29 23:11:40 2016 for BOSS_7.0.2 by  doxygen 1.4.7