26 std::vector<uint16_t> qadcvals;
33 const unsigned int* hitbase=(&(qdctdc->
n_tdc_hits))+1;
34 unsigned int totalhits=0;
39 for (
unsigned int i=0;
i<totalhits;
i++) {
40 int channel=(hitbase[
i]&0x7FC00000)>>22;
41 int time=(hitbase[
i]&0xFFFFF);
42 if (channel==0 && time==0 &&
i==(totalhits-1))
continue;
void addTDCHit(int channel, int hittime)
size_t size() const
Lenght of the data buffer in bytes.
void setQADC(const std::vector< uint16_t > &values)
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
void unpack(const FEDRawData &raw, HcalLaserDigi &digi) const