1 #ifndef DataFormats_HcalRecHit_HcalSpecialTimes_h_ 2 #define DataFormats_HcalRecHit_HcalSpecialTimes_h_ 57 float t = tdc_to_ns*tdc;
58 if (tdc > six_bits_mask || tdc < 0)
60 else if (tdc == tdc_code_overshoot)
62 else if (tdc == tdc_code_undershoot)
64 else if (tdc == tdc_code_invalid)
66 else if (tdc > tdc_code_invalid)
73 #endif // DataFormats_HcalRecHit_HcalSpecialTimes_h_ float getTDCTime(const int tdc)
constexpr float UNKNOWN_T_DLL_FAILURE
constexpr float UNKNOWN_T_UNDERSHOOT
constexpr float UNKNOWN_T_INVALID_RANGE
constexpr float UNKNOWN_T_OVERSHOOT
constexpr float UNKNOWN_T_INVALID_CODE
bool isSpecial(const float t)
constexpr float UNKNOWN_T_NOTDC