#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 (uint16_t data) |
constexpr | HcalQIESample (int adc, int capid, int fiber, int fiberchan, bool dv=true, bool er=false) |
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 41 of file HcalQIESample.h.
|
inline |
Definition at line 43 of file HcalQIESample.h.
|
inline |
Definition at line 46 of file HcalQIESample.h.
|
inline |
Definition at line 49 of file HcalQIESample.h.
|
inline |
get the ADC sample
Definition at line 59 of file HcalQIESample.h.
References theSample.
Referenced by HcaluLUTTPGCoder::adc2Linear(), CastorPedestalAnalysis::AllChanHists(), HcalPedestalAnalysis::AllChanHists(), JetToDigiDump::analyze(), CastorPedestalsAnalysis::analyze(), HLTHcalLaserMisfireFilter::filter(), HcaluLUTTPGCoder::lookupMSB(), nominal_fC(), operator<<(), UHTRpacker::packQIE8sample(), CastorPedestalAnalysis::per2CapsHists(), HcalPedestalAnalysis::per2CapsHists(), HcalLedAnalysis::ProcessCalibEvent(), CastorDigiMonitor::processEvent(), CastorLEDMonitor::processEvent(), and L1Analysis::L1AnalysisL1HO::SetHO().
|
inline |
get the Capacitor id
Definition at line 65 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(), HFDataFrame::validate(), HODataFrame::validate(), and HBHEDataFrame::validate().
|
inline |
is the Data Valid bit set?
Definition at line 67 of file HcalQIESample.h.
References theSample.
Referenced by operator<<(), UHTRpacker::packQIE8sample(), CastorDigiMonitor::processEvent(), and L1Analysis::L1AnalysisL1HO::SetHO().
|
inline |
is the error bit set?
Definition at line 69 of file HcalQIESample.h.
References theSample.
Referenced by operator<<(), UHTRpacker::packQIE8header(), UHTRpacker::packQIE8sample(), CastorDigiMonitor::processEvent(), and L1Analysis::L1AnalysisL1HO::SetHO().
|
inline |
get the fiber number
Definition at line 71 of file HcalQIESample.h.
References theSample.
Referenced by CastorUnpacker_impl::unpack(), HcalUnpacker_impl::unpack(), CastorUnpacker::unpack(), and HcalUnpacker::unpackVME().
|
inline |
get the id channel
Definition at line 75 of file HcalQIESample.h.
References theSample.
Referenced by CastorUnpacker_impl::unpack(), HcalUnpacker_impl::unpack(), CastorUnpacker::unpack(), and HcalUnpacker::unpackVME().
|
inline |
get the fiber channel number
Definition at line 73 of file HcalQIESample.h.
References theSample.
Referenced by CastorUnpacker_impl::unpack(), HcalUnpacker_impl::unpack(), CastorUnpacker::unpack(), and HcalUnpacker::unpackVME().
|
inline |
get the nominal FC (no calibrations applied)
Definition at line 61 of file HcalQIESample.h.
References adc(), and nominal_adc2fc.
Referenced by HFRaddamTask::_process(), JetToDigiDump::analyze(), ZDCDigiStudy::analyze(), HBHETimeProfileStatusBitSetter::TotalEnergyInDataFrame(), and HBHETimeProfileStatusBitSetter::~HBHETimeProfileStatusBitSetter().
|
inline |
|
inline |
get the raw word
Definition at line 57 of file HcalQIESample.h.
References theSample.
Referenced by CastorPacker::pack(), HcalPacker::pack(), CastorUnpacker::unpack(), and HcalUnpacker::unpackVME().
|
private |
Definition at line 81 of file HcalQIESample.h.
Referenced by adc(), capid(), dv(), er(), fiber(), fiberAndChan(), fiberChan(), operator()(), and raw().