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 ecalMGPA::sample_type |
Definition at line 9 of file EcalMGPASample.h.
constexpr int ecalMGPA::adc | ( | sample_type | sample | ) |
get the ADC sample (12 bits)
Definition at line 12 of file EcalMGPASample.h.
References ecalPh1::kAdcMask, and ecalGpuTask_cfi::sample.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_prep_1d_and_initialize::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_time_computation_init::operator()(), and pack().
constexpr int ecalMGPA::gainId | ( | sample_type | sample | ) |
get the gainId (2 bits)
Definition at line 14 of file EcalMGPASample.h.
References ecalPh1::kGainIdMask, ecalPh1::NBITS, and ecalGpuTask_cfi::sample.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_prep_1d_and_initialize::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_time_compute_fixMGPAslew::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_time_computation_init::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_time_correction_and_finalize::operator()(), and pack().
constexpr sample_type ecalMGPA::pack | ( | int | adc, |
int | gainId | ||
) |
Definition at line 15 of file EcalMGPASample.h.
References adc(), gainId(), ecalPh1::kAdcMask, ecalPh1::kGainIdMask, and ecalPh1::NBITS.