5 if (isample>=
size())
return;
21 s <<
" " << digi.
samples() <<
" samples";
26 s <<
" ADC=" << digi[
i].adc() <<
" TDC(LE)=" << digi[
i].le_tdc() <<
" TDC(TE)=" << digi[
i].te_tdc() <<
" CAPID=" << digi[
i].capid();
27 if (digi[
i].soi()) s <<
" SOI ";
28 if (!digi[
i].
ok()) s <<
" !OK ";
int adc(sample_type sample)
get the ADC sample (12 bits)
int samples() const
total number of samples in the digi
static const int MASK_SOI
void setFlags(uint16_t v)
set the flag word
static const int MASK_CAPID
static const int MASK_LE_TDC
void setSample(edm::DataFrame::size_type isample, int adc, int le_tdc, int fe_tdc, int capid, bool soi=false, bool ok=true)
set the sample contents
static const int WORDS_PER_SAMPLE
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const int MASK_ADC
uint32_t rawId() const
get the raw id
bool wasMarkAndPass() const
data_type & operator[](size_type i)
DetId detid() const
Get the detector id.
static const int OFFSET_TE_TDC
static const int HEADER_WORDS
static const int MASK_TE_TDC
Detector det() const
get the detector field from this detid
static const int OFFSET_CAPID