19 CSCCFEBData(
unsigned boardNumber,
bool sixteenSamples);
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);
39 std::vector<CSCStripDigi>
digis(
unsigned idlayer);
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
CSCCFEBData(unsigned boardNumber, unsigned short *buf)
read from an existing data stream.
void digis(uint32_t idlayer, std::vector< CSCStripDigi > &result)
faster way to get to digis
void add(const CSCStripDigi &, int layer)
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 short theData[1600]
unsigned nTimeSamples() const
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
unsigned boardNumber() const
void setBoardNumber(int cfeb)
unsigned theNumberOfSamples