File tree Expand file tree Collapse file tree
PWGCF/TwoParticleCorrelations/Tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1710,6 +1710,7 @@ struct Lambdastarproxy {
17101710 Configurable<float > lstarCutNsigmaTOFKaon{" lstarCutNsigmaTOFKaon" , float {NsigmaTOFDefault}, " |nSigma^{TOF}_{K}| cut" };
17111711 Configurable<float > lstarCutNsigmaTPCDe{" lstarCutNsigmaTPCDe" , float {NsigmaTPCDefault}, " |nSigma^{TPC}_{d}| cut" };
17121712 Configurable<float > lstarCutNsigmaTOFDe{" lstarCutNsigmaTOFDe" , float {NsigmaTOFDefault}, " |nSigma^{TOF}_{d}| cut" };
1713+ Configurable<int > lstarEnableTOFNsigmaCutDe{" lstarEnableTOFNsigmaCutDe" , 0 , " Enable deuteron-only TOF nSigma cut in PID strategy 2" };
17131714 // Optional deuteron-only TOF auxiliary selections.
17141715 // Defaults are OFF, so strategy 2 remains TPC nSigma only for deuterons.
17151716 Configurable<int > lstarEnableBetaCutDe{" lstarEnableBetaCutDe" , 0 , " Enable deuteron-only TOF beta cut using beta() > lstarBetaCutDe" };
@@ -2453,7 +2454,16 @@ struct Lambdastarproxy {
24532454 // For deuterons, follow the default idea of the official nuclei task:
24542455 // use TPC nσ as the main hard PID selection.
24552456 if (isDeuteron) {
2456- return std::abs (nsTPC) < tpcCut;
2457+ if (std::abs (nsTPC) >= tpcCut) {
2458+ return false ;
2459+ }
2460+ if (lstarEnableTOFNsigmaCutDe.value != 0 ) {
2461+ if (!hasTof) {
2462+ return false ;
2463+ }
2464+ return std::abs (nsTOF) < tofCut;
2465+ }
2466+ return true ;
24572467 }
24582468
24592469 // For kaons/protons, use the Lambda(1520)-like pT-ref circular TPC+TOF logic.
You can’t perform that action at this time.
0 commit comments