#include <HcalQIESample.h>
Public Member Functions | |
constexpr int | adc () const |
get the ADC sample More... | |
constexpr int | capid () const |
get the Capacitor id More... | |
constexpr bool | dv () const |
is the Data Valid bit set? More... | |
constexpr bool | er () const |
is the error bit set? More... | |
constexpr int | fiber () const |
get the fiber number More... | |
constexpr int | fiberAndChan () const |
get the id channel More... | |
constexpr int | fiberChan () const |
get the fiber channel number More... | |
constexpr | HcalQIESample () |
constexpr | HcalQIESample (int adc, int capid, int fiber, int fiberchan, bool dv=true, bool er=false) |
constexpr | HcalQIESample (uint16_t data) |
constexpr double | nominal_fC () const |
get the nominal FC (no calibrations applied) More... | |
constexpr uint16_t | operator() () |
for streaming More... | |
constexpr uint16_t | raw () const |
get the raw word More... | |
Private Attributes | |
uint16_t | theSample |
Simple container packer/unpacker for a single QIE data word
Definition at line 32 of file HcalQIESample.h.
|
inlineconstexpr |
Definition at line 34 of file HcalQIESample.h.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
get the ADC sample
Definition at line 43 of file HcalQIESample.h.
References theSample.
Referenced by LEDTask::_process(), LaserTask::_process(), CastorPedestalAnalysis::AllChanHists(), HcalPedestalAnalysis::AllChanHists(), JetToDigiDump::analyze(), CastorPedestalsAnalysis::analyze(), HLTHcalLaserMisfireFilter::filter(), nominal_fC(), operator<<(), UHTRpacker::packQIE8sample(), CastorPedestalAnalysis::per2CapsHists(), HcalPedestalAnalysis::per2CapsHists(), HcalLedAnalysis::ProcessCalibEvent(), CastorDigiMonitor::processEvent(), CastorLEDMonitor::processEvent(), and L1Analysis::L1AnalysisL1HO::SetHO().
|
inlineconstexpr |
get the Capacitor id
Definition at line 47 of file HcalQIESample.h.
References theSample.
Referenced by JetToDigiDump::analyze(), CastorPedestalsAnalysis::analyze(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), operator<<(), UHTRpacker::packQIE8header(), UHTRpacker::packQIE8sample(), CastorPedestalAnalysis::per2CapsHists(), HcalPedestalAnalysis::per2CapsHists(), CastorDigiMonitor::processEvent(), HcalCalibDataFrame::validate(), CastorDataFrame::validate(), ZDCDataFrame::validate(), HBHEDataFrame::validate(), HODataFrame::validate(), and HFDataFrame::validate().
|
inlineconstexpr |
is the Data Valid bit set?
Definition at line 49 of file HcalQIESample.h.
References theSample.
Referenced by operator<<(), UHTRpacker::packQIE8sample(), CastorDigiMonitor::processEvent(), and L1Analysis::L1AnalysisL1HO::SetHO().
|
inlineconstexpr |
is the error bit set?
Definition at line 51 of file HcalQIESample.h.
References theSample.
Referenced by operator<<(), UHTRpacker::packQIE8header(), UHTRpacker::packQIE8sample(), CastorDigiMonitor::processEvent(), and L1Analysis::L1AnalysisL1HO::SetHO().
|
inlineconstexpr |
get the fiber number
Definition at line 53 of file HcalQIESample.h.
References theSample.
Referenced by CastorUnpacker_impl::unpack(), HcalUnpacker_impl::unpack(), CastorUnpacker::unpack(), and HcalUnpacker::unpackVME().
|
inlineconstexpr |
get the id channel
Definition at line 57 of file HcalQIESample.h.
References theSample.
Referenced by CastorUnpacker_impl::unpack(), HcalUnpacker_impl::unpack(), CastorUnpacker::unpack(), and HcalUnpacker::unpackVME().
|
inlineconstexpr |
get the fiber channel number
Definition at line 55 of file HcalQIESample.h.
References theSample.
Referenced by CastorUnpacker_impl::unpack(), HcalUnpacker_impl::unpack(), CastorUnpacker::unpack(), and HcalUnpacker::unpackVME().
|
inlineconstexpr |
get the nominal FC (no calibrations applied)
Definition at line 45 of file HcalQIESample.h.
References adc(), and nominal_adc2fc.
Referenced by HFRaddamTask::_process(), LaserTask::_process(), JetToDigiDump::analyze(), and ZDCDigiStudy::analyze().
|
inlineconstexpr |
|
inlineconstexpr |
get the raw word
Definition at line 41 of file HcalQIESample.h.
References theSample.
Referenced by CastorPacker::pack(), HcalPacker::pack(), CastorUnpacker::unpack(), and HcalUnpacker::unpackVME().
|
private |
Definition at line 63 of file HcalQIESample.h.
Referenced by adc(), capid(), dv(), er(), fiber(), fiberAndChan(), fiberChan(), operator()(), and raw().