#include <QIE11DataFrame.h>
Classes | |
class | Sample |
Public Member Functions | |
edm::DataFrame::iterator | begin () |
iterators More... | |
edm::DataFrame::const_iterator | begin () const |
bool | capidError () const |
void | copyContent (const QIE11DataFrame &) |
DetId | detid () const |
Get the detector id. More... | |
edm::DataFrame::iterator | end () |
edm::DataFrame::const_iterator | end () const |
uint16_t | flags () const |
get the flag word More... | |
int | flavor () const |
edm::DataFrame::id_type | id () const |
bool | linkError () const |
Sample | operator[] (edm::DataFrame::size_type i) const |
get the sample More... | |
int | presamples () const |
for backward compatibility More... | |
QIE11DataFrame () | |
QIE11DataFrame (edm::DataFrame const &df) | |
int | samples () const |
total number of samples in the digi More... | |
void | setCapid0 (int cap0) |
void | setFlags (uint16_t v) |
set the flag word More... | |
void | setSample (edm::DataFrame::size_type isample, int adc, int tdc, bool soi=false) |
set the sample contents More... | |
edm::DataFrame::size_type | size () const |
more accessors More... | |
uint32_t | zsCrossingMask () const |
bool | zsMarkAndPass () const |
was this a mark-and-pass ZS event? More... | |
bool | zsUnsuppressed () const |
other ZS functions (TODO: real implementation) More... | |
Static Public Attributes | |
static const int | FLAG_WORDS = 1 |
static const int | HEADER_WORDS = 1 |
static const int | MASK_CAPIDERROR = 0x400 |
was there a capid rotation error? More... | |
static const int | MASK_FLAVOR = 0x7 |
static const int | MASK_LINKERROR = 0x800 |
was there a link error? More... | |
static const int | OFFSET_FLAVOR = 12 |
get the flavor of the frame More... | |
static const int | WORDS_PER_SAMPLE = 1 |
Private Attributes | |
edm::DataFrame | m_data |
Precision readout digi from QIE11 including TDC information
Definition at line 11 of file QIE11DataFrame.h.
|
inline |
Definition at line 18 of file QIE11DataFrame.h.
|
inline |
Definition at line 19 of file QIE11DataFrame.h.
|
inline |
iterators
Definition at line 47 of file QIE11DataFrame.h.
References edm::DataFrame::begin(), and m_data.
|
inline |
|
inline |
Definition at line 64 of file QIE11DataFrame.h.
References m_data, and MASK_CAPIDERROR.
Referenced by operator<<().
void QIE11DataFrame::copyContent | ( | const QIE11DataFrame & | digi | ) |
Definition at line 13 of file QIE11DataFrame.cc.
References QIE11DataFrame::Sample::adc(), i, setSample(), size(), QIE11DataFrame::Sample::soi(), and QIE11DataFrame::Sample::tdc().
|
inline |
Get the detector id.
Definition at line 42 of file QIE11DataFrame.h.
References edm::DataFrame::id(), and m_data.
Referenced by operator<<().
|
inline |
Definition at line 48 of file QIE11DataFrame.h.
References edm::DataFrame::end(), and m_data.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 50 of file QIE11DataFrame.h.
References edm::DataFrame::end(), and m_data.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
get the flag word
Definition at line 76 of file QIE11DataFrame.h.
References m_data, and size().
|
inline |
Definition at line 58 of file QIE11DataFrame.h.
References m_data, MASK_FLAVOR, and OFFSET_FLAVOR.
Referenced by zsMarkAndPass().
|
inline |
|
inline |
Definition at line 61 of file QIE11DataFrame.h.
References m_data, and MASK_LINKERROR.
Referenced by operator<<().
|
inline |
int QIE11DataFrame::presamples | ( | ) | const |
for backward compatibility
Definition at line 20 of file QIE11DataFrame.cc.
|
inline |
total number of samples in the digi
Definition at line 52 of file QIE11DataFrame.h.
References FLAG_WORDS, HEADER_WORDS, size(), and WORDS_PER_SAMPLE.
Referenced by operator<<(), and presamples().
void QIE11DataFrame::setCapid0 | ( | int | cap0 | ) |
Definition at line 4 of file QIE11DataFrame.cc.
References m_data, QIE11DataFrame::Sample::MASK_CAPID, and QIE11DataFrame::Sample::OFFSET_CAPID.
void QIE11DataFrame::setFlags | ( | uint16_t | v | ) |
set the flag word
Definition at line 9 of file QIE11DataFrame.cc.
References m_data, size(), and findQualityFiles::v.
Referenced by Vispa.Plugins.EdmBrowser.EventContentView.LabelItem::__init__().
void QIE11DataFrame::setSample | ( | edm::DataFrame::size_type | isample, |
int | adc, | ||
int | tdc, | ||
bool | soi = false |
||
) |
set the sample contents
Definition at line 27 of file QIE11DataFrame.cc.
References m_data, QIE11DataFrame::Sample::MASK_ADC, QIE11DataFrame::Sample::MASK_SOI, QIE11DataFrame::Sample::MASK_TDC, QIE11DataFrame::Sample::OFFSET_TDC, and size().
Referenced by copyContent().
|
inline |
more accessors
Definition at line 45 of file QIE11DataFrame.h.
References m_data, and edm::DataFrame::size().
Referenced by copyContent(), flags(), samples(), setFlags(), and setSample().
|
inline |
Definition at line 69 of file QIE11DataFrame.h.
|
inline |
was this a mark-and-pass ZS event?
Definition at line 66 of file QIE11DataFrame.h.
References flavor().
Referenced by operator<<().
|
inline |
other ZS functions (TODO: real implementation)
Definition at line 68 of file QIE11DataFrame.h.
|
static |
Definition at line 16 of file QIE11DataFrame.h.
Referenced by samples().
|
static |
Definition at line 15 of file QIE11DataFrame.h.
Referenced by operator[](), and samples().
|
private |
Definition at line 81 of file QIE11DataFrame.h.
Referenced by begin(), capidError(), detid(), end(), flags(), flavor(), id(), linkError(), operator[](), setCapid0(), setFlags(), setSample(), and size().
|
static |
was there a capid rotation error?
Definition at line 63 of file QIE11DataFrame.h.
Referenced by capidError().
|
static |
Definition at line 57 of file QIE11DataFrame.h.
Referenced by flavor().
|
static |
|
static |
|
static |
Definition at line 14 of file QIE11DataFrame.h.
Referenced by samples().