Skip to content

Commit bb13a75

Browse files
committed
Add QA histograms and sum pion pT cut
1 parent 5985dd1 commit bb13a75

File tree

2 files changed

+143
-99
lines changed

2 files changed

+143
-99
lines changed

PWGHF/Core/SelectorCuts.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ static const std::vector<std::string> labelsCutVar = {"m", "pT p", "pT K", "pT P
788788
namespace hf_cuts_xic_to_xi_pi_pi
789789
{
790790
static constexpr int NBinsPt = 13;
791-
static constexpr int NCutVars = 11;
791+
static constexpr int NCutVars = 12;
792792
// default values for the pT bin edges (can be used to configure histogram axis)
793793
// offset by 1 from the bin numbers in cuts array
794794
constexpr double BinsPt[NBinsPt + 1] = {
@@ -808,20 +808,20 @@ constexpr double BinsPt[NBinsPt + 1] = {
808808
20.};
809809
auto vecBinsPt = std::vector<double>{BinsPt, BinsPt + NBinsPt + 1};
810810

811-
// default values for the cuts m Y Eta EtaDau ptPi0 ptPi1 chi2SV dL dLXY invMass Xi-Pi pairs
812-
constexpr double Cuts[NBinsPt][NCutVars] = {{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}, /* 0 < pT < 1 */
813-
{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}, /* 1 < pT < 2 */
814-
{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}, /* 2 < pT < 3 */
815-
{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}, /* 3 < pT < 4 */
816-
{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}, /* 4 < pT < 5 */
817-
{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}, /* 5 < pT < 6 */
818-
{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}, /* 6 < pT < 7 */
819-
{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}, /* 7 < pT < 8 */
820-
{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}, /* 8 < pT < 9 */
821-
{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}, /* 9 < pT < 10 */
822-
{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}, /* 10 < pT < 11 */
823-
{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}, /* 11 < pT < 12 */
824-
{0.4, 0.8, 0.8, 0.8, 0.4, 0.4, 100, 0.0, 0.0, 2.4, 2.4}}; /* 12 < pT < 20 */
811+
// default values for the cuts m Y Eta EtaDau pT Pi0 Pi1 Sum chi2SV dL dLXY invMass Xi-Pi pairs
812+
constexpr double Cuts[NBinsPt][NCutVars] = {{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}, /* 0 < pT < 1 */
813+
{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}, /* 1 < pT < 2 */
814+
{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}, /* 2 < pT < 3 */
815+
{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}, /* 3 < pT < 4 */
816+
{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}, /* 4 < pT < 5 */
817+
{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}, /* 5 < pT < 6 */
818+
{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}, /* 6 < pT < 7 */
819+
{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}, /* 7 < pT < 8 */
820+
{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}, /* 8 < pT < 9 */
821+
{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}, /* 9 < pT < 10 */
822+
{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}, /* 10 < pT < 11 */
823+
{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}, /* 11 < pT < 12 */
824+
{0.4, 0.8, 0.8, 0.8, 0.1, 0.1, 0.2, 100, 0.0, 0.0, 2.4, 2.4}}; /* 12 < pT < 20 */
825825

826826
// row labels
827827
static const std::vector<std::string> labelsPt = {
@@ -840,7 +840,7 @@ static const std::vector<std::string> labelsPt = {
840840
"pT bin 12"};
841841

842842
// column labels
843-
static const std::vector<std::string> labelsCutVar = {"m", "y", "eta", "eta Daughters", "pT Pi0", "pT Pi1", "chi2SV", "min decay length", "min decay length XY", "max inv mass Xi-Pi0", "max inv mass Xi-Pi1"};
843+
static const std::vector<std::string> labelsCutVar = {"m", "y", "eta", "eta Daughters", "pT Pi0", "pT Pi1", "pT Pi0 + Pi1", "chi2SV", "min decay length", "min decay length XY", "max inv mass Xi-Pi0", "max inv mass Xi-Pi1"};
844844
} // namespace hf_cuts_xic_to_xi_pi_pi
845845

846846
namespace hf_cuts_xicc_to_p_k_pi_pi

0 commit comments

Comments
 (0)