Skip to content

Commit 46308d2

Browse files
DelloStrittoLuigi Dello Stritto
andauthored
[PWGHF] Add Lc inv mass cut in the LcpK0s selector (#11109)
Co-authored-by: Luigi Dello Stritto <ldellost@alicecerno2.cern.ch>
1 parent 8a58962 commit 46308d2

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

PWGHF/Core/SelectorCuts.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ static const std::vector<std::string> labelsCutKfVar = {"kfChi2PrimPr", "kfChi2P
528528
namespace hf_cuts_lc_to_k0s_p
529529
{
530530
static constexpr int NBinsPt = 8;
531-
static constexpr int NCutVars = 8;
531+
static constexpr int NCutVars = 9;
532532
// default values for the pT bin edges (can be used to configure histogram axis)
533533
// offset by 1 from the bin numbers in cuts array
534534
constexpr double BinsPt[NBinsPt + 1] = {
@@ -544,15 +544,15 @@ constexpr double BinsPt[NBinsPt + 1] = {
544544
auto vecBinsPt = std::vector<double>{BinsPt, BinsPt + NBinsPt + 1};
545545

546546
// default values for the cuts
547-
// mK0s(GeV) mLambdas(GeV) mGammas(GeV) ptp ptK0sdau ptK0s d0p d0K0
548-
constexpr double Cuts[NBinsPt][NCutVars] = {{0.008, 0.005, 0.1, 0.5, 0.3, 0.6, 0.05, 999999.}, // 1 < pt < 2
549-
{0.008, 0.005, 0.1, 0.5, 0.4, 1.3, 0.05, 999999.}, // 2 < pt < 3
550-
{0.009, 0.005, 0.1, 0.6, 0.4, 1.3, 0.05, 999999.}, // 3 < pt < 4
551-
{0.011, 0.005, 0.1, 0.6, 0.4, 1.4, 0.05, 999999.}, // 4 < pt < 5
552-
{0.013, 0.005, 0.1, 0.6, 0.4, 1.4, 0.06, 999999.}, // 5 < pt < 6
553-
{0.013, 0.005, 0.1, 0.9, 0.4, 1.6, 0.09, 999999.}, // 6 < pt < 8
554-
{0.016, 0.005, 0.1, 0.9, 0.4, 1.7, 0.10, 999999.}, // 8 < pt < 12
555-
{0.019, 0.005, 0.1, 1.0, 0.4, 1.9, 0.20, 999999.}}; // 12 < pt < 24
547+
// mLc(GeV) mK0s(GeV) mLambdas(GeV) mGammas(GeV) ptp ptK0sdau ptK0s d0p d0K0
548+
constexpr double Cuts[NBinsPt][NCutVars] = {{0.4, 0.008, 0.005, 0.1, 0.5, 0.3, 0.6, 0.05, 999999.}, // 1 < pt < 2
549+
{0.4, 0.008, 0.005, 0.1, 0.5, 0.4, 1.3, 0.05, 999999.}, // 2 < pt < 3
550+
{0.4, 0.009, 0.005, 0.1, 0.6, 0.4, 1.3, 0.05, 999999.}, // 3 < pt < 4
551+
{0.4, 0.011, 0.005, 0.1, 0.6, 0.4, 1.4, 0.05, 999999.}, // 4 < pt < 5
552+
{0.4, 0.013, 0.005, 0.1, 0.6, 0.4, 1.4, 0.06, 999999.}, // 5 < pt < 6
553+
{0.4, 0.013, 0.005, 0.1, 0.9, 0.4, 1.6, 0.09, 999999.}, // 6 < pt < 8
554+
{0.4, 0.016, 0.005, 0.1, 0.9, 0.4, 1.7, 0.10, 999999.}, // 8 < pt < 12
555+
{0.4, 0.019, 0.005, 0.1, 1.0, 0.4, 1.9, 0.20, 999999.}}; // 12 < pt < 24
556556

557557
// row labels
558558
static const std::vector<std::string> labelsPt = {
@@ -566,7 +566,7 @@ static const std::vector<std::string> labelsPt = {
566566
"pT bin 7"};
567567

568568
// column labels
569-
static const std::vector<std::string> labelsCutVar = {"mK0s", "mLambda", "mGamma", "ptBach", "ptV0Dau", "ptV0", "d0Bach", "d0V0"};
569+
static const std::vector<std::string> labelsCutVar = {"mLc", "mK0s", "mLambda", "mGamma", "ptBach", "ptV0Dau", "ptV0", "d0Bach", "d0V0"};
570570
} // namespace hf_cuts_lc_to_k0s_p
571571

572572
namespace hf_cuts_dplus_to_pi_k_pi

PWGHF/TableProducer/candidateSelectorLcToK0sP.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ struct HfCandidateSelectorLcToK0sP {
148148
return false; // check that the candidate pT is within the analysis range
149149
}
150150

151+
if (std::abs(hfHelper.invMassLcToK0sP(hfCandCascade) - o2::constants::physics::MassLambdaCPlus) > cuts->get(ptBin, "mLc")) {
152+
return false; // mass of the Lambda c
153+
}
154+
151155
if (std::abs(hfCandCascade.mK0Short() - o2::constants::physics::MassK0Short) > cuts->get(ptBin, "mK0s")) {
152156
return false; // mass of the K0s
153157
}

0 commit comments

Comments
 (0)