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