@@ -131,8 +131,8 @@ struct tracksWGTInBCs {
131131 // compute the BC closest in time
132132 auto firstCompatibleBC = ambTracksSlice.begin ().bc ().begin ().globalBC ();
133133 LOGF (debug, " First compatible BC %d Track time %f" , firstCompatibleBC, track.trackTime ());
134- closestBC = ( uint64_t ) (firstCompatibleBC +
135- (track.trackTime () / o2::constants::lhc::LHCBunchSpacingNS));
134+ closestBC = static_cast < uint64_t > (firstCompatibleBC +
135+ (track.trackTime () / o2::constants::lhc::LHCBunchSpacingNS));
136136 } else {
137137 // this track is not ambiguous, has hence a unique association to a collision/BC
138138 if (!track.has_collision ()) {
@@ -147,7 +147,7 @@ struct tracksWGTInBCs {
147147
148148 // update tracksInBCList
149149 LOGF (debug, " Updating tracksInBCList with %d" , closestBC);
150- tracksInBCList[closestBC].emplace_back (( int32_t ) track.globalIndex ());
150+ tracksInBCList[closestBC].emplace_back (static_cast < int32_t >( track.globalIndex () ));
151151 }
152152 }
153153
@@ -215,8 +215,8 @@ struct tracksWGTInBCs {
215215
216216 // compute the BC closest in time
217217 auto firstCompatibleBC = ambFwdTracksSlice.begin ().bc ().begin ().globalBC ();
218- closestBC = ( uint64_t ) (firstCompatibleBC +
219- (fwdTrack.trackTime () / o2::constants::lhc::LHCBunchSpacingNS));
218+ closestBC = static_cast < uint64_t > (firstCompatibleBC +
219+ (fwdTrack.trackTime () / o2::constants::lhc::LHCBunchSpacingNS));
220220 } else {
221221 // this track is not ambiguous, has hence a unique association to a collision/BC
222222 if (!fwdTrack.has_collision ()) {
@@ -231,7 +231,7 @@ struct tracksWGTInBCs {
231231
232232 // update tracksInBCList
233233 LOGF (debug, " Updating fwdTracksInBCList with %d" , closestBC);
234- fwdTracksInBCList[closestBC].emplace_back (( int32_t ) fwdTrack.globalIndex ());
234+ fwdTracksInBCList[closestBC].emplace_back (static_cast < int32_t >( fwdTrack.globalIndex () ));
235235 }
236236 }
237237
@@ -385,7 +385,7 @@ struct DGBCCandProducer {
385385
386386 void init (InitContext& context)
387387 {
388- diffCuts = ( DGCutparHolder) DGCuts;
388+ diffCuts = DGCutparHolder ( DGCuts) ;
389389
390390 if (context.mOptions .get <bool >(" processTinBCs" )) {
391391 registry.add (" table/candCase" , " #candCase" , {HistType::kTH1F , {{4 , -0.5 , 3.5 }}});
0 commit comments