//----------------------------------------------------------------------------- // Oct 10 2000 P.Murat: description of the CSP TDC header and CSP TDC hit word //----------------------------------------------------------------------------- #ifndef TCspTdcWord_hh #define TCspTdcWord_hh #include "TTdcWord.hh" class TCspTdcWord : public TTdcWord { public: TCspTdcWord () {} TCspTdcWord (const TTdcWord& w) { fData = w.fData; } TCspTdcWord(Int_t& data) { fData = data;} ~TCspTdcWord() {} Int_t Counter() { return (ChannelId() ) & 0x3f; } Int_t Side () { return (ChannelId() >> 6) & 0x1 ; } // ClassDef(TCspTdcWord,0) }; #endif