Skip to content

Commit 13d61ef

Browse files
Fix nSigmaCombPiMax configuration and condition
1 parent 6b2f79c commit 13d61ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGHF/HFC/TableProducer/producerCharmHadronsTrackFemtoDream.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ struct HfProducerCharmHadronsTrackFemtoDream {
154154
Configurable<float> nSigmaTpcElMin{"nSigmaTpcElMin", 3.f, "Kaon PID Method1: require |nSigmaTpcEl| > this (electron)"};
155155
Configurable<float> nSigmaCombKaMax{"nSigmaCombKaMax", 3.f, "Kaon PID Method2: require |nSigmaCombKa| < this"};
156156
Configurable<float> nSigmaCombKaTightMax{"nSigmaCombKaTightMax", 2.f, "Kaon PID Method2: for p > pTrackTightMin require |nSigmaCombKa| < this"};
157-
Configurable<float> nSigmaCombPiMax{"nSigmaCombPiMax", 6.f, "Kaon PID Method2: for p > pTrackTightMin require |nSigmaCombPi| < this"};
157+
Configurable<float> {"", 6.f, "Kaon PID Method2: for p > pTrackTightMin require |nSigmaCombPi| < this"};
158158
} kaonPidSel;
159159

160160
Configurable<bool> isDebug{"isDebug", true, "Enable Debug tables"};
@@ -391,7 +391,7 @@ struct HfProducerCharmHadronsTrackFemtoDream {
391391
if (std::abs(nSigmaCombKa) >= kaonPidSel.nSigmaCombKaTightMax) {
392392
isTrackKaonPidMethod2 = false;
393393
}
394-
if (std::abs(nSigmaCombPi) >= kaonPidSel.nSigmaCombPiMax) {
394+
if (std::abs(nSigmaCombPi) <= kaonPidSel.nSigmaCombPiMax) {
395395
isTrackKaonPidMethod2 = false;
396396
}
397397
}

0 commit comments

Comments
 (0)