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