1 #ifndef DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H 2 #define DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H 122 if (isample >=
size())
143 #endif // DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H constexpr QIE11DataFrame()
static const int FLAG_WORDS
constexpr uint16_t flags() const
get the flag word
constexpr edm::DataFrame::id_type id() const
edm::DataFrame::size_type i_
static const int MASK_CAPID
static const int HEADER_WORDS
constexpr void setZSInfo(bool markAndPass)
set ZS params
constexpr int flavor() const
get the flavor of the frame
constexpr int flavor() const
static const int MASK_ADC
static const int MASK_FLAVOR
constexpr edm::DataFrame::const_iterator end() const
constexpr bool capidError() const
constexpr bool zsMarkAndPass() const
was this a mark-and-pass ZS event?
static const int WORDS_PER_SAMPLE
static const int MASK_LINKERROR
constexpr DetId detid() const
Get the detector id.
static const int MASK_CAPIDERROR
was there a capid rotation error?
constexpr int capid() const
constexpr Sample(const edm::DataFrame &frame, edm::DataFrame::size_type i)
static const int OFFSET_CAPID_HB
constexpr void setFlags(uint16_t v)
set the flag word
constexpr void setFlavor(int flavor)
constexpr size_type size() const
constexpr Sample operator[](edm::DataFrame::size_type i) const
get the sample
constexpr edm::DataFrame::iterator end()
constexpr int tdc() const
const edm::DataFrame & frame_
constexpr edm::DataFrame::const_iterator begin() const
constexpr int presamples() const
for backward compatibility
constexpr int adc() const
static const int OFFSET_FLAVOR
constexpr void setSample(edm::DataFrame::size_type isample, int adc, int tdc, bool soi=false)
set the sample contents
constexpr int samples() const
total number of samples in the digi
static const int OFFSET_TDC
constexpr QIE11DataFrame(edm::DataFrame const &df)
constexpr id_type id() const
constexpr edm::DataFrame::iterator begin()
iterators
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
static const int MASK_CAPID_INV_HB
data_type const * const_iterator
constexpr bool soi() const
constexpr edm::DataFrame::size_type size() const
more accessors
static const int OFFSET_CAPID_HE
constexpr void copyContent(const QIE11DataFrame &digi)
constexpr void setCapid0(int cap0)
constexpr bool linkError() const
was there a link error?
static const int MASK_LE_HB
static const int FLAVOR_HB
static const int MASK_TDC_HE
uint16_t *__restrict__ uint16_t const *__restrict__ adc
constexpr bool linkError() const