Skip to content

Commit 9286043

Browse files
committed
Please consider the following formatting changes
1 parent ce3aea0 commit 9286043

7 files changed

Lines changed: 4475 additions & 4523 deletions

PWGHF/Core/SelectorCuts.h

Lines changed: 55 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ static constexpr int NBinsPt = 10;
852852
static constexpr int NCutVars = 10;
853853
// default values for the pT bin edges
854854
// offset by 1 from the bin numbers in cuts array
855-
constexpr double BinsPt[NBinsPt+1] = {
855+
constexpr double BinsPt[NBinsPt + 1] = {
856856
0.,
857857
1.,
858858
2.,
@@ -863,56 +863,55 @@ constexpr double BinsPt[NBinsPt+1] = {
863863
8.,
864864
12.,
865865
24.,
866-
36.
867-
};
868-
auto vecBinsPt = std::vector<double>{BinsPt, BinsPt+NBinsPt+1};
869-
870-
// default values for the cuts m ptXi ptPi chi2PCA dL dLXY cosp cospXY impParXY Xi Pi
871-
constexpr double Cuts[NBinsPt][NCutVars] = {{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 0 < pT < 1 */
872-
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 1 < pT < 2 */
873-
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 2 < pT < 3 */
874-
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 3 < pT < 4 */
875-
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 4 < pT < 5 */
876-
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 5 < pT < 6 */
877-
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 6 < pT < 8 */
878-
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 8 < pT < 12 */
879-
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 12 < pT < 24 */
880-
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}}; /* 24 < pT < 36 */
866+
36.};
867+
auto vecBinsPt = std::vector<double>{BinsPt, BinsPt + NBinsPt + 1};
868+
869+
// default values for the cuts m ptXi ptPi chi2PCA dL dLXY cosp cospXY impParXY Xi Pi
870+
constexpr double Cuts[NBinsPt][NCutVars] = {{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 0 < pT < 1 */
871+
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 1 < pT < 2 */
872+
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 2 < pT < 3 */
873+
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 3 < pT < 4 */
874+
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 4 < pT < 5 */
875+
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 5 < pT < 6 */
876+
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 6 < pT < 8 */
877+
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 8 < pT < 12 */
878+
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}, /* 12 < pT < 24 */
879+
{0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1}}; /* 24 < pT < 36 */
881880

882881
// row tables
883882
static const std::vector<std::string> labelsPt = {
884-
"pT bin 0",
885-
"pT bin 1",
886-
"pT bin 2",
887-
"pT bin 3",
888-
"pT bin 4",
889-
"pT bin 5",
890-
"pT bin 6",
891-
"pT bin 7",
892-
"pT bin 8",
893-
"pT bin 9"};
883+
"pT bin 0",
884+
"pT bin 1",
885+
"pT bin 2",
886+
"pT bin 3",
887+
"pT bin 4",
888+
"pT bin 5",
889+
"pT bin 6",
890+
"pT bin 7",
891+
"pT bin 8",
892+
"pT bin 9"};
894893

895894
// column labels
896895
static const std::vector<std::string> labelsCutVar = {
897-
"m",
898-
"pT Xi",
899-
"pT Pi",
900-
"chi2PCA",
901-
"max decay length",
902-
"max decay length XY",
903-
"cosine pointing angle",
904-
"cosine pointing angle XY",
905-
"max impParXY Xi",
906-
"max impParXY Pi"};
907-
}// namspace hf_cuts_xic0_xicp_to_hadronic::xic0
896+
"m",
897+
"pT Xi",
898+
"pT Pi",
899+
"chi2PCA",
900+
"max decay length",
901+
"max decay length XY",
902+
"cosine pointing angle",
903+
"cosine pointing angle XY",
904+
"max impParXY Xi",
905+
"max impParXY Pi"};
906+
} // namespace xic0
908907

909908
namespace xicp
910909
{
911-
static constexpr int NBinsPt= 10;
912-
static constexpr int NCutVars= 12;
910+
static constexpr int NBinsPt = 10;
911+
static constexpr int NCutVars = 12;
913912
// default values for the pT bin edges (can be used to configure histogram axis)
914913
// offset by 1 from the bin numbers in cuts array
915-
constexpr double BinsPt[NBinsPt+ 1] = {
914+
constexpr double BinsPt[NBinsPt + 1] = {
916915
0.,
917916
1.,
918917
2.,
@@ -924,7 +923,7 @@ constexpr double BinsPt[NBinsPt+ 1] = {
924923
12.,
925924
24.,
926925
36.};
927-
auto vecBinsPt= std::vector<double>{BinsPt, BinsPt+ NBinsPt+ 1};
926+
auto vecBinsPt = std::vector<double>{BinsPt, BinsPt + NBinsPt + 1};
928927

929928
// default values for the cuts m ptXi ptPi0 ptPi1 chi2PCA dL dLXY cosp cospXY impParXY Xi Pi0 Pi1
930929
constexpr double Cuts[NBinsPt][NCutVars] = {{0.4, 0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1, 0.1}, /* 0 < pT < 1 */
@@ -938,7 +937,7 @@ constexpr double Cuts[NBinsPt][NCutVars] = {{0.4, 0.4, 0.4, 0.4, 1e-5, 0.5, 0.5,
938937
{0.4, 0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1, 0.1}, /* 12 < pT < 24 */
939938
{0.4, 0.4, 0.4, 0.4, 1e-5, 0.5, 0.5, 0.9, 0.9, 0.1, 0.1, 0.1}}; /* 24 < pT < 36 */
940939
// row labels
941-
static const std::vector<std::string> labelsPt= {
940+
static const std::vector<std::string> labelsPt = {
942941
"pT bin 0",
943942
"pT bin 1",
944943
"pT bin 2",
@@ -951,24 +950,23 @@ static const std::vector<std::string> labelsPt= {
951950
"pT bin 9"};
952951

953952
// column labels
954-
static const std::vector<std::string> labelsCutVar= {
955-
"m",
956-
"pT Xi",
957-
"pT Pi0",
958-
"pT Pi1",
959-
"chi2PCA",
960-
"max decay length",
961-
"max decay length XY",
962-
"cos pointing angle",
963-
"cos pointing angle XY",
964-
"max impParXY Xi",
965-
"max impParXY Pi0",
953+
static const std::vector<std::string> labelsCutVar = {
954+
"m",
955+
"pT Xi",
956+
"pT Pi0",
957+
"pT Pi1",
958+
"chi2PCA",
959+
"max decay length",
960+
"max decay length XY",
961+
"cos pointing angle",
962+
"cos pointing angle XY",
963+
"max impParXY Xi",
964+
"max impParXY Pi0",
966965
"max impParXY Pi1"}; // end Xicp settings
967966

968-
}// namspace hf_cuts_xic0_xicp_to_hadronic::xicp
969-
970-
}// namespace hf_cuts_xic0_xicp_to_hadronic
967+
} // namespace xicp
971968

969+
} // namespace hf_cuts_xic0_xicp_to_hadronic
972970

973971
namespace hf_cuts_xicc_to_p_k_pi_pi
974972
{

0 commit comments

Comments
 (0)