1 #ifndef DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H 2 #define DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H 74 if ((*
this)[
i].soi())
return i;
106 int tdc,
bool soi=
false) {
107 if (isample>=
size())
return;
125 #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
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
int flavor() const
get the flavor of the frame
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
static const int MASK_CAPIDERROR
was there a capid rotation error?
static const int OFFSET_CAPID_HB
constexpr id_type id() const
void setZSInfo(bool markAndPass)
set ZS params
bool linkError() const
was there a link error?
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
void copyContent(const QIE11DataFrame &digi)
static const int OFFSET_TDC
std::ostream & operator<<(std::ostream &, const QIE11DataFrame &)
constexpr iterator begin()
static const int MASK_CAPID_KEEP_HB
static const int MASK_TDC_HB
static const int MASK_SOI
int presamples() const
for backward compatibility
static const int MASK_CAPID_INV_HB
data_type const * const_iterator
edm::DataFrame::iterator begin()
iterators
static const int OFFSET_CAPID_HE
edm::DataFrame::iterator end()
int samples() const
total number of samples in the digi
static const int MASK_LE_HB
static const int FLAVOR_HB
static const int MASK_TDC_HE