Skip to content

Commit 8e5e9e0

Browse files
authored
[PWGLF] feat(lnnRecoTask): add pion TPC cluster cut (#10252)
1 parent dc88f54 commit 8e5e9e0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

PWGLF/TableProducer/Nuspex/lnnRecoTask.cxx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ struct lnnRecoTask {
159159
Configurable<float> nSigmaCutMinTPC{"nSigmaCutMinTPC", -5, "triton dEdx cut (n sigma)"};
160160
Configurable<float> nSigmaCutMaxTPC{"nSigmaCutMaxTPC", 5, "triton dEdx cut (n sigma)"};
161161
Configurable<float> nTPCClusMin3H{"nTPCClusMin3H", 80, "triton NTPC clusters cut"};
162+
Configurable<float> nTPCClusMinPi{"nTPCClusMinPi", 60, "pion NTPC clusters cut"};
162163
Configurable<float> ptMinTOF{"ptMinTOF", 0.8, "minimum pt for TOF cut"};
163164
Configurable<float> TrTOFMass2Cut{"TrTOFMass2Cut", 5.5, "minimum Triton mass square to TOF"};
164165
Configurable<float> BetaTrTOF{"BetaTrTOF", 0.4, "minimum beta TOF cut"};
@@ -350,7 +351,8 @@ struct lnnRecoTask {
350351
auto posTrack = v0.posTrack_as<TracksFull>();
351352
auto negTrack = v0.negTrack_as<TracksFull>();
352353

353-
if (std::abs(posTrack.eta()) > etaMax || std::abs(negTrack.eta()) > etaMax) {
354+
/// remove tracks wo TPC information, too much bkg for Lnn analysis
355+
if (std::abs(posTrack.eta()) > etaMax || std::abs(negTrack.eta()) > etaMax || !posTrack.hasTPC() || !negTrack.hasTPC()) {
354356
continue;
355357
}
356358

@@ -369,8 +371,8 @@ struct lnnRecoTask {
369371
hdEdxTot->Fill(-negRigidity, negTrack.tpcSignal());
370372

371373
// ITS only tracks do not have TPC information. TPCnSigma: only lower cut to allow for triton reconstruction
372-
bool is3H = posTrack.hasTPC() && nSigmaTPCpos > nSigmaCutMinTPC && nSigmaTPCpos < nSigmaCutMaxTPC;
373-
bool isAnti3H = negTrack.hasTPC() && nSigmaTPCneg > nSigmaCutMinTPC && nSigmaTPCneg < nSigmaCutMaxTPC;
374+
bool is3H = nSigmaTPCpos > nSigmaCutMinTPC && nSigmaTPCpos < nSigmaCutMaxTPC;
375+
bool isAnti3H = nSigmaTPCneg > nSigmaCutMinTPC && nSigmaTPCneg < nSigmaCutMaxTPC;
374376

375377
if (!is3H && !isAnti3H) // discard if both tracks are not 3H candidates
376378
continue;
@@ -392,13 +394,15 @@ struct lnnRecoTask {
392394
continue;
393395
}
394396
auto& h3track = lnnCand.isMatter ? posTrack : negTrack;
397+
auto& pitrack = lnnCand.isMatter ? negTrack : posTrack;
395398
auto& h3Rigidity = lnnCand.isMatter ? posRigidity : negRigidity;
396399

397400
if (h3Rigidity < TPCRigidityMin3H ||
398401
h3track.tpcNClsFound() < nTPCClusMin3H ||
399402
h3track.tpcChi2NCl() < Chi2nClusTPCMin ||
400403
h3track.tpcChi2NCl() > Chi2nClusTPCMax ||
401-
h3track.itsChi2NCl() > Chi2nClusITS) {
404+
h3track.itsChi2NCl() > Chi2nClusITS ||
405+
pitrack.tpcNClsFound() < nTPCClusMinPi) {
402406
continue;
403407
}
404408

0 commit comments

Comments
 (0)