Skip to content

Commit ed9164a

Browse files
authored
Update SelectorCuts.h
1 parent 64fee44 commit ed9164a

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

PWGHF/Core/SelectorCuts.h

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,40 @@ static const std::vector<std::string> labelsPt = {
702702
static const std::vector<std::string> labelsCutVar = {"pT pi from Omegac"};
703703
} // namespace hf_cuts_omegac_to_omega_pi
704704

705+
namespace hf_cuts_omegacxic_to_omega_ka
706+
{
707+
static constexpr int NBinsPt = 4;
708+
static constexpr int NCutVars = 1;
709+
// default values for the pT bin edges (can be used to configure histogram axis)
710+
// offset by 1 from the bin numbers in cuts array
711+
constexpr double BinsPt[NBinsPt + 1] = {
712+
713+
1.0,
714+
2.0,
715+
4.0,
716+
6.0,
717+
12.0};
718+
719+
auto vecBinsPt = std::vector<double>{BinsPt, BinsPt + NBinsPt + 1};
720+
721+
// default values for the cuts
722+
// pi_pT
723+
constexpr double Cuts[NBinsPt][NCutVars] = {{0.2}, /* 1 < pt < 2 */
724+
{0.2}, /* 2 < pt < 4 */
725+
{0.6}, /* 4 < pt < 6 */
726+
{0.8}}; /* 6 < pt < 12 */
727+
728+
// row labels
729+
static const std::vector<std::string> labelsPt = {
730+
"pT bin 0",
731+
"pT bin 1",
732+
"pT bin 2",
733+
"pT bin 3"};
734+
735+
// column labels
736+
static const std::vector<std::string> labelsCutVar = {"pT Ka from Omegac"};
737+
} // namespace hf_cuts_omegacxic_to_omega_ka
738+
705739
namespace hf_cuts_xic_to_p_k_pi
706740
{
707741
static constexpr int NBinsPt = 10;

0 commit comments

Comments
 (0)