1 #ifndef CSCAnodeData2007_h
2 #define CSCAnodeData2007_h
15 bool isHit(
unsigned wireGroup)
const {
16 assert(wireGroup < 12);
17 return ( (
data_>>wireGroup) & 0x1 );
22 data_ |= (1 << wireGroup);
47 virtual std::vector<CSCWireDigi>
wireDigis(
int layer)
const;
55 int index(
int tbin,
int layer,
int layerPart)
const;
void init(const CSCALCTHeader &)
CSCAnodeData2007(const CSCALCTHeader &)
a blank one, for Monte Carlo
CSCAnodeDataFrame2007(unsigned short data)
bool isHit(unsigned wireGroup) const
given a wiregroup between 0 and 11, it tells whether this bit was on
virtual unsigned short * data()
int index(int tbin, int layer, int layerPart) const
unsigned short int nAFEBs_
CSCAnodeDataFrame2007 findFrame(int tbin, int layer, int layerPart) const
unsigned int alctBX_
number of wiregroups in the ALCT
unsigned short theDataFrames[MAXFRAMES]
virtual unsigned short int sizeInWords() const
the amount of the input binary buffer read, in 16-bit words
unsigned short int sizeInWords2007_
virtual void add(const CSCWireDigi &, int layer)
unsigned short int maxWireGroups_
number of layer parts in the ALCT
void addHit(unsigned wireGroup)
unsigned short data() const
unsigned short int nTimeBins_
unsigned short int layerParts_
virtual std::vector< CSCWireDigi > wireDigis(int layer) const
input layer is from 1 to 6