Skip to content

Commit 08f034c

Browse files
committed
fix the selection
1 parent 2eb00bb commit 08f034c

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

PWGHF/Core/SelectorCuts.h

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,8 +1520,7 @@ static const std::vector<std::string> labelsCutVar = {"max pKpi mass Lc", "max p
15201520
namespace hf_cuts_cd_to_de_k_pi
15211521
{
15221522
static constexpr int NBinsPt = 6;
1523-
static constexpr int NCutVars = 11;
1524-
static constexpr int NCutKfVars = 12;
1523+
static constexpr int NCutVars = 10;
15251524
// default values for the pT bin edges (can be used to configure histogram axis)
15261525
// offset by 1 from the bin numbers in cuts array
15271526
constexpr double BinsPt[NBinsPt + 1] = {
@@ -1535,21 +1534,12 @@ constexpr double BinsPt[NBinsPt + 1] = {
15351534
const auto vecBinsPt = std::vector<double>{BinsPt, BinsPt + NBinsPt + 1};
15361535

15371536
// default values for the cuts m, ptP, ptK, ptPi, chi2PCA, dL, cosp, dLXY, NdLXY, ImpParXY, mass(Kpi)
1538-
constexpr double Cuts[NBinsPt][NCutVars] = {{0.4, 0.4, 0.4, 0.4, 0., 0.005, 0., 0., 0., 1e+10, -1.}, /* 0 < pT < 2 */
1539-
{0.4, 0.4, 0.4, 0.4, 0., 0.005, 0., 0., 0., 1e+10, -1.}, /* 2 < pT < 4 */
1540-
{0.4, 0.4, 0.4, 0.4, 0., 0.005, 0., 0., 0., 1e+10, -1.}, /* 4 < pT < 6 */
1541-
{0.4, 0.4, 0.4, 0.4, 0., 0.005, 0., 0., 0., 1e+10, -1.}, /* 6 < pT < 8 */
1542-
{0.4, 0.4, 0.4, 0.4, 0., 0.005, 0., 0., 0., 1e+10, -1.}, /* 8 < pT < 12 */
1543-
{0.4, 0.4, 0.4, 0.4, 0., 0.005, 0., 0., 0., 1e+10, -1.}}; /* 12 < pT < 24 */
1544-
1545-
// default value for the cuts Chi2Prim Chi2Geo DCA, cm Chi2Geo Chi2Topo
1546-
// P K Pi KPi PPi PK KPi PPi PK ↓ LdL ↓
1547-
constexpr double CutsKf[NBinsPt][NCutKfVars] = {{3., 3., 3., 3., 3., 3., 0.01, 0.01, 0.01, 3., 5., 5.}, /* 0 < pT < 2 */
1548-
{3., 3., 3., 3., 3., 3., 0.01, 0.01, 0.01, 3., 5., 5.}, /* 2 < pT < 4 */
1549-
{3., 3., 3., 3., 3., 3., 0.01, 0.01, 0.01, 3., 5., 5.}, /* 4 < pT < 6 */
1550-
{3., 3., 3., 3., 3., 3., 0.01, 0.01, 0.01, 3., 5., 5.}, /* 6 < pT < 8 */
1551-
{3., 3., 3., 3., 3., 3., 0.01, 0.01, 0.01, 3., 5., 5.}, /* 8 < pT < 12 */
1552-
{3., 3., 3., 3., 3., 3., 0.01, 0.01, 0.01, 3., 5., 5.}}; /* 12 < pT < 24 */
1537+
constexpr double Cuts[NBinsPt][NCutVars] = {{0.4, 0.4, 0.4, 0.4, 0., 0.005, 0., 0., 0., 1e+10}, /* 0 < pT < 2 */
1538+
{0.4, 0.4, 0.4, 0.4, 0., 0.005, 0., 0., 0., 1e+10}, /* 2 < pT < 4 */
1539+
{0.4, 0.4, 0.4, 0.4, 0., 0.005, 0., 0., 0., 1e+10}, /* 4 < pT < 6 */
1540+
{0.4, 0.4, 0.4, 0.4, 0., 0.005, 0., 0., 0., 1e+10}, /* 6 < pT < 8 */
1541+
{0.4, 0.4, 0.4, 0.4, 0., 0.005, 0., 0., 0., 1e+10}, /* 8 < pT < 12 */
1542+
{0.4, 0.4, 0.4, 0.4, 0., 0.005, 0., 0., 0., 1e+10}}; /* 12 < pT < 24 */
15531543

15541544
// row labels
15551545
static const std::vector<std::string> labelsPt = {
@@ -1561,7 +1551,7 @@ static const std::vector<std::string> labelsPt = {
15611551
"pT bin 5"};
15621552

15631553
// column labels
1564-
static const std::vector<std::string> labelsCutVar = {"m", "pT De", "pT K", "pT Pi", "Chi2PCA", "decay length", "cos pointing angle", "decLengthXY", "normDecLXY", "impParXY", "mass (Kpi)"};
1554+
static const std::vector<std::string> labelsCutVar = {"m", "pT De", "pT K", "pT Pi", "Chi2PCA", "decay length", "cos pointing angle", "decLengthXY", "normDecLXY", "impParXY"};
15651555
} // namespace hf_cuts_cd_to_de_k_pi
15661556

15671557
} // namespace o2::analysis

0 commit comments

Comments
 (0)