5 if (isample>=
size())
return;
23 if ((*
this)[
i].soi())
return i;
38 s <<
" " << digi.
samples() <<
" samples";
44 s <<
" ADC=" << sam.
adc() <<
" TDC(LE)=" << sam.
le_tdc() <<
" TDC(TE)=" << sam.
te_tdc() <<
" CAPID=" << sam.
capid();
45 if (sam.
soi()) s <<
" SOI ";
46 if (!sam.
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
int presamples() const
for backward compatibility
void copyContent(const QIE10DataFrame &src)
static const int WORDS_PER_SAMPLE
edm::DataFrame::size_type size() const
more accessors
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void setZSInfo(bool markAndPass)
set ZS params
static const int MASK_ADC
uint32_t rawId() const
get the raw id
static const int MASK_MARKPASS
was this a mark-and-pass ZS event?
bool zsMarkAndPass() const
DetId detid() const
Get the detector id.
static const int OFFSET_TE_TDC
static const int HEADER_WORDS
static const int MASK_TE_TDC
void setSample(edm::DataFrame::size_type isample, int adc, int le_tdc, int te_tdc, int capid, bool soi=false, bool ok=true)
set the sample contents
Detector det() const
get the detector field from this detid
static const int OFFSET_CAPID