1 #ifndef DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H 2 #define DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H 61 if ((*
this)[
i].soi())
return i;
90 if (isample>=
size())
return;
107 #endif // DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H 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 FLAG_WORDS
Sample(const edm::DataFrame &frame, edm::DataFrame::size_type i)
edm::DataFrame::size_type size() const
more accessors
static const int OFFSET_CAPID
QIE11DataFrame(edm::DataFrame const &df)
edm::DataFrame::const_iterator end() const
edm::DataFrame::size_type i_
static const int MASK_CAPID
static const int HEADER_WORDS
static const int MASK_ADC
static const int MASK_FLAVOR
void setFlags(uint16_t v)
set the flag word
uint16_t flags() const
get the flag word
static const int WORDS_PER_SAMPLE
static const int MASK_LINKERROR
was there a link error?
static const int MASK_CAPIDERROR
was there a capid rotation error?
constexpr id_type id() const
void setZSInfo(bool markAndPass)
set ZS params
static const int MASK_TDC
bool zsMarkAndPass() const
was this a mark-and-pass ZS event?
Sample operator[](edm::DataFrame::size_type i) const
get the sample
constexpr size_type size() const
edm::DataFrame::const_iterator begin() const
edm::DataFrame::id_type id() const
const edm::DataFrame & frame_
static const int OFFSET_FLAVOR
get the flavor of the frame
void copyContent(const QIE11DataFrame &digi)
static const int OFFSET_TDC
std::ostream & operator<<(std::ostream &, const QIE11DataFrame &)
constexpr iterator begin()
static const int MASK_SOI
int presamples() const
for backward compatibility
data_type const * const_iterator
edm::DataFrame::iterator begin()
iterators
edm::DataFrame::iterator end()
int samples() const
total number of samples in the digi