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