#include <HFDataFrame.h>
Public Types | |
typedef HcalDetId | key_type |
For the sorted collection. More... | |
Public Member Functions | |
HcalElectronicsId const & | elecId () const |
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... | |
HFDataFrame () | |
HFDataFrame (const HcalDetId &id) | |
HcalDetId const & | id () const |
HcalQIESample const & | operator[] (int i) const |
access a sample More... | |
int | presamples () const |
number of samples before the sample from the triggered beam crossing (according to the hardware) More... | |
HcalQIESample const & | sample (int i) const |
access a sample More... | |
void | setFiberIdleOffset (int offset) |
void | setPresamples (int ps) |
void | setReadoutIds (const HcalElectronicsId &eid) |
void | setSample (int i, const HcalQIESample &sam) |
void | setSize (int size) |
void | setZSInfo (bool unsuppressed, bool markAndPass, uint32_t crossingMask=0) |
int | size () const |
total number of samples in the digi More... | |
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... | |
uint32_t | zsCrossingMask () const |
zs crossing mask (which sums considered) More... | |
bool | zsMarkAndPass () const |
was ZS MarkAndPass? More... | |
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 HF
Definition at line 14 of file HFDataFrame.h.
typedef HcalDetId HFDataFrame::key_type |
For the sorted collection.
Definition at line 16 of file HFDataFrame.h.
|
inline |
Definition at line 18 of file HFDataFrame.h.
|
inlineexplicit |
Definition at line 19 of file HFDataFrame.h.
|
inline |
|
inline |
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 HFDataFrame.h.
References hcalPresamples_, and heppy_batch::val.
Referenced by operator<<().
|
inline |
Definition at line 23 of file HFDataFrame.h.
References id_.
Referenced by HFRaddamTask::_process(), HcalNominalCoder::adc2fC(), HcaluLUTTPGCoder::adc2Linear(), HcalTriggerPrimitiveAlgo::addSignal(), operator<<(), HcalPedestalAnalysis::processEvent(), HcalLedAnalysis::processLedEvent(), and HcalSimpleRecAlgo::reconstruct().
|
inline |
|
inline |
number of samples before the sample from the triggered beam crossing (according to the hardware)
Definition at line 29 of file HFDataFrame.h.
References hcalPresamples_.
Referenced by HcalNominalCoder::adc2fC(), HcalTriggerPrimitiveAlgo::addSignal(), and operator<<().
|
inline |
access a sample
Definition at line 40 of file HFDataFrame.h.
References data_, and mps_fire::i.
Referenced by HFRaddamTask::_process(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), operator<<(), and HcalPedestalAnalysis::processEvent().
|
inline |
Definition at line 83 of file HFDataFrame.h.
References hcalPresamples_, and hltrates_dqm_sourceclient-live_cfg::offset.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 73 of file HFDataFrame.h.
References hcalPresamples_.
Referenced by HcalZeroSuppressionAlgo::suppress().
|
inline |
total number of samples in the digi
Definition at line 27 of file HFDataFrame.h.
References size_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), HFRaddamTask::_process(), HcalNominalCoder::adc2fC(), HcaluLUTTPGCoder::adc2Linear(), HcalTriggerPrimitiveAlgo::addSignal(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), HcalLedAnalysis::LedHFHists(), operator<<(), HcalPedestalAnalysis::processEvent(), setSize(), and HcalZSAlgoRealistic::shouldKeep().
|
inline |
validate appropriate DV and ER bits as well as capid rotation for the specified samples (default is all)
Definition at line 49 of file HFDataFrame.h.
References HcalQIESample::capid(), data_, castor_dqm_sourceclient-live_cfg::firstSample, mps_fire::i, PresampleTask_cfi::nSamples, convertSQLiteXML::ok, and size_.
|
inline |
zs crossing mask (which sums considered)
Definition at line 35 of file HFDataFrame.h.
References hcalPresamples_.
Referenced by HcalZSAlgoRealistic::shouldKeep().
|
inline |
was ZS MarkAndPass?
Definition at line 31 of file HFDataFrame.h.
References hcalPresamples_.
Referenced by operator<<().
|
inline |
was ZS unsuppressed?
Definition at line 33 of file HFDataFrame.h.
References hcalPresamples_.
Referenced by operator<<().
|
private |
Definition at line 102 of file HFDataFrame.h.
Referenced by operator[](), sample(), setSample(), and validate().
|
private |
Definition at line 99 of file HFDataFrame.h.
Referenced by elecId(), and setReadoutIds().
|
private |
Definition at line 101 of file HFDataFrame.h.
Referenced by fiberIdleOffset(), presamples(), setFiberIdleOffset(), setPresamples(), setZSInfo(), zsCrossingMask(), zsMarkAndPass(), and zsUnsuppressed().
|
private |
Definition at line 98 of file HFDataFrame.h.
Referenced by id().
|
static |
Definition at line 95 of file HFDataFrame.h.
Referenced by setSize().
|
private |
Definition at line 100 of file HFDataFrame.h.
Referenced by setSize(), size(), and validate().