22 if ((*
this)[
i].soi())
return i;
32 if (isample>=
size())
return;
42 s <<
" " << digi.
samples() <<
" samples";
49 s <<
" ADC=" << sam.
adc() <<
" TDC=" << sam.
tdc() <<
" CAPID=" << sam.
capid();
50 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
static const int MASK_FLAVOR
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
void setZSInfo(bool markAndPass)
set ZS params
static const int MASK_TDC
bool zsMarkAndPass() const
was this a mark-and-pass ZS event?
static const int OFFSET_FLAVOR
get the flavor of the frame
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