1 #ifndef DataFormats_HcalRecHit_HcalSpecialTimes_h_ 2 #define DataFormats_HcalRecHit_HcalSpecialTimes_h_ 59 constexpr int tdc_code_largestnormal = 49;
64 float t = tdc_to_ns * tdc;
65 if (tdc > six_bits_mask || tdc < 0)
67 else if (tdc > tdc_code_largestnormal) {
70 if (tdc == tdc_code_undershoot)
72 else if (tdc == tdc_code_overshoot)
74 else if (tdc == tdc_code_invalid)
76 else if (tdc < tdc_code_invalid)
86 #endif // DataFormats_HcalRecHit_HcalSpecialTimes_h_
constexpr float UNKNOWN_T_DLL_FAILURE
constexpr float UNKNOWN_T_UNDERSHOOT
constexpr float getTDCTime(const int tdc)
constexpr float UNKNOWN_T_INVALID_RANGE
constexpr float UNKNOWN_T_OVERSHOOT
constexpr float UNKNOWN_T_INVALID_CODE
constexpr float UNKNOWN_T_50TO57
constexpr bool isSpecial(const float t)
constexpr float UNKNOWN_T_NOTDC