10 bool value(
int distrip) {
return (
data_ >> distrip) & 0x1;}
26 CSCCLCTData(
int ncfebs,
int ntbins,
const unsigned short *e0bbuf);
35 std::vector<CSCComparatorDigi>
comparatorDigis(uint32_t idlayer,
unsigned icfeb);
58 bool bitValue(
int cfeb,
int tbin,
int layer,
int distrip) {
int sizeInWords() const
in 16-bit words
void set(int distrip, bool value)
@ not right! doesn't set zero
CSCCLCTDataWord(unsigned cfeb, unsigned tbin, unsigned data)
CSCCLCTDataWord & dataWord(int iline) const
CSCCLCTDataWord & dataWord(int cfeb, int tbin, int layer) const
unsigned short theData[5 *6 *32]
bool bitValue(int cfeb, int tbin, int layer, int distrip)
CSCCLCTData(const CSCTMBHeader *tmbHeader)
std::vector< CSCComparatorDigi > comparatorDigis(int layer)
layers count from one
static void setDebug(const bool value)
void add(const CSCComparatorDigi &digi, int layer)
TODO for packing. Doesn't do flipping yet.