Skip to content

Commit e045081

Browse files
authored
fix required by o2 dev for tof pid (#1613)
1 parent e8938ec commit e045081

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Common/TableProducer/PID/pidTOFBase.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ struct tofEventTime {
306306
// Compute the TOF event time
307307
const auto evTimeTOF = evTimeMakerForTracks<TrksEvTime::iterator, filterForTOFEventTime, o2::pid::tof::ExpTimes>(tracksInCollision, response, diamond);
308308

309-
float t0AC[2] = {.0f, 999.f}; // Value and error of T0A or T0C or T0AC
310-
float t0TOF[2] = {evTimeTOF.mEventTime, evTimeTOF.mEventTimeError}; // Value and error of TOF
309+
float t0AC[2] = {.0f, 999.f}; // Value and error of T0A or T0C or T0AC
310+
float t0TOF[2] = {static_cast<float_t>(evTimeTOF.mEventTime), static_cast<float_t>(evTimeTOF.mEventTimeError)}; // Value and error of TOF
311311

312312
uint8_t flags = 0;
313313
int nGoodTracksForTOF = 0;

0 commit comments

Comments
 (0)