Skip to content

Commit ab55bfe

Browse files
fix copypaste issue
1 parent f2e355c commit ab55bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGJE/Tasks/trackEfficiency.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ struct TrackEfficiencyJets {
663663
return;
664664
}
665665

666-
float eventWeight = eventWeight;
666+
float eventWeight = mcCollision.weight();
667667
registry.fill(HIST("h_mccollisions"), 0.5);
668668
registry.fill(HIST("h_mccollisions_weighted"), 0.5, eventWeight);
669669

0 commit comments

Comments
 (0)