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 //o void initialize( Bool_t fromMc=true); 00017 void initialize(){}; 00018 00019 void Clear(Option_t *option=""); 00020 00021 void Print(Option_t *option="") const; 00022 00023 00024 //o inline Bool_t getFromMc() { return m_fromMc; }; 00025 00026 //TrigData 00027 void addTrigData(TTrigData * trigData); 00028 const TTrigData* getTrigData() const; 00029 void clearTrigData() { m_trigData->Clear();} 00030 00031 private: 00032 00033 00035 //o Bool_t m_fromMc; 00036 00038 static TTrigData* s_staticTrigData; 00039 TTrigData* m_trigData; //-> 00040 00041 ClassDef(TTrigEvent,1) // Storage for trigger event and subsystem data 00042 }; 00043 00044 #endif 00045 00046 00047 00048 00049