@@ -809,7 +809,7 @@ static constexpr int NBinsPt = 10;
809809static constexpr int NCutVars = 10 ;
810810// default values for the pT bin edges
811811// offset by 1 from the bin numbers in cuts array
812- constexpr double BinsPt[NBinsPt+ 1 ] = {
812+ constexpr double BinsPt[NBinsPt + 1 ] = {
813813 0 .,
814814 1 .,
815815 2 .,
@@ -820,56 +820,55 @@ constexpr double BinsPt[NBinsPt+1] = {
820820 8 .,
821821 12 .,
822822 24 .,
823- 36 .
824- };
825- auto vecBinsPt = std::vector<double >{BinsPt, BinsPt+NBinsPt+1 };
826-
827- // default values for the cuts m ptXi ptPi chi2PCA dL dLXY cosp cospXY impParXY Xi Pi
828- 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 */
829- {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 1 < pT < 2 */
830- {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 2 < pT < 3 */
831- {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 3 < pT < 4 */
832- {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 4 < pT < 5 */
833- {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 5 < pT < 6 */
834- {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 6 < pT < 8 */
835- {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 8 < pT < 12 */
836- {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 12 < pT < 24 */
837- {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }}; /* 24 < pT < 36 */
823+ 36 .};
824+ auto vecBinsPt = std::vector<double >{BinsPt, BinsPt + NBinsPt + 1 };
825+
826+ // default values for the cuts m ptXi ptPi chi2PCA dL dLXY cosp cospXY impParXY Xi Pi
827+ 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 */
828+ {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 1 < pT < 2 */
829+ {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 2 < pT < 3 */
830+ {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 3 < pT < 4 */
831+ {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 4 < pT < 5 */
832+ {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 5 < pT < 6 */
833+ {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 6 < pT < 8 */
834+ {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 8 < pT < 12 */
835+ {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }, /* 12 < pT < 24 */
836+ {0.4 , 0.4 , 0.4 , 1e-5 , 0.5 , 0.5 , 0.9 , 0.9 , 0.1 , 0.1 }}; /* 24 < pT < 36 */
838837
839838// row tables
840839static const std::vector<std::string> labelsPt = {
841- " pT bin 0" ,
842- " pT bin 1" ,
843- " pT bin 2" ,
844- " pT bin 3" ,
845- " pT bin 4" ,
846- " pT bin 5" ,
847- " pT bin 6" ,
848- " pT bin 7" ,
849- " pT bin 8" ,
850- " pT bin 9" };
840+ " pT bin 0" ,
841+ " pT bin 1" ,
842+ " pT bin 2" ,
843+ " pT bin 3" ,
844+ " pT bin 4" ,
845+ " pT bin 5" ,
846+ " pT bin 6" ,
847+ " pT bin 7" ,
848+ " pT bin 8" ,
849+ " pT bin 9" };
851850
852851// column labels
853852static const std::vector<std::string> labelsCutVar = {
854- " m" ,
855- " pT Xi" ,
856- " pT Pi" ,
857- " chi2PCA" ,
858- " max decay length" ,
859- " max decay length XY" ,
860- " cosine pointing angle" ,
861- " cosine pointing angle XY" ,
862- " max impParXY Xi" ,
863- " max impParXY Pi" };
864- }// namspace hf_cuts_xic0_xicp_to_hadronic:: xic0
853+ " m" ,
854+ " pT Xi" ,
855+ " pT Pi" ,
856+ " chi2PCA" ,
857+ " max decay length" ,
858+ " max decay length XY" ,
859+ " cosine pointing angle" ,
860+ " cosine pointing angle XY" ,
861+ " max impParXY Xi" ,
862+ " max impParXY Pi" };
863+ } // namespace xic0
865864
866865namespace xicp
867866{
868- static constexpr int NBinsPt= 10 ;
869- static constexpr int NCutVars= 12 ;
867+ static constexpr int NBinsPt = 10 ;
868+ static constexpr int NCutVars = 12 ;
870869// default values for the pT bin edges (can be used to configure histogram axis)
871870// offset by 1 from the bin numbers in cuts array
872- constexpr double BinsPt[NBinsPt+ 1 ] = {
871+ constexpr double BinsPt[NBinsPt + 1 ] = {
873872 0 .,
874873 1 .,
875874 2 .,
@@ -881,7 +880,7 @@ constexpr double BinsPt[NBinsPt+ 1] = {
881880 12 .,
882881 24 .,
883882 36 .};
884- auto vecBinsPt= std::vector<double >{BinsPt, BinsPt+ NBinsPt+ 1 };
883+ auto vecBinsPt = std::vector<double >{BinsPt, BinsPt + NBinsPt + 1 };
885884
886885// default values for the cuts m ptXi ptPi0 ptPi1 chi2PCA dL dLXY cosp cospXY impParXY Xi Pi0 Pi1
887886constexpr 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 */
@@ -895,7 +894,7 @@ constexpr double Cuts[NBinsPt][NCutVars] = {{0.4, 0.4, 0.4, 0.4, 1e-5, 0.5, 0.5,
895894 {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 */
896895 {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 */
897896// row labels
898- static const std::vector<std::string> labelsPt= {
897+ static const std::vector<std::string> labelsPt = {
899898 " pT bin 0" ,
900899 " pT bin 1" ,
901900 " pT bin 2" ,
@@ -908,24 +907,23 @@ static const std::vector<std::string> labelsPt= {
908907 " pT bin 9" };
909908
910909// column labels
911- static const std::vector<std::string> labelsCutVar= {
912- " m" ,
913- " pT Xi" ,
914- " pT Pi0" ,
915- " pT Pi1" ,
916- " chi2PCA" ,
917- " max decay length" ,
918- " max decay length XY" ,
919- " cos pointing angle" ,
920- " cos pointing angle XY" ,
921- " max impParXY Xi" ,
922- " max impParXY Pi0" ,
910+ static const std::vector<std::string> labelsCutVar = {
911+ " m" ,
912+ " pT Xi" ,
913+ " pT Pi0" ,
914+ " pT Pi1" ,
915+ " chi2PCA" ,
916+ " max decay length" ,
917+ " max decay length XY" ,
918+ " cos pointing angle" ,
919+ " cos pointing angle XY" ,
920+ " max impParXY Xi" ,
921+ " max impParXY Pi0" ,
923922 " max impParXY Pi1" }; // end Xicp settings
924923
925- }// namspace hf_cuts_xic0_xicp_to_hadronic::xicp
926-
927- }// namespace hf_cuts_xic0_xicp_to_hadronic
924+ } // namespace xicp
928925
926+ } // namespace hf_cuts_xic0_xicp_to_hadronic
929927
930928namespace hf_cuts_xicc_to_p_k_pi_pi
931929{
0 commit comments