00001 #ifndef ROOT_THltEvent_H 00002 #define ROOT_THltEvent_H 00003 00004 #include "TObject.h" 00005 #include "TClonesArray.h" 00006 #include "TObjArray.h" 00007 00008 #include "THltRaw.h" 00009 #include "THltInf.h" 00010 #include "TDstHltInf.h" 00011 00012 class THltEvent: public TObject { 00013 public: 00014 00015 THltEvent(); 00016 virtual ~THltEvent(); 00017 00018 void initialize( Bool_t fromMc=true); 00019 00020 void Clear(Option_t *option=""); 00021 00022 void Print(Option_t *option="") const; 00023 00024 00025 inline Bool_t getFromMc() { return m_fromMc; }; 00026 00027 //HltData 00028 void addHltRaw(THltRaw * hltRaw); 00029 const THltRaw* getHltRaw(int i) const; 00030 const TObjArray* getHltRawCol() const; 00031 void clearHltRawCol() { m_hltRawCol->Clear();} 00032 00033 void addHltInf(THltInf * hltInf); 00034 const THltInf* getHltInf() const; 00035 void clearHltInf() { m_hltInf->Clear();} 00036 00037 void addDstHltInf(TDstHltInf * dstHltInf); 00038 const TDstHltInf* getDstHltInf() const; 00039 void clearDstHltInf() { m_dstHltInf->Clear();} 00040 00041 private: 00042 00043 00045 Bool_t m_fromMc; 00046 00048 static TObjArray* s_staticHltRawCol; 00049 TObjArray* m_hltRawCol; //-> 00050 00051 static THltInf* s_staticHltInf; 00052 THltInf* m_hltInf; //-> 00053 00054 static TDstHltInf* s_staticDstHltInf; 00055 TDstHltInf* m_dstHltInf; //-> 00056 00057 ClassDef(THltEvent,3) // Storage for event filter and subsystem data 00058 }; 00059 00060 #endif 00061 00062 00063 00064 00065