22 if ((*
this)[
i].soi())
return i;
28 if (isample>=
size())
return;
38 s <<
" " << digi.
samples() <<
" samples";
45 s <<
" ADC=" << sam.
adc() <<
" TDC=" << sam.
tdc() <<
" CAPID=" << sam.
capid();
46 if (sam.
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
edm::DataFrame::size_type size() const
more accessors
static const int OFFSET_CAPID
static const int MASK_CAPID
void copyContent(const QIE11DataFrame &)
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
bool zsMarkAndPass() const
was this a mark-and-pass ZS event?
static const int OFFSET_TDC
static const int MASK_SOI
int presamples() const
for backward compatibility
Detector det() const
get the detector field from this detid
int samples() const
total number of samples in the digi