Skip to content

Commit 7b7d06e

Browse files
committed
Added configurables for parameters that control the kinkBuilder cuts
1 parent 76134d5 commit 7b7d06e

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

PWGLF/TableProducer/Strangeness/sigmaminustask.cxx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ struct sigmaminustask {
4949
Configurable<float> cutRapMotherMC{"cutRapMotherMC", 1.0f, "Rapidity cut for mother Sigma in MC"};
5050

5151
Configurable<bool> fillOutputTree{"fillOutputTree", true, "If true, fill the output tree with Kink candidates"};
52+
// Configurables for findable tracks (see kinkBuilder.cxx)
53+
Configurable<float> KBminPtMoth{"KBminPtMoth", 0.5, "Minimum pT of the mother"};
54+
Configurable<float> KBmaxPhiDiff{"KBmaxPhiDiff", 100, "Max phi difference between the kink daughter and the mother"};
55+
Configurable<float> KBetaMax{"KBetaMax", 1., "Max eta for both mother and daughter"};
56+
Configurable<float> KBnTPCClusMinDaug{"KBnTPCClusMinDaug", 80, "Min daug NTPC clusters"};
57+
Configurable<float> KBradiusCut{"KBradiusCut", 19.6213f, "Min reconstructed decay radius of the mother"};
5258

5359
Preslice<aod::KinkCands> mPerCol = aod::track::collisionId;
5460

@@ -414,7 +420,7 @@ struct sigmaminustask {
414420
continue;
415421
}
416422

417-
if (motherTrack.pt() > 0.5) {
423+
if (motherTrack.pt() > KBminPtMoth) {
418424
filterIndex += 1;
419425
rFindable.fill(HIST("hFilterIndex"), filterIndex);
420426
rFindable.fill(HIST("h2MCRadiusFilterIndex"), filterIndex, mcRadius);
@@ -425,7 +431,7 @@ struct sigmaminustask {
425431

426432
// 4 - daughter track ITS+TPC properties
427433
if (daughterTrack.itsNClsInnerBarrel() == 0 && daughterTrack.itsNCls() < 4 &&
428-
daughterTrack.tpcNClsCrossedRows() > 0.8 * daughterTrack.tpcNClsFindable() && daughterTrack.tpcNClsFound() > 80) {
434+
daughterTrack.tpcNClsCrossedRows() > 0.8 * daughterTrack.tpcNClsFindable() && daughterTrack.tpcNClsFound() > KBnTPCClusMinDaug) {
429435
filterIndex += 1;
430436
rFindable.fill(HIST("hFilterIndex"), filterIndex);
431437
rFindable.fill(HIST("h2MCRadiusFilterIndex"), filterIndex, mcRadius);
@@ -435,7 +441,7 @@ struct sigmaminustask {
435441
}
436442

437443
// 5 - geometric cuts: eta
438-
if (std::abs(motherTrack.eta()) < 1.0 && std::abs(daughterTrack.eta()) < 1.0) {
444+
if (std::abs(motherTrack.eta()) < KBetaMax && std::abs(daughterTrack.eta()) < KBetaMax) {
439445
filterIndex += 1;
440446
rFindable.fill(HIST("hFilterIndex"), filterIndex);
441447
rFindable.fill(HIST("h2MCRadiusFilterIndex"), filterIndex, mcRadius);
@@ -445,7 +451,7 @@ struct sigmaminustask {
445451
}
446452

447453
// 6 - geometric cuts: phi difference
448-
if (std::abs(motherTrack.phi() - daughterTrack.phi()) * radToDeg < 50.0) {
454+
if (std::abs(motherTrack.phi() - daughterTrack.phi()) * radToDeg < KBmaxPhiDiff) {
449455
filterIndex += 1;
450456
rFindable.fill(HIST("hFilterIndex"), filterIndex);
451457
rFindable.fill(HIST("h2MCRadiusFilterIndex"), filterIndex, mcRadius);
@@ -455,7 +461,7 @@ struct sigmaminustask {
455461
}
456462

457463
// 7 - radius cut
458-
if (recRadius > 19.6213f) {
464+
if (recRadius > KBradiusCut) {
459465
filterIndex += 1;
460466
rFindable.fill(HIST("hFilterIndex"), filterIndex);
461467
rFindable.fill(HIST("h2MCRadiusFilterIndex"), filterIndex, mcRadius);

0 commit comments

Comments
 (0)