#include <HcalCalibDataFrame.h>
Public Types | |
typedef HcalCalibDetId | key_type |
For the sorted collection. More... | |
Public Member Functions | |
const HcalElectronicsId & | 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... | |
HcalCalibDataFrame () | |
HcalCalibDataFrame (const HcalCalibDetId &id) | |
const HcalCalibDetId & | id () const |
const HcalQIESample & | 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... | |
const HcalQIESample & | 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_ |
HcalCalibDetId | id_ |
int | size_ |
Precision readout digi for HcalCalib
Definition at line 15 of file HcalCalibDataFrame.h.
For the sorted collection.
Definition at line 17 of file HcalCalibDataFrame.h.
HcalCalibDataFrame::HcalCalibDataFrame | ( | ) |
Definition at line 3 of file HcalCalibDataFrame.cc.
|
explicit |
Definition at line 9 of file HcalCalibDataFrame.cc.
|
inline |
Definition at line 23 of file HcalCalibDataFrame.h.
References electronicsId_.
Referenced by HcalLedAnalysis::processLedEvent().
int HcalCalibDataFrame::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)
Definition at line 48 of file HcalCalibDataFrame.cc.
References hcalPresamples_, and SpecificationBuilder_cfi::val().
Referenced by operator<<().
|
inline |
Definition at line 22 of file HcalCalibDataFrame.h.
References id_.
Referenced by HcalNominalCoder::adc2fC(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), HcalLaserHFFilter2012::filter(), operator<<(), HcalLedAnalysis::processLedEvent(), and HcalQLPlotAnalAlgos::recoCalib().
|
inline |
|
inline |
number of samples before the sample from the triggered beam crossing (according to the hardware)
Definition at line 28 of file HcalCalibDataFrame.h.
References hcalPresamples_.
Referenced by HcalNominalCoder::adc2fC(), operator<<(), and HcalQLPlotAnalAlgos::recoCalib().
|
inline |
access a sample
Definition at line 39 of file HcalCalibDataFrame.h.
Referenced by operator<<(), and HcalLedAnalysis::ProcessCalibEvent().
void HcalCalibDataFrame::setFiberIdleOffset | ( | int | offset | ) |
Definition at line 53 of file HcalCalibDataFrame.cc.
References hcalPresamples_, and hltrates_dqm_sourceclient-live_cfg::offset.
void HcalCalibDataFrame::setPresamples | ( | int | ps | ) |
void HcalCalibDataFrame::setReadoutIds | ( | const HcalElectronicsId & | eid | ) |
Definition at line 25 of file HcalCalibDataFrame.cc.
References runTauDisplay::eid, and electronicsId_.
|
inline |
Definition at line 49 of file HcalCalibDataFrame.h.
void HcalCalibDataFrame::setSize | ( | int | size | ) |
Definition at line 17 of file HcalCalibDataFrame.cc.
References MAXSAMPLES, size(), and size_.
void HcalCalibDataFrame::setZSInfo | ( | bool | unsuppressed, |
bool | markAndPass, | ||
uint32_t | crossingMask = 0 |
||
) |
|
inline |
total number of samples in the digi
Definition at line 26 of file HcalCalibDataFrame.h.
References size_.
Referenced by ntuple._Collection::__iter__(), ntuple._Collection::__len__(), HcalNominalCoder::adc2fC(), operator<<(), HcalLedAnalysis::ProcessCalibEvent(), HcalQLPlotAnalAlgos::recoCalib(), and setSize().
bool HcalCalibDataFrame::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)
Definition at line 29 of file HcalCalibDataFrame.cc.
References HcalQIESample::capid(), data_, castor_dqm_sourceclient_file_cfg::firstSample, i, convertSQLiteXML::ok, and size_.
|
inline |
zs crossing mask (which sums considered)
Definition at line 34 of file HcalCalibDataFrame.h.
References hcalPresamples_.
|
inline |
was ZS MarkAndPass?
Definition at line 30 of file HcalCalibDataFrame.h.
References hcalPresamples_.
Referenced by HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), HcalLaserHFFilter2012::filter(), and operator<<().
|
inline |
was ZS unsuppressed?
Definition at line 32 of file HcalCalibDataFrame.h.
References hcalPresamples_.
Referenced by operator<<().
|
private |
Definition at line 60 of file HcalCalibDataFrame.h.
Referenced by operator[](), sample(), setSample(), and validate().
|
private |
Definition at line 57 of file HcalCalibDataFrame.h.
Referenced by elecId(), and setReadoutIds().
|
private |
Definition at line 59 of file HcalCalibDataFrame.h.
Referenced by fiberIdleOffset(), presamples(), setFiberIdleOffset(), setPresamples(), setZSInfo(), zsCrossingMask(), zsMarkAndPass(), and zsUnsuppressed().
|
private |
Definition at line 56 of file HcalCalibDataFrame.h.
Referenced by id().
|
static |
Definition at line 54 of file HcalCalibDataFrame.h.
Referenced by setSize().
|
private |
Definition at line 58 of file HcalCalibDataFrame.h.
Referenced by setSize(), size(), and validate().