File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,8 @@ struct JFlucEfficiencyTask {
279279 }
280280
281281 // Fill track histograms
282- for (const auto & track : tracks) {
282+ auto groupedTracks = tracks.sliceBy (perCollision, collision.globalIndex ());
283+ for (const auto & track : groupedTracks) {
283284 if (!track.has_cfMCParticle ()) {
284285 if (debugMode) {
285286 LOGF (debug, " Track without MC particle found" );
@@ -293,7 +294,7 @@ struct JFlucEfficiencyTask {
293294 if (track.sign () > 0 ) {
294295 registry.fill (HIST (" hPtRecDataPos" ), track.pt (), collision.multiplicity ());
295296 } else if (track.sign () < 0 ) {
296- registry.fill (HIST (" hPtRecDatfaNeg " ), track.pt (), collision.multiplicity ());
297+ registry.fill (HIST (" hPtRecDataNeg " ), track.pt (), collision.multiplicity ());
297298 }
298299 }
299300
You can’t perform that action at this time.
0 commit comments