#ifndef Event_H #define Event_H #include "TObject.h" #include "L1T.h" #include "AcdDigi.h" #include "CalDigi.h" #include "TkrDigi.h" class Event: public TObject { private: UInt_t m_run; // Run number UInt_t m_eventId; // Event number static CalDigi *m_staticCal; static AcdDigi *m_staticAcd; static TkrDigi *m_staticTkr; static L1T *m_staticL1T; CalDigi* m_CAL; // List of Calorimeter logs AcdDigi* m_ACD; // List of ACD tiles TkrDigi* m_TKR; // List of Tracker layers L1T *m_L1Trigger; // Level 1 trigger object public: Event(); virtual ~Event(); void Clear(Option_t *option=""); inline void setEventId(UInt_t id) { m_eventId = id; }; inline void setRun(UInt_t run) { m_run = run; }; inline void setL1Trigger(L1T *L1TVal) { m_L1Trigger = L1TVal; }; inline Int_t getEvent() { return m_eventId; }; inline Int_t getRun() { return m_run; }; void setCAL(CalDigi *cal) { m_CAL = cal; }; CalDigi* getCAL() { return m_CAL; }; void setACD(AcdDigi *acd) { m_ACD = acd; }; AcdDigi* getACD() { return m_ACD; }; void setTKR(TkrDigi *tkr){ m_TKR = tkr; }; TkrDigi* getTKR() { return m_TKR; }; inline L1T *getL1T() const { return m_L1Trigger; }; ClassDef(Event,3) // Storage for per-event and subsystem data }; #endif