14 if (isample>=
size())
return;
24 s <<
" " << digi.
samples() <<
" samples";
30 s <<
" ADC=" << digi[
i].adc() <<
" TDC=" << digi[
i].tdc() <<
" CAPID=" << digi[
i].capid();
31 if (digi[
i].soi()) s <<
" SOI ";
int adc(sample_type sample)
get the ADC sample (12 bits)
DetId detid() const
Get the detector id.
void setSample(edm::DataFrame::size_type isample, int adc, int tdc, bool soi=false)
set the sample contents
static const int OFFSET_CAPID
static const int MASK_CAPID
static const int MASK_ADC
void setFlags(uint16_t v)
set the flag word
std::ostream & operator<<(std::ostream &out, const ALILine &li)
uint32_t rawId() const
get the raw id
static const int MASK_TDC
data_type & operator[](size_type i)
bool wasMarkAndPass() const
was this a mark-and-pass ZS event?
static const int OFFSET_TDC
static const int MASK_SOI
Detector det() const
get the detector field from this detid
int samples() const
total number of samples in the digi