#include <QIE11DataFrame.h>
Classes | |
class | Sample |
Public Member Functions | |
constexpr edm::DataFrame::iterator | begin () |
iterators More... | |
constexpr edm::DataFrame::const_iterator | begin () const |
constexpr bool | capidError () const |
constexpr void | copyContent (const QIE11DataFrame &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 |
get the flavor of the frame More... | |
constexpr edm::DataFrame::id_type | id () const |
constexpr bool | linkError () const |
was there a link error? More... | |
constexpr Sample | operator[] (edm::DataFrame::size_type i) const |
get the sample More... | |
constexpr int | presamples () const |
for backward compatibility More... | |
constexpr | QIE11DataFrame () |
constexpr | QIE11DataFrame (edm::DataFrame const &df) |
constexpr int | samples () const |
total number of samples in the digi More... | |
constexpr void | setCapid0 (int cap0) |
constexpr void | setFlags (uint16_t v) |
set the flag word More... | |
constexpr void | setFlavor (int flavor) |
constexpr void | setSample (edm::DataFrame::size_type isample, int adc, int tdc, bool soi=false) |
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 |
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.
|
inlineconstexpr |
Definition at line 22 of file QIE11DataFrame.h.
|
inlineconstexpr |
Definition at line 23 of file QIE11DataFrame.h.
|
inlineconstexpr |
iterators
Definition at line 72 of file QIE11DataFrame.h.
References edm::DataFrame::begin(), and m_data.
Referenced by UHTRpacker::addChannel(), and convertHB().
|
inlineconstexpr |
Definition at line 74 of file QIE11DataFrame.h.
References edm::DataFrame::begin(), and m_data.
|
inlineconstexpr |
Definition at line 92 of file QIE11DataFrame.h.
References m_data, and MASK_CAPIDERROR.
Referenced by operator<<().
|
inlineconstexpr |
Definition at line 59 of file QIE11DataFrame.h.
References QIE11DataFrame::Sample::adc(), mps_fire::i, setSample(), size(), QIE11DataFrame::Sample::soi(), and QIE11DataFrame::Sample::tdc().
|
inlineconstexpr |
Get the detector id.
Definition at line 67 of file QIE11DataFrame.h.
References edm::DataFrame::id(), and m_data.
Referenced by PedestalTask::_process(), LEDTask::_process(), DigiTask::_process(), LaserTask::_process(), UHTRpacker::addChannel(), CMTRawAnalyzer::analyze(), convertHB(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), CMTRawAnalyzer::fillDigiErrorsQIE11(), operator<<(), and HcalDigiToRawuHTR::produce().
|
inlineconstexpr |
Definition at line 73 of file QIE11DataFrame.h.
References edm::DataFrame::end(), and m_data.
Referenced by UHTRpacker::addChannel(), convertHB(), Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inlineconstexpr |
Definition at line 75 of file QIE11DataFrame.h.
References edm::DataFrame::end(), and m_data.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inlineconstexpr |
|
inlineconstexpr |
get the flavor of the frame
Definition at line 87 of file QIE11DataFrame.h.
References m_data, MASK_FLAVOR, and OFFSET_FLAVOR.
Referenced by operator<<(), UHTRpacker::packQIE11header(), setCapid0(), setFlavor(), setSample(), and zsMarkAndPass().
|
inlineconstexpr |
Definition at line 68 of file QIE11DataFrame.h.
References edm::DataFrame::id(), and m_data.
Referenced by HcalZSAlgoRealistic::keepMe(), and HcalZSAlgoRealistic::shouldKeep().
|
inlineconstexpr |
was there a link error?
Definition at line 89 of file QIE11DataFrame.h.
References m_data, and MASK_LINKERROR.
Referenced by operator<<().
|
inlineconstexpr |
get the sample
Definition at line 101 of file QIE11DataFrame.h.
References HEADER_WORDS, mps_fire::i, and m_data.
|
inlineconstexpr |
for backward compatibility
Definition at line 79 of file QIE11DataFrame.h.
References mps_fire::i, and samples().
Referenced by LaserTask::_process(), and HcalDigiToRawuHTR::produce().
|
inlineconstexpr |
total number of samples in the digi
Definition at line 77 of file QIE11DataFrame.h.
References FLAG_WORDS, HEADER_WORDS, size(), and WORDS_PER_SAMPLE.
Referenced by PedestalTask::_process(), LEDTask::_process(), DigiTask::_process(), LaserTask::_process(), CMTRawAnalyzer::analyze(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), CMTRawAnalyzer::fillDigiErrorsQIE11(), operator<<(), presamples(), setCapid0(), and HcalZSAlgoRealistic::shouldKeep().
|
inlineconstexpr |
Definition at line 109 of file QIE11DataFrame.h.
References flavor(), FLAVOR_HB, 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().
Referenced by convertHB().
|
inlineconstexpr |
set the flag word
Definition at line 135 of file QIE11DataFrame.h.
References m_data, size(), and findQualityFiles::v.
|
inlineconstexpr |
Definition at line 104 of file QIE11DataFrame.h.
References flavor(), m_data, MASK_FLAVOR, and OFFSET_FLAVOR.
Referenced by convertHB().
|
inlineconstexpr |
set the sample contents
Definition at line 121 of file QIE11DataFrame.h.
References gpuClustering::adc, flavor(), FLAVOR_HB, 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, and size().
Referenced by convertHB(), copyContent(), and HcalTDC::timing().
|
inlineconstexpr |
set ZS params
Definition at line 96 of file QIE11DataFrame.h.
References m_data, DigiNZS_cff::markAndPass, MASK_FLAVOR, and OFFSET_FLAVOR.
|
inlineconstexpr |
more accessors
Definition at line 70 of file QIE11DataFrame.h.
References m_data, and edm::DataFrame::size().
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), LEDTask::_process(), copyContent(), flags(), samples(), setFlags(), and setSample().
|
inlineconstexpr |
was this a mark-and-pass ZS event?
Definition at line 94 of file QIE11DataFrame.h.
References flavor().
Referenced by operator<<().
|
static |
Definition at line 15 of file QIE11DataFrame.h.
Referenced by UHTRpacker::addChannel(), and samples().
|
static |
Definition at line 19 of file QIE11DataFrame.h.
Referenced by QIE11DataFrame::Sample::capid(), QIE11DataFrame::Sample::linkError(), setCapid0(), setSample(), and QIE11DataFrame::Sample::tdc().
|
static |
Definition at line 14 of file QIE11DataFrame.h.
Referenced by UHTRpacker::addChannel(), QIE11DataFrame::Sample::capid(), operator[](), and samples().
|
private |
Definition at line 138 of file QIE11DataFrame.h.
Referenced by begin(), capidError(), detid(), end(), flags(), flavor(), id(), linkError(), operator[](), setCapid0(), setFlags(), setFlavor(), setSample(), setZSInfo(), and size().
|
static |
was there a capid rotation error?
Definition at line 91 of file QIE11DataFrame.h.
Referenced by capidError().
|
static |
Definition at line 18 of file QIE11DataFrame.h.
Referenced by QIE11DataFrame::Sample::flavor(), flavor(), setFlavor(), and setZSInfo().
|
static |
Definition at line 20 of file QIE11DataFrame.h.
Referenced by QIE11DataFrame::Sample::linkError(), and linkError().
|
static |
Definition at line 17 of file QIE11DataFrame.h.
Referenced by QIE11DataFrame::Sample::flavor(), flavor(), setFlavor(), and setZSInfo().
|
static |
Definition at line 13 of file QIE11DataFrame.h.
Referenced by samples().