diff --git a/core/data/sts/CbmStsDigi.h b/core/data/sts/CbmStsDigi.h index ab50018657bd53b4ca6e9ead5a6723bdfe9b7906..458abe19fcbc1bd2913ee6489481e3ce1fb3d5ff 100644 --- a/core/data/sts/CbmStsDigi.h +++ b/core/data/sts/CbmStsDigi.h @@ -58,12 +58,8 @@ public: ** @param time Measurement time [ns] ** @param charge Charge [ADC units] **/ - XPU_D CbmStsDigi(int32_t address, int32_t channel, double time, uint16_t charge) + XPU_D CbmStsDigi(int32_t address, int32_t channel, uint32_t time, uint16_t charge) { - // StsDigi is not able to store negative timestamps. - assert(time >= 0); - // StsDigi has a maximal time range of ~2.1s (2 147 483 647 ns). - assert(time <= kMaxTimestamp); PackAddressAndTime(address, time); PackChannelAndCharge(channel, charge); }