Skip to content

Commit b06e249

Browse files
Update HFFilterHelpers.h
1 parent e18f23f commit b06e249

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

EventFiltering/PWGHF/HFFilterHelpers.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ constexpr float cutsNsigma[4][7] = {
285285
{3., 3., 3., 5., 3., 3., 5.}, // TPC proton from Lc, pi/K from D0, K from 3-prong, femto selected proton, pi/K from Xic/Omegac, K from Xic*->SigmaC-Kaon, femto selected deuteron
286286
{3., 3., 3., 2.5, 3., 3., 5.}, // TOF proton from Lc, pi/K from D0, K from 3-prong, femto selected proton, pi/K from Xic/Omegac, K from Xic*->SigmaC-Kaon, femto selected deuteron
287287
{999., 999., 999., 2.5, 999., 999., 5.}, // Sum in quadrature of TPC and TOF (used only for femto selected proton and deuteron for pT < 4 GeV/c)
288-
{999., 999., 999., 999., 999., 999., 4.} // used only for femto selected deuteron for less than pt threshold
288+
{999., 999., 999., 999., 999., 999., -3.} // ITS used only for femto selected deuteron for less than pt threshold
289289
};
290290
static const std::vector<std::string> labelsColumnsNsigma = {"PrFromLc", "PiKaFromDZero", "KaFrom3Prong", "PrForFemto", "PiKaFromCharmBaryon", "SoftKaonFromXicResoToSigmaC", "DeForFemto"};
291291
static const std::vector<std::string> labelsRowsNsigma = {"TPC", "TOF", "Comb", "ITS"};
@@ -636,8 +636,8 @@ class HfFilterHelper
636636
float mPtMinSigmaC2520Zero{0.f}; // pt min SigmaC(2520)0 candidate
637637
float mPtMinSigmaCPlusPlus{0.f}; // pt min SigmaC++ candidate
638638
float mPtMinSigmaC2520PlusPlus{0.f}; // pt min SigmaC(2520)++ candidate
639-
std::array<float, 4> mNSigmaPrCutsForFemto{3., 3., 3., 4.}; // cut values for Nsigma TPC, TOF, combined, ITS for femto protons
640-
std::array<float, 4> mNSigmaDeCutsForFemto{3., 3., 3., 4.}; // cut values for Nsigma TPC, TOF, combined, ITS for femto deuterons
639+
std::array<float, 4> mNSigmaPrCutsForFemto{3., 3., 3., -3.}; // cut values for Nsigma TPC, TOF, combined, ITS for femto protons
640+
std::array<float, 4> mNSigmaDeCutsForFemto{3., 3., 3., -3.}; // cut values for Nsigma TPC, TOF, combined, ITS for femto deuterons
641641
float mNSigmaTpcPrCutForCharmBaryons{3.}; // maximum Nsigma TPC for protons in Lc and Xic decays
642642
float mNSigmaTofPrCutForCharmBaryons{3.}; // maximum Nsigma TOF for protons in Lc and Xic decays
643643
float mNSigmaTpcKaCutFor3Prongs{3.}; // maximum Nsigma TPC for kaons in 3-prong decays
@@ -876,7 +876,7 @@ inline bool HfFilterHelper::isSelectedTrack4Femto(const T1& track, const T2& tra
876876
if (trackSpecies == kDeuteronForFemto) {
877877
// Apply different PID strategy in different pt range
878878
if (pt <= ptThresholdPidStrategy) {
879-
if (std::fabs(NSigmaTPC) > nSigmaCuts[0] && std::fabs(NSigmaITS) > nSigmaCuts[3]) { // Use TPC and ITS below the threshold
879+
if (std::fabs(NSigmaTPC) > nSigmaCuts[0] && NSigmaITS > nSigmaCuts[3]) { // Use TPC and ITS below the threshold, NSigmaITS for deuteron with a lower limit
880880
return false;
881881
}
882882
} else {

0 commit comments

Comments
 (0)