#include <QIE10DataFrame.h>
Classes | |
class | Sample |
Public Member Functions | |
constexpr edm::DataFrame::iterator | begin () |
iterators More... | |
constexpr edm::DataFrame::const_iterator | begin () const |
constexpr void | copyContent (const QIE10DataFrame &digi) |
constexpr DetId | detid () const |
Get the detector id. More... | |
constexpr edm::DataFrame::iterator | end () |
constexpr edm::DataFrame::const_iterator | end () const |
constexpr uint16_t | flags () const |
get the flag word More... | |
constexpr int | flavor () const |
constexpr edm::DataFrame::id_type | id () const |
constexpr bool | linkError () const |
constexpr Sample | operator[] (edm::DataFrame::size_type i) const |
get the sample More... | |
constexpr int | presamples () const |
for backward compatibility More... | |
constexpr | QIE10DataFrame () |
constexpr | QIE10DataFrame (edm::DataFrame const &df) |
constexpr int | samples () const |
total number of samples in the digi More... | |
constexpr void | setFlags (uint16_t v) |
set the flag word More... | |
constexpr void | setSample (edm::DataFrame::size_type isample, int adc, int le_tdc, int te_tdc, int capid, bool soi=false, bool ok=true) |
set the sample contents More... | |
constexpr void | setZSInfo (bool markAndPass) |
set ZS params More... | |
constexpr edm::DataFrame::size_type | size () const |
more accessors More... | |
constexpr bool | zsMarkAndPass () 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 |
Private Attributes | |
edm::DataFrame | m_data |
Precision readout digi from QIE10 including TDC information
Definition at line 11 of file QIE10DataFrame.h.
|
inline |
Definition at line 17 of file QIE10DataFrame.h.
|
inline |
Definition at line 18 of file QIE10DataFrame.h.
|
inline |
iterators
Definition at line 81 of file QIE10DataFrame.h.
References edm::DataFrame::begin(), and m_data.
Referenced by UHTRpacker::addChannel().
|
inline |
|
inline |
Definition at line 68 of file QIE10DataFrame.h.
References QIE10DataFrame::Sample::adc(), QIE10DataFrame::Sample::capid(), mps_fire::i, QIE10DataFrame::Sample::le_tdc(), QIE10DataFrame::Sample::ok(), setSample(), size(), QIE10DataFrame::Sample::soi(), and QIE10DataFrame::Sample::te_tdc().
|
inline |
Get the detector id.
Definition at line 76 of file QIE10DataFrame.h.
References edm::DataFrame::id(), and m_data.
Referenced by HFRaddamTask::_process(), PedestalTask::_process(), LEDTask::_process(), DigiTask::_process(), UMNioTask::_process(), LaserTask::_process(), UHTRpacker::addChannel(), ZDCQIE10Task::analyze(), FCDTask::analyze(), CMTRawAnalyzer::analyze(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiErrorsHFQIE10(), operator<<(), and HcalDigiToRawuHTR::produce().
|
inline |
Definition at line 82 of file QIE10DataFrame.h.
References edm::DataFrame::end(), and m_data.
Referenced by UHTRpacker::addChannel(), Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 84 of file QIE10DataFrame.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 126 of file QIE10DataFrame.h.
References m_data, and size().
|
inline |
Definition at line 98 of file QIE10DataFrame.h.
References m_data, MASK_FLAVOR, and OFFSET_FLAVOR.
|
inline |
Definition at line 77 of file QIE10DataFrame.h.
References edm::DataFrame::id(), and m_data.
Referenced by LaserTask::processLaserMon(), HFPreRecAlgo::reconstruct(), HcalSimpleRecAlgo::reconstructQIE10(), and HcalTriggerPrimitiveAlgo::validChannel().
|
inline |
Definition at line 101 of file QIE10DataFrame.h.
References m_data, and MASK_LINKERROR.
Referenced by operator<<(), and HcalTriggerPrimitiveAlgo::validChannel().
|
inline |
get the sample
Definition at line 111 of file QIE10DataFrame.h.
References HEADER_WORDS, mps_fire::i, m_data, and WORDS_PER_SAMPLE.
|
inline |
for backward compatibility
Definition at line 88 of file QIE10DataFrame.h.
References mps_fire::i, and samples().
Referenced by HcalDigiToRawuHTR::produce().
|
inline |
total number of samples in the digi
Definition at line 86 of file QIE10DataFrame.h.
References FLAG_WORDS, HEADER_WORDS, size(), and WORDS_PER_SAMPLE.
Referenced by HFRaddamTask::_process(), PedestalTask::_process(), LEDTask::_process(), DigiTask::_process(), UMNioTask::_process(), LaserTask::_process(), ZDCQIE10Task::analyze(), FCDTask::analyze(), CMTRawAnalyzer::analyze(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiErrorsHFQIE10(), HLTHcalLaserMisfireFilter::filter(), operator<<(), presamples(), LaserTask::processLaserMon(), HcalZSAlgoRealistic::shouldKeep(), and HcalTriggerPrimitiveAlgo::validChannel().
|
inline |
set the flag word
Definition at line 128 of file QIE10DataFrame.h.
References m_data, size(), and findQualityFiles::v.
|
inline |
set the sample contents
Definition at line 115 of file QIE10DataFrame.h.
References gpuClustering::adc, HEADER_WORDS, m_data, 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, convertSQLiteXML::ok, size(), and WORDS_PER_SAMPLE.
Referenced by copyContent(), and HcalTDC::timing().
|
inline |
set ZS params
Definition at line 106 of file QIE10DataFrame.h.
References m_data, DigiNZS_cff::markAndPass, and MASK_MARKPASS.
|
inline |
more accessors
Definition at line 79 of file QIE10DataFrame.h.
References m_data, and edm::DataFrame::size().
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), copyContent(), flags(), samples(), setFlags(), and setSample().
|
inline |
Definition at line 104 of file QIE10DataFrame.h.
References m_data, and MASK_MARKPASS.
Referenced by operator<<().
|
static |
Definition at line 15 of file QIE10DataFrame.h.
Referenced by UHTRpacker::addChannel(), and samples().
|
static |
Definition at line 14 of file QIE10DataFrame.h.
Referenced by UHTRpacker::addChannel(), operator[](), samples(), and setSample().
|
private |
Definition at line 131 of file QIE10DataFrame.h.
Referenced by begin(), detid(), end(), flags(), flavor(), id(), linkError(), operator[](), setFlags(), setSample(), setZSInfo(), size(), and zsMarkAndPass().
|
static |
Definition at line 97 of file QIE10DataFrame.h.
Referenced by flavor().
|
static |
|
static |
was this a mark-and-pass ZS event?
Definition at line 103 of file QIE10DataFrame.h.
Referenced by setZSInfo(), and zsMarkAndPass().
|
static |
|
static |
Definition at line 13 of file QIE10DataFrame.h.
Referenced by operator[](), QIE10DataFrame::Sample::raw(), samples(), and setSample().