00001 #ifndef LumiDigi_H 00002 #define LumiDigi_H 00003 00004 #include "GaudiKernel/ObjectVector.h" 00005 #include "RawEvent/RawData.h" 00006 #include "TofRawEvent/TofDigi.h" 00007 00008 extern const CLID& CLID_LumiDigi; 00009 00010 class LumiDigi : public RawData { 00011 00012 public: 00013 // Constructor 00014 LumiDigi(const Identifier& id, const unsigned int timeChannel, const unsigned int chargeChannel); 00015 LumiDigi(const unsigned int id); 00016 LumiDigi(TofDigi* tofDigi); 00017 00018 // Set Overflow Flag 00019 void setOverflow(const unsigned int overflow) { m_overflow = overflow; } 00020 00021 // Get Overflow Flag 00022 unsigned int getOverflow() { 00023 return m_overflow; 00024 } 00025 00026 // Retrieve reference to class definition structure 00027 virtual const CLID& clID() const { return LumiDigi::classID(); } 00028 static const CLID& classID() { return CLID_LumiDigi; } 00029 00030 00031 private: 00032 unsigned int m_overflow; 00033 00034 }; 00035 00036 typedef ObjectVector<LumiDigi> LumiDigiCol; 00037 00038 #endif