Go to the documentation of this file. 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;
CSCAnodeDataFrame2007(unsigned short data)
unsigned short theDataFrames[MAXFRAMES]
CSCAnodeDataFrame2007 findFrame(int tbin, int layer, int layerPart) const
void add(const CSCWireDigi &, int layer) override
unsigned short int nTimeBins_
unsigned short int maxWireGroups_
number of layer parts in the ALCT
unsigned short int nAFEBs_
unsigned int alctBX_
number of wiregroups in the ALCT
void init(const CSCALCTHeader &)
bool isHit(unsigned wireGroup) const
given a wiregroup between 0 and 11, it tells whether this bit was on
int index(int tbin, int layer, int layerPart) const
constexpr std::array< uint8_t, layerIndexSize > layer
std::vector< CSCWireDigi > wireDigis(int layer) const override
input layer is from 1 to 6
unsigned short data() const
CSCAnodeData2007(const CSCALCTHeader &)
a blank one, for Monte Carlo
unsigned short int sizeInWords() const override
the amount of the input binary buffer read, in 16-bit words
unsigned short * data() override
unsigned short int layerParts_
unsigned short int sizeInWords2007_
void addHit(unsigned wireGroup)