#include <QIE10DataFrame.h>
Classes | |
class | Sample |
Public Member Functions | |
DetId | detid () const |
Get the detector id. More... | |
uint16_t | flags () const |
get the flag word More... | |
int | flavor () const |
bool | linkError () const |
Sample | operator[] (edm::DataFrame::size_type i) const |
get the sample More... | |
QIE10DataFrame () | |
QIE10DataFrame (const edm::DataFrameContainer &c, edm::DataFrame::size_type i) | |
QIE10DataFrame (edm::DataFrame df) | |
int | samples () const |
total number of samples in the digi More... | |
void | setFlags (uint16_t v) |
set the flag word More... | |
void | setSample (edm::DataFrame::size_type isample, int adc, int le_tdc, int fe_tdc, int capid, bool soi=false, bool ok=true) |
set the sample contents More... | |
bool | wasMarkAndPass () const |
Static Public Attributes | |
static const int | FLAG_WORDS = 1 |
static const int | HEADER_WORDS = 1 |
static const int | MASK_FLAVOR = 0x7 |
static const int | MASK_LINKERROR = 0x800 |
was there a link error? More... | |
static const int | MASK_MARKPASS = 0x100 |
was this a mark-and-pass ZS event? More... | |
static const int | OFFSET_FLAVOR = 12 |
get the flavor of the frame More... | |
static const int | WORDS_PER_SAMPLE = 2 |
Additional Inherited Members | |
Protected Types inherited from edm::DataFrame | |
typedef data_type const * | const_iterator |
typedef unsigned short | data_type |
typedef unsigned int | id_type |
typedef data_type * | iterator |
typedef unsigned int | size_type |
Protected Member Functions inherited from edm::DataFrame | |
iterator | begin () |
const_iterator | begin () const |
DataFrame () | |
DataFrame (id_type i, data_type const *idata, size_type isize) | |
DataFrame (DataFrameContainer const &icont, size_type i) | |
iterator | end () |
const_iterator | end () const |
id_type | id () const |
data_type & | operator[] (size_type i) |
data_type | operator[] (size_type i) const |
void | set (DataFrameContainer const &icont, size_type i) |
size_type | size () const |
Precision readout digi from QIE10 including TDC information
Definition at line 12 of file QIE10DataFrame.h.
|
inline |
Definition at line 19 of file QIE10DataFrame.h.
|
inline |
Definition at line 20 of file QIE10DataFrame.h.
|
inline |
Definition at line 21 of file QIE10DataFrame.h.
|
inline |
Get the detector id.
Definition at line 46 of file QIE10DataFrame.h.
Referenced by operator<<().
|
inline |
get the flag word
Definition at line 64 of file QIE10DataFrame.h.
References edm::DataFrame::operator[](), and edm::DataFrame::size().
|
inline |
Definition at line 52 of file QIE10DataFrame.h.
References MASK_FLAVOR, OFFSET_FLAVOR, and cppFunctionSkipper::operator.
|
inline |
Definition at line 55 of file QIE10DataFrame.h.
References MASK_LINKERROR, and edm::DataFrame::operator[]().
Referenced by operator<<().
|
inline |
get the sample
Definition at line 60 of file QIE10DataFrame.h.
References HEADER_WORDS, and WORDS_PER_SAMPLE.
|
inline |
total number of samples in the digi
Definition at line 48 of file QIE10DataFrame.h.
References FLAG_WORDS, HEADER_WORDS, edm::DataFrame::size(), and WORDS_PER_SAMPLE.
Referenced by operator<<().
void QIE10DataFrame::setFlags | ( | uint16_t | v | ) |
set the flag word
Definition at line 10 of file QIE10DataFrame.cc.
References edm::DataFrame::operator[](), edm::DataFrame::size(), and findQualityFiles::v.
Referenced by Vispa.Plugins.EdmBrowser.EventContentView.LabelItem::__init__().
void QIE10DataFrame::setSample | ( | edm::DataFrame::size_type | isample, |
int | adc, | ||
int | le_tdc, | ||
int | fe_tdc, | ||
int | capid, | ||
bool | soi = false , |
||
bool | ok = true |
||
) |
set the sample contents
Definition at line 4 of file QIE10DataFrame.cc.
References HEADER_WORDS, QIE10DataFrame::Sample::MASK_ADC, QIE10DataFrame::Sample::MASK_CAPID, QIE10DataFrame::Sample::MASK_LE_TDC, QIE10DataFrame::Sample::MASK_OK, QIE10DataFrame::Sample::MASK_SOI, QIE10DataFrame::Sample::MASK_TE_TDC, QIE10DataFrame::Sample::OFFSET_CAPID, QIE10DataFrame::Sample::OFFSET_TE_TDC, edm::DataFrame::operator[](), edm::DataFrame::size(), and WORDS_PER_SAMPLE.
|
inline |
Definition at line 58 of file QIE10DataFrame.h.
References MASK_MARKPASS, and edm::DataFrame::operator[]().
Referenced by operator<<().
|
static |
Definition at line 17 of file QIE10DataFrame.h.
Referenced by samples().
|
static |
Definition at line 16 of file QIE10DataFrame.h.
Referenced by operator[](), samples(), and setSample().
|
static |
Definition at line 51 of file QIE10DataFrame.h.
Referenced by flavor().
|
static |
|
static |
was this a mark-and-pass ZS event?
Definition at line 57 of file QIE10DataFrame.h.
Referenced by wasMarkAndPass().
|
static |
|
static |
Definition at line 15 of file QIE10DataFrame.h.
Referenced by operator[](), samples(), and setSample().