#include <HODataFrame.h>
Public Types | |
typedef HcalDetId | key_type |
For the sorted collection. More... | |
Public Member Functions | |
constexpr HcalElectronicsId const & | elecId () const |
constexpr int | fiberIdleOffset () const |
offset of bunch number for this channel relative to nominal set in the unpacker (range is +7->-7. -1000 indicates the data is invalid/unavailable) More... | |
HODataFrame () | |
constexpr | HODataFrame (const HcalDetId &id) |
constexpr HcalDetId const & | id () const |
constexpr const HcalQIESample & | operator[] (int i) const |
access a sample More... | |
constexpr int | presamples () const |
number of samples before the sample from the triggered beam crossing (according to the hardware) More... | |
constexpr const HcalQIESample & | sample (int i) const |
access a sample More... | |
constexpr void | setFiberIdleOffset (int offset) |
constexpr void | setPresamples (int ps) |
constexpr void | setReadoutIds (const HcalElectronicsId &eid) |
constexpr void | setSample (int i, const HcalQIESample &sam) |
constexpr void | setSize (int size) |
constexpr void | setZSInfo (bool unsuppressed, bool markAndPass, uint32_t crossingMask=0) |
constexpr int | size () const |
total number of samples in the digi More... | |
constexpr bool | validate (int firstSample=0, int nSamples=100) const |
validate appropriate DV and ER bits as well as capid rotation for the specified samples (default is all) More... | |
constexpr uint32_t | zsCrossingMask () const |
zs crossing mask (which sums considered) More... | |
constexpr bool | zsMarkAndPass () const |
was ZS MarkAndPass? More... | |
constexpr bool | zsUnsuppressed () const |
was ZS unsuppressed? More... | |
Static Public Attributes | |
static const int | MAXSAMPLES = 10 |
Private Attributes | |
HcalQIESample | data_ [MAXSAMPLES] |
HcalElectronicsId | electronicsId_ |
int | hcalPresamples_ |
HcalDetId | id_ |
int | size_ |
Precision readout digi for HO
Definition at line 14 of file HODataFrame.h.
typedef HcalDetId HODataFrame::key_type |
For the sorted collection.
Definition at line 16 of file HODataFrame.h.
|
inline |
Definition at line 18 of file HODataFrame.h.
|
inlineexplicitconstexpr |
Definition at line 19 of file HODataFrame.h.
|
inlineconstexpr |
Definition at line 24 of file HODataFrame.h.
References electronicsId_.
Referenced by LEDTask::_process(), and LaserTask::_process().
|
inlineconstexpr |
offset of bunch number for this channel relative to nominal set in the unpacker (range is +7->-7. -1000 indicates the data is invalid/unavailable)
Definition at line 43 of file HODataFrame.h.
References hcalPresamples_, and heppy_batch::val.
Referenced by operator<<().
|
inlineconstexpr |
Definition at line 23 of file HODataFrame.h.
References id_.
Referenced by PedestalTask::_process(), LEDTask::_process(), LaserTask::_process(), HcalNominalCoder::adc2fC(), operator<<(), HcalPedestalAnalysis::processEvent(), HcalLedAnalysis::processLedEvent(), and HcalSimpleRecAlgo::reconstruct().
|
inlineconstexpr |
|
inlineconstexpr |
number of samples before the sample from the triggered beam crossing (according to the hardware)
Definition at line 29 of file HODataFrame.h.
References hcalPresamples_.
Referenced by LaserTask::_process(), HcalNominalCoder::adc2fC(), and operator<<().
|
inlineconstexpr |
access a sample
Definition at line 40 of file HODataFrame.h.
References data_, and mps_fire::i.
Referenced by LEDTask::_process(), LaserTask::_process(), operator<<(), and HcalPedestalAnalysis::processEvent().
|
inlineconstexpr |
Definition at line 83 of file HODataFrame.h.
References hcalPresamples_, and hltrates_dqm_sourceclient-live_cfg::offset.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 81 of file HODataFrame.h.
References data_, and mps_fire::i.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 73 of file HODataFrame.h.
References hcalPresamples_, and DigiNZS_cff::markAndPass.
Referenced by HcalZeroSuppressionAlgo::suppress().
|
inlineconstexpr |
total number of samples in the digi
Definition at line 27 of file HODataFrame.h.
References size_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), PedestalTask::_process(), LEDTask::_process(), LaserTask::_process(), HcalNominalCoder::adc2fC(), HcalLedAnalysis::LedHOHists(), operator<<(), HcalPedestalAnalysis::processEvent(), setSize(), and HcalZSAlgoRealistic::shouldKeep().
|
inlineconstexpr |
validate appropriate DV and ER bits as well as capid rotation for the specified samples (default is all)
Definition at line 49 of file HODataFrame.h.
References HcalQIESample::capid(), data_, castor_dqm_sourceclient-live_cfg::firstSample, mps_fire::i, PresampleTask_cfi::nSamples, convertSQLiteXML::ok, and size_.
|
inlineconstexpr |
zs crossing mask (which sums considered)
Definition at line 35 of file HODataFrame.h.
References hcalPresamples_.
Referenced by HcalZSAlgoRealistic::shouldKeep().
|
inlineconstexpr |
was ZS MarkAndPass?
Definition at line 31 of file HODataFrame.h.
References hcalPresamples_.
Referenced by operator<<().
|
inlineconstexpr |
was ZS unsuppressed?
Definition at line 33 of file HODataFrame.h.
References hcalPresamples_.
Referenced by operator<<().
|
private |
Definition at line 102 of file HODataFrame.h.
Referenced by operator[](), sample(), setSample(), and validate().
|
private |
Definition at line 99 of file HODataFrame.h.
Referenced by elecId(), and setReadoutIds().
|
private |
Definition at line 101 of file HODataFrame.h.
Referenced by fiberIdleOffset(), presamples(), setFiberIdleOffset(), setPresamples(), setZSInfo(), zsCrossingMask(), zsMarkAndPass(), and zsUnsuppressed().
|
private |
Definition at line 98 of file HODataFrame.h.
Referenced by id().
|
static |
Definition at line 95 of file HODataFrame.h.
Referenced by setSize().
|
private |
Definition at line 100 of file HODataFrame.h.
Referenced by setSize(), size(), and validate().