00001 #ifndef ROOT_TTrigEvent_H 00002 #define ROOT_TTrigEvent_H 00003 00004 #include "TObject.h" 00005 #include "TClonesArray.h" 00006 #include "TObjArray.h" 00007 00008 #include "TTrigData.h" 00009 00010 class TTrigEvent: public TObject { 00011 public: 00012 00013 TTrigEvent(); 00014 virtual ~TTrigEvent(); 00015 00016 void initialize( Bool_t fromMc=true); 00017 00018 void Clear(Option_t *option=""); 00019 00020 void Print(Option_t *option="") const; 00021 00022 00023 inline Bool_t getFromMc() { return m_fromMc; }; 00024 00025 //TrigData 00026 void addTrigData(TTrigData * trigData); 00027 const TTrigData* getTrigData() const; 00028 void clearTrigData() { m_trigData->Clear();} 00029 00030 private: 00031 00032 00034 Bool_t m_fromMc; 00035 00037 static TTrigData* s_staticTrigData; 00038 TTrigData* m_trigData; //-> 00039 00040 ClassDef(TTrigEvent,1) // Storage for trigger event and subsystem data 00041 }; 00042 00043 #endif 00044 00045 00046 00047 00048