//----------------------------------------------------------------------------- // Oct 18 2003 RLC: description of the HAD TDC header //----------------------------------------------------------------------------- #ifndef THatTdcHeader_hh #define THatTdcHeader_hh #include "TTdcHeader.hh" class THatTdcHeader : public TTdcHeader { public: THatTdcHeader () {} THatTdcHeader (const TTdcHeader& w) { fData = w.fData; } THatTdcHeader(Int_t& data) { fData = data;} ~THatTdcHeader() {} // cdf-4152 says: (T,N,B,S) // 0=tower ring<=15, counting from 0 at eta=0 Int_t RapidityBit() { return (ModuleId() >> 5) & 0x1; } // Lowest wedge in this TDC Int_t LowWedge() { return (ModuleId() ) & 0x1F; } // ClassDef(THatTdcHeader,0) }; #endif