#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 &digi) |
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 |
get the flavor of the frame More... | |
edm::DataFrame::id_type | id () const |
bool | linkError () const |
was there a link error? More... | |
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... | |
void | setZSInfo (bool markAndPass) |
set ZS params More... | |
edm::DataFrame::size_type | size () const |
more accessors More... | |
bool | zsMarkAndPass () const |
was this a mark-and-pass ZS event? More... | |
Static Public Attributes | |
static const int | FLAG_WORDS = 1 |
static const int | FLAVOR_HB = 3 |
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 |
static const int | OFFSET_FLAVOR = 12 |
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 23 of file QIE11DataFrame.h.
|
inline |
Definition at line 24 of file QIE11DataFrame.h.
|
inline |
iterators
Definition at line 65 of file QIE11DataFrame.h.
References edm::DataFrame::begin(), and m_data.
Referenced by UHTRpacker::addChannel().
|
inline |
|
inline |
Definition at line 84 of file QIE11DataFrame.h.
References m_data, and MASK_CAPIDERROR.
Referenced by operator<<().
|
inline |
Definition at line 52 of file QIE11DataFrame.h.
References QIE11DataFrame::Sample::adc(), mps_fire::i, setSample(), size(), QIE11DataFrame::Sample::soi(), and QIE11DataFrame::Sample::tdc().
|
inline |
Get the detector id.
Definition at line 60 of file QIE11DataFrame.h.
References edm::DataFrame::id(), and m_data.
Referenced by QIE11Task::_process(), PedestalTask::_process(), LEDTask::_process(), DigiTask::_process(), LaserTask::_process(), UHTRpacker::addChannel(), operator<<(), and HcalDigiToRawuHTR::produce().
|
inline |
Definition at line 66 of file QIE11DataFrame.h.
References edm::DataFrame::end(), and m_data.
Referenced by UHTRpacker::addChannel(), Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 68 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 112 of file QIE11DataFrame.h.
References m_data, and size().
|
inline |
|
inline |
Definition at line 61 of file QIE11DataFrame.h.
References edm::DataFrame::id(), and m_data.
Referenced by HcaluLUTTPGCoder::adc2Linear(), HcalTriggerPrimitiveAlgo::addSignal(), HGCalDigiValidation::analyze(), HcaluLUTTPGCoder::lookupMSB(), and HcalZSAlgoRealistic::shouldKeep().
|
inline |
was there a link error?
Definition at line 81 of file QIE11DataFrame.h.
References m_data, and MASK_LINKERROR.
Referenced by operator<<().
|
inline |
get the sample
Definition at line 92 of file QIE11DataFrame.h.
References m_data, and QIE11DataFrame::Sample::Sample().
|
inline |
for backward compatibility
Definition at line 72 of file QIE11DataFrame.h.
References mps_fire::i, and samples().
Referenced by HcalTriggerPrimitiveAlgo::addSignal(), and HcalDigiToRawuHTR::produce().
|
inline |
total number of samples in the digi
Definition at line 70 of file QIE11DataFrame.h.
References size(), and WORDS_PER_SAMPLE.
Referenced by QIE11Task::_process(), PedestalTask::_process(), LEDTask::_process(), DigiTask::_process(), DigiPhase1Task::_process(), LaserTask::_process(), HcaluLUTTPGCoder::adc2Linear(), HcalTriggerPrimitiveAlgo::addSignal(), HcaluLUTTPGCoder::lookupMSB(), operator<<(), UHTRpacker::packQIE11header(), presamples(), setCapid0(), and HcalZSAlgoRealistic::shouldKeep().
|
inline |
Definition at line 93 of file QIE11DataFrame.h.
References QIE11DataFrame::Sample::flavor(), mps_fire::i, m_data, QIE11DataFrame::Sample::MASK_CAPID, QIE11DataFrame::Sample::MASK_CAPID_INV_HB, QIE11DataFrame::Sample::OFFSET_CAPID_HB, QIE11DataFrame::Sample::OFFSET_CAPID_HE, and samples().
|
inline |
set the flag word
Definition at line 114 of file QIE11DataFrame.h.
References m_data, size(), and findQualityFiles::v.
Referenced by Vispa.Plugins.EdmBrowser.EventContentView.LabelItem::__init__().
|
inline |
set the sample contents
Definition at line 105 of file QIE11DataFrame.h.
References QIE11DataFrame::Sample::flavor(), m_data, QIE11DataFrame::Sample::MASK_ADC, QIE11DataFrame::Sample::MASK_CAPID_KEEP_HB, QIE11DataFrame::Sample::MASK_SOI, QIE11DataFrame::Sample::MASK_TDC_HB, QIE11DataFrame::Sample::MASK_TDC_HE, QIE11DataFrame::Sample::OFFSET_TDC, size(), and QIE11DataFrame::Sample::soi().
Referenced by copyContent().
|
inline |
set ZS params
Definition at line 88 of file QIE11DataFrame.h.
References m_data, and MASK_FLAVOR.
Referenced by HcalZeroSuppressionAlgo::suppress().
|
inline |
more accessors
Definition at line 63 of file QIE11DataFrame.h.
References m_data, and edm::DataFrame::size().
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), copyContent(), flags(), samples(), setFlags(), and setSample().
|
inline |
was this a mark-and-pass ZS event?
Definition at line 86 of file QIE11DataFrame.h.
References QIE11DataFrame::Sample::flavor().
Referenced by operator<<().
|
static |
Definition at line 16 of file QIE11DataFrame.h.
Referenced by UHTRpacker::addChannel().
|
static |
Definition at line 20 of file QIE11DataFrame.h.
Referenced by QIE11DataFrame::Sample::tdc().
|
static |
Definition at line 15 of file QIE11DataFrame.h.
Referenced by UHTRpacker::addChannel(), and QIE11DataFrame::Sample::capid().
|
private |
Definition at line 119 of file QIE11DataFrame.h.
Referenced by begin(), capidError(), detid(), end(), flags(), flavor(), id(), linkError(), operator[](), setCapid0(), setFlags(), setSample(), setZSInfo(), and size().
|
static |
was there a capid rotation error?
Definition at line 83 of file QIE11DataFrame.h.
Referenced by capidError().
|
static |
Definition at line 19 of file QIE11DataFrame.h.
Referenced by setZSInfo().
|
static |
Definition at line 21 of file QIE11DataFrame.h.
Referenced by linkError().
|
static |
Definition at line 18 of file QIE11DataFrame.h.
|
static |
Definition at line 14 of file QIE11DataFrame.h.
Referenced by samples().