File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
PWGCF/Femto/TableProducer Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -404,13 +404,10 @@ struct PiDeuteronFemto {
404404 mQaRegistry .fill (HIST (" h2NsigmaPiTPC_preselection" ), candidate.tpcInnerParam (), tpcNSigmaPi);
405405 if (std::abs (candidate.pt ()) < settingCutPiptMin || std::abs (candidate.pt ()) > settingCutPiptMax)
406406 return false ;
407- if (candidate.hasTOF () && candidate.tpcInnerParam () > settingCutPinMinTOFPi) {
407+ if (candidate.hasTOF () && candidate.tpcInnerParam () >= settingCutPinMinTOFPi) {
408408 auto tofNSigmaPi = candidate.tofNSigmaPi ();
409409 auto combNsigma = std::sqrt (tofNSigmaPi * tofNSigmaPi + tpcNSigmaPi * tpcNSigmaPi);
410410
411- if (std::abs (tpcNSigmaPi) > settingCutNsigmaTPCPi) {
412- return false ;
413- }
414411 mQaRegistry .fill (HIST (" h2NsigmaPiTOF_preselection" ), candidate.pt (), tofNSigmaPi);
415412 if (combNsigma > settingCutNsigmaTOFTPCPi) {
416413 return false ;
@@ -419,7 +416,10 @@ struct PiDeuteronFemto {
419416 mQaRegistry .fill (HIST (" h2NsigmaPiTOF" ), candidate.sign () * candidate.pt (), tofNSigmaPi);
420417 mQaRegistry .fill (HIST (" h2NsigmaPiComb" ), candidate.sign () * candidate.pt (), combNsigma);
421418 return true ;
422- } else if (std::abs (tpcNSigmaPi) < settingCutNsigmaTPCPi) {
419+ } else if (candidate.tpcInnerParam () < settingCutPinMinTOFPi) {
420+ if (std::abs (tpcNSigmaPi) > settingCutNsigmaTPCPi) {
421+ return false ;
422+ }
423423 mQaRegistry .fill (HIST (" h2NsigmaPiTPC" ), candidate.sign () * candidate.pt (), tpcNSigmaPi);
424424 return true ;
425425 }
You can’t perform that action at this time.
0 commit comments