Skip to content

Commit 4231c2c

Browse files
fix variables declaration
1 parent bf88717 commit 4231c2c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

PWGJE/Tasks/trackEfficiency.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,7 @@ struct TrackEfficiency {
558558
}
559559
registry.fill(HIST("hTrackCutsCounts"), 2.5);
560560

561-
float pTHat = 10. / (std::pow(weight, 1.0 / pTHatExponent));
562-
if (jet.pt() > pTHatMaxFractionMCD * pTHat) {
561+
if (track.pt() > pTHatMaxFractionMCD * pTHat) {
563562
continue;
564563
}
565564
registry.fill(HIST("hTrackCutsCounts"), 3.5);

0 commit comments

Comments
 (0)