#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 32 of file HcalQIESample.h.
|
inline |
Definition at line 34 of file HcalQIESample.h.
|
inline |
|
inline |
Definition at line 36 of file HcalQIESample.h.
|
inline |
get the ADC sample
Definition at line 43 of file HcalQIESample.h.
References theSample.
Referenced by HODigiSortedTable::add(), CastorPedestalAnalysis::AllChanHists(), HcalPedestalAnalysis::AllChanHists(), JetToDigiDump::analyze(), ZDCDigiStudy::analyze(), CastorPedestalsAnalysis::analyze(), HLTHcalLaserMisfireFilter::filter(), 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 47 of file HcalQIESample.h.
References theSample.
Referenced by HODigiSortedTable::add(), 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().
|
inline |
is the Data Valid bit set?
Definition at line 49 of file HcalQIESample.h.
References theSample.
Referenced by HODigiSortedTable::add(), operator<<(), UHTRpacker::packQIE8sample(), CastorDigiMonitor::processEvent(), and L1Analysis::L1AnalysisL1HO::SetHO().
|
inline |
is the error bit set?
Definition at line 51 of file HcalQIESample.h.
References theSample.
Referenced by HODigiSortedTable::add(), operator<<(), UHTRpacker::packQIE8header(), UHTRpacker::packQIE8sample(), CastorDigiMonitor::processEvent(), and L1Analysis::L1AnalysisL1HO::SetHO().
|
inline |
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().
|
inline |
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().
|
inline |
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().
|
inline |
get the nominal FC (no calibrations applied)
Definition at line 45 of file HcalQIESample.h.
References adc(), and nominal_adc2fc.
Referenced by JetToDigiDump::analyze(), and ZDCDigiStudy::analyze().
|
inline |
|
inline |
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().