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 //o void initialize( Bool_t fromMc=true); 00019 void initialize(){}; 00020 00021 void Clear(Option_t *option=""); 00022 00023 void Print(Option_t *option="") const; 00024 00025 00026 //o inline Bool_t getFromMc() { return m_fromMc; }; 00027 00028 //HltData 00029 void addHltRaw(THltRaw * hltRaw); 00030 const THltRaw* getHltRaw(int i) const; 00031 const TObjArray* getHltRawCol() const; 00032 void clearHltRawCol() { m_hltRawCol->Clear();} 00033 00034 void addHltInf(THltInf * hltInf); 00035 const THltInf* getHltInf() const; 00036 void clearHltInf() { m_hltInf->Clear();} 00037 00038 void addDstHltInf(TDstHltInf * dstHltInf); 00039 const TDstHltInf* getDstHltInf() const; 00040 void clearDstHltInf() { m_dstHltInf->Clear();} 00041 00042 private: 00043 00044 00046 //o Bool_t m_fromMc; 00047 00049 static TObjArray* s_staticHltRawCol; 00050 TObjArray* m_hltRawCol; //-> 00051 00052 static THltInf* s_staticHltInf; 00053 THltInf* m_hltInf; //-> 00054 00055 static TDstHltInf* s_staticDstHltInf; 00056 TDstHltInf* m_dstHltInf; //-> 00057 00058 ClassDef(THltEvent,3) // Storage for event filter and subsystem data 00059 }; 00060 00061 #endif 00062 00063 00064 00065 00066