Skip to content

Commit 6a6890f

Browse files
Update HFFilterHelpers.h
1 parent a91d846 commit 6a6890f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

EventFiltering/PWGHF/HFFilterHelpers.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,9 +1018,9 @@ inline bool HfFilterHelper::isSelectedTrack4Femto(const T1& track, const T2& tra
10181018
hTPCPID->Fill(track.p(), NSigmaTPC);
10191019
if ((!forceTof || track.hasTOF())) {
10201020
if (trackSpecies == kProtonForFemto)
1021-
hTOFPID->Fill(track.p(), NSigmaTOF);
1022-
else if (trackSpecies == kDeuteronForFemto && pt > ptThresholdPidStrategy)
1023-
hTOFPID->Fill(track.p(), NSigmaTOF);
1021+
hTOFPID->Fill(momentum, NSigmaTOF);
1022+
else if (trackSpecies == kDeuteronForFemto && momentum > ptThresholdPidStrategy)
1023+
hTOFPID->Fill(momentum, NSigmaTOF);
10241024
}
10251025
}
10261026

0 commit comments

Comments
 (0)