26 unsigned adcCounts(
unsigned layer,
unsigned channel,
unsigned timeBin)
const;
27 unsigned adcOverflow(
unsigned layer,
unsigned channel,
unsigned timeBin)
const;
28 unsigned controllerData(
unsigned uglay,
unsigned ugchan,
unsigned timeBin)
const;
30 unsigned errorstat(
unsigned layer,
unsigned channel,
unsigned timeBin)
const;
37 void digis(uint32_t idlayer, std::vector<CSCStripDigi> &
result)
const;
39 std::vector<CSCStripDigi>
digis(
unsigned idlayer)
const;
41 std::vector<std::vector<CSCStripDigi> >
stripDigis();
unsigned adcOverflow(unsigned layer, unsigned channel, unsigned timeBin) const
unsigned overlappedSampleFlag(unsigned layer, unsigned channel, unsigned timeBin) const
void add(const CSCStripDigi &, int layer)
void setL1A(unsigned l1a)
unsigned adcCounts(unsigned layer, unsigned channel, unsigned timeBin) const
unsigned errorstat(unsigned layer, unsigned channel, unsigned timeBin) const
std::vector< std::pair< int, bool > > theSliceStarts
CSCCFEBStatusDigi statusDigi() const
returns one status digi per cfeb
bool check() const
makes sure each time slice has a trailer
unsigned controllerData(unsigned uglay, unsigned ugchan, unsigned timeBin) const
const CSCCFEBTimeSlice * timeSlice(unsigned i) const
count from 0. User should check if it's a bad slice
unsigned nTimeSamples() const
void digis(uint32_t idlayer, std::vector< CSCStripDigi > &result) const
faster way to get to digis
std::vector< std::vector< CSCStripDigi > > stripDigis()
deprecated. Use the above method.
std::vector< uint16_t > bWords
friend std::ostream & operator<<(std::ostream &os, const CSCCFEBData &)
unsigned sizeInWords() const
uint16_t theFormatVersion
unsigned boardNumber() const
CSCCFEBData(unsigned boardNumber, const uint16_t *buf, uint16_t theFormatVersion=2005, bool fDCFEB=false)
read from an existing data stream.
void setBoardNumber(int cfeb)
unsigned theNumberOfSamples