@@ -112,11 +112,11 @@ struct tracksWGTInBCs {
112112 LOGF (debug, " Number of BCs %d" , atr.bc ().size ());
113113 if (atr.bc ().size () > 0 ) {
114114 auto firstCompatibleBC = atr.bc ().begin ().globalBC ();
115- closestBC = ( uint64_t ) (firstCompatibleBC +
116- (track.trackTime () / o2::constants::lhc::LHCBunchSpacingNS));
115+ closestBC = static_cast < uint64_t > (firstCompatibleBC +
116+ (track.trackTime () / o2::constants::lhc::LHCBunchSpacingNS));
117117 // update tracksInBCList
118118 LOGF (debug, " closestBC %d" , closestBC);
119- tracksInBCList[closestBC].emplace_back (( int32_t ) track.globalIndex ());
119+ tracksInBCList[closestBC].emplace_back (static_cast < int32_t >( track.globalIndex () ));
120120 }
121121 } else {
122122 // registry.get<TH1>(HIST("barrelTracks"))->Fill(2., 1.);
@@ -128,7 +128,7 @@ struct tracksWGTInBCs {
128128
129129 // update tracksInBCList
130130 LOGF (debug, " closestBC %d" , closestBC);
131- tracksInBCList[closestBC].emplace_back (( int32_t ) track.globalIndex ());
131+ tracksInBCList[closestBC].emplace_back (static_cast < int32_t >( track.globalIndex () ));
132132 }
133133 }
134134 LOGF (debug, " track finished.\n " );
@@ -195,12 +195,12 @@ struct tracksWGTInBCs {
195195 LOGF (debug, " Number of BCs %d" , aftr.bc ().size ());
196196 if (aftr.bc ().size () > 0 ) {
197197 auto firstCompatibleBC = aftr.bc ().begin ().globalBC ();
198- closestBC = ( uint64_t ) (firstCompatibleBC +
199- (fwdTrack.trackTime () / o2::constants::lhc::LHCBunchSpacingNS));
198+ closestBC = static_cast < uint64_t > (firstCompatibleBC +
199+ (fwdTrack.trackTime () / o2::constants::lhc::LHCBunchSpacingNS));
200200
201201 // update fwdTracksWGTInBCList
202202 LOGF (debug, " closestBC %d" , closestBC);
203- fwdTracksWGTInBCList[closestBC].emplace_back (( int32_t ) fwdTrack.globalIndex ());
203+ fwdTracksWGTInBCList[closestBC].emplace_back (static_cast < int32_t >( fwdTrack.globalIndex () ));
204204 }
205205 } else {
206206 // registry.get<TH1>(HIST("forwardTracks"))->Fill(2., 1.);
@@ -212,7 +212,7 @@ struct tracksWGTInBCs {
212212
213213 // update fwdTracksWGTInBCList
214214 LOGF (debug, " closestBC %d" , closestBC);
215- fwdTracksWGTInBCList[closestBC].emplace_back (( int32_t ) fwdTrack.globalIndex ());
215+ fwdTracksWGTInBCList[closestBC].emplace_back (static_cast < int32_t >( fwdTrack.globalIndex () ));
216216 }
217217 }
218218 LOGF (debug, " FwdTrack finished.\n " );
@@ -282,7 +282,7 @@ struct DGBCFilterRun3 {
282282
283283 void init (InitContext&)
284284 {
285- diffCuts = ( DGCutparHolder) DGCuts;
285+ diffCuts = DGCutparHolder ( DGCuts) ;
286286 }
287287
288288 // some general Collisions and Tracks filter
0 commit comments