Typedefs | |
typedef uint16_t | sample_type |
Functions | |
constexpr int | adc (sample_type sample) |
get the ADC sample (12 bits) More... | |
constexpr int | gainId (sample_type sample) |
get the gainId (2 bits) More... | |
constexpr sample_type | pack (int adc, int gainId) |
typedef uint16_t ecalLiteDTU::sample_type |
Definition at line 9 of file EcalLiteDTUSample.h.
constexpr int ecalLiteDTU::adc | ( | sample_type | sample | ) |
get the ADC sample (12 bits)
Definition at line 12 of file EcalLiteDTUSample.h.
References ecalPh2::kAdcMask, and ecalGpuTask_cfi::sample.
Referenced by pack().
constexpr int ecalLiteDTU::gainId | ( | sample_type | sample | ) |
get the gainId (2 bits)
Definition at line 14 of file EcalLiteDTUSample.h.
References ecalPh2::kGainIdMask, ecalPh2::NBITS, and ecalGpuTask_cfi::sample.
Referenced by testChannel::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), TPedValues::checkEntries(), EcalUncalibRecHitTimingCCAlgo::computeTimeCC(), EcalUncalibRecHitRecChi2Algo< C >::EcalUncalibRecHitRecChi2Algo(), EcalCoder::encode(), EcalLiteDTUCoder::findPedestal(), EcalCoder::findPedestal(), EcalMixingModuleValidation::findPedestal(), TPedValues::insert(), EcalUncalibRecHitMultiFitAlgo::makeRecHit(), EcalUncalibRecHitRecWeightsAlgo< EBDataFrame >::makeRecHit(), EcalUncalibRecHitRecAnalFitAlgo< EBDataFrame >::makeRecHit(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::raw::Kernel_unpack::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_prep_1d_and_initialize::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_time_computation_init::operator()(), pack(), edm::DataMixingEMDigiWorker::putEM(), EcalPedOffset::readDACs(), EcalPedHists::readEBdigis(), EcalPedHists::readEEdigis(), TPedResult::reset(), EcalUncalibRecHitWorkerGlobal::run(), EcalUncalibRecHitWorkerMultiFit::run(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), TPedValues::terminate(), and EcalUncalibRecHitTimeWeightsAlgo< EBDataFrame >::time().
constexpr sample_type ecalLiteDTU::pack | ( | int | adc, |
int | gainId | ||
) |
Definition at line 15 of file EcalLiteDTUSample.h.
References adc(), gainId(), ecalPh2::kAdcMask, ecalPh2::kGainIdMask, and ecalPh2::NBITS.