//----------------------------------------------------------------------------- // Oct 10 2000 P.Murat: description of the CMP TDC header and CMP TDC hit word //----------------------------------------------------------------------------- #ifndef TCmpTdcWord_hh #define TCmpTdcWord_hh #include "TTdcWord.hh" class TCmpTdcWord : public TTdcWord { public: TCmpTdcWord () {} TCmpTdcWord (const TTdcWord& w) { fData = w.fData; } TCmpTdcWord(Int_t& data) { fData = data;} ~TCmpTdcWord() {} Int_t Layer() { return (ChannelId() ) & 0x3; } Int_t Stack() { return (ChannelId() >> 2) & 0x1f; } // ClassDef(TCmpTdcWord,0) }; #endif