@@ -425,10 +425,10 @@ struct DileptonMC {
425425 fRegistry .add (" Pair/sm/Photon/hMvsRxy" , " m_{ee} vs. r_{xy};r_{xy}^{true} (cm);m_{ee} (GeV/c^{2})" , kTH2F , {{100 , 0 , 100 }, {100 , 0 .0f , 1 .0f }}, true );
426426 fRegistry .add (" Pair/sm/PromptPi0/hMvsPhiV" , " m_{ee} vs. #varphi_{V};#varphi (rad.);m_{ee} (GeV/c^{2})" , kTH2F , {{90 , 0 , M_PI}, {100 , 0 .0f , 1 .0f }}, true );
427427 fRegistry .add (" Pair/sm/NonPromptPi0/hMvsPhiV" , " m_{ee} vs. #varphi_{V};#varphi (rad.);m_{ee} (GeV/c^{2})" , kTH2F , {{90 , 0 , M_PI}, {100 , 0 .0f , 1 .0f }}, true );
428- fRegistry .add (" Pair/sm/PromptPi0/hDeltaPtvsDCA" , Form (" p^{gen}_{T,e} - p^{ rec}_ {T,e} vs. DCA_{ee};%s;p^{gen}_{T,e} - p^{ rec}_ {T,e } (GeV/c)" , pair_dca_axis_title.c_str ()), kTH2F , {{160 , 0 , 8 .}, {220 , -1 .f , +10 .f }}, true );
429- fRegistry .add (" Pair/sm/NonPromptPi0/hDeltaPtvsDCA" , Form (" p^{gen}_{T,e} - p^{ rec}_ {T,e} vs. DCA_{ee};%s;p^{gen}_{T,e} - p^{ rec}_ {T,e } (GeV/c)" , pair_dca_axis_title.c_str ()), kTH2F , {{160 , 0 , 8 .}, {220 , -1 .f , +10 .f }}, true );
430- fRegistry .add (" Pair/sm/PromptJPsi/hDeltaPtvsDCA" , Form (" p^{gen}_{T,e} - p^{ rec}_ {T,e} vs. DCA_{ee};%s;p^{gen}_{T,e} - p^{ rec}_ {T,e } (GeV/c)" , pair_dca_axis_title.c_str ()), kTH2F , {{160 , 0 , 8 .}, {220 , -1 .f , +10 .f }}, true );
431- fRegistry .add (" Pair/sm/NonPromptJPsi/hDeltaPtvsDCA" , Form (" p^{gen}_{T,e} - p^{ rec}_ {T,e} vs. DCA_{ee};%s;p^{gen}_{T,e} - p^{ rec}_ {T,e } (GeV/c)" , pair_dca_axis_title.c_str ()), kTH2F , {{160 , 0 , 8 .}, {220 , -1 .f , +10 .f }}, true );
428+ fRegistry .add (" Pair/sm/PromptPi0/hDeltaPtvsDCA" , Form (" #Delta p_{T,1}^{gen- rec} + #Delta p_ {T,2}^{gen-rec} vs. DCA_{ee};%s;#Delta p_{T,1}^{gen- rec} + #Delta p_ {T,2}^{gen-rec } (GeV/c)" , pair_dca_axis_title.c_str ()), kTH2F , {{160 , 0 , 8 .}, {220 , -1 .f , +10 .f }}, true );
429+ fRegistry .add (" Pair/sm/NonPromptPi0/hDeltaPtvsDCA" , Form (" #Delta p_{T,1}^{gen- rec} + #Delta p_ {T,2}^{gen-rec} vs. DCA_{ee};%s;#Delta p_{T,1}^{gen- rec} + #Delta p_ {T,2}^{gen-rec } (GeV/c)" , pair_dca_axis_title.c_str ()), kTH2F , {{160 , 0 , 8 .}, {220 , -1 .f , +10 .f }}, true );
430+ fRegistry .add (" Pair/sm/PromptJPsi/hDeltaPtvsDCA" , Form (" #Delta p_{T,1}^{gen- rec} + #Delta p_ {T,2}^{gen-rec} vs. DCA_{ee};%s;#Delta p_{T,1}^{gen- rec} + #Delta p_ {T,2}^{gen-rec } (GeV/c)" , pair_dca_axis_title.c_str ()), kTH2F , {{160 , 0 , 8 .}, {220 , -1 .f , +10 .f }}, true );
431+ fRegistry .add (" Pair/sm/NonPromptJPsi/hDeltaPtvsDCA" , Form (" #Delta p_{T,1}^{gen- rec} + #Delta p_ {T,2}^{gen-rec} vs. DCA_{ee};%s;#Delta p_{T,1}^{gen- rec} + #Delta p_ {T,2}^{gen-rec } (GeV/c)" , pair_dca_axis_title.c_str ()), kTH2F , {{160 , 0 , 8 .}, {220 , -1 .f , +10 .f }}, true );
432432 }
433433
434434 fRegistry .add (" Pair/ccbar/c2l_c2l/hadron_hadron/hs" , " hs pair" , kTHnSparseD , {axis_mass, axis_pt, axis_y, axis_dphi_ee, axis_deta_ee, axis_cos_theta_cs, axis_phi_cs, axis_aco, axis_asym_pt, axis_dphi_e_ee, axis_dca}, true );
@@ -983,15 +983,13 @@ struct DileptonMC {
983983 case 111 :
984984 if (IsFromCharm (mcmother, mcparticles) < 0 && IsFromBeauty (mcmother, mcparticles) < 0 ) { // prompt pi0
985985 fRegistry .fill (HIST (" Pair/sm/PromptPi0/hs" ), v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, std::fabs (cos_thetaCS), std::fabs (phiCS), aco, asym, std::fabs (dphi_e_ee), pair_dca, weight);
986- fRegistry .fill (HIST (" Pair/sm/PromptPi0/hDeltaPtvsDCA" ), pair_dca, deltaPt1);
987- fRegistry .fill (HIST (" Pair/sm/PromptPi0/hDeltaPtvsDCA" ), pair_dca, deltaPt2);
986+ fRegistry .fill (HIST (" Pair/sm/PromptPi0/hDeltaPtvsDCA" ), pair_dca, deltaPt1 + deltaPt2);
988987 if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDielectron ) {
989988 fRegistry .fill (HIST (" Pair/sm/PromptPi0/hMvsPhiV" ), phiv, v12.M ());
990989 }
991990 } else { // non-prompt pi0
992991 fRegistry .fill (HIST (" Pair/sm/NonPromptPi0/hs" ), v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, std::fabs (cos_thetaCS), std::fabs (phiCS), aco, asym, std::fabs (dphi_e_ee), pair_dca, weight);
993- fRegistry .fill (HIST (" Pair/sm/NonPromptPi0/hDeltaPtvsDCA" ), pair_dca, deltaPt1);
994- fRegistry .fill (HIST (" Pair/sm/NonPromptPi0/hDeltaPtvsDCA" ), pair_dca, deltaPt2);
992+ fRegistry .fill (HIST (" Pair/sm/NonPromptPi0/hDeltaPtvsDCA" ), pair_dca, deltaPt1 + deltaPt2);
995993 if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDielectron ) {
996994 fRegistry .fill (HIST (" Pair/sm/NonPromptPi0/hMvsPhiV" ), phiv, v12.M ());
997995 }
@@ -1021,12 +1019,10 @@ struct DileptonMC {
10211019 case 443 : {
10221020 if (IsFromBeauty (mcmother, mcparticles) > 0 ) {
10231021 fRegistry .fill (HIST (" Pair/sm/NonPromptJPsi/hs" ), v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, std::fabs (cos_thetaCS), std::fabs (phiCS), aco, asym, std::fabs (dphi_e_ee), pair_dca, weight);
1024- fRegistry .fill (HIST (" Pair/sm/NonPromptJPsi/hDeltaPtvsDCA" ), pair_dca, deltaPt1);
1025- fRegistry .fill (HIST (" Pair/sm/NonPromptJPsi/hDeltaPtvsDCA" ), pair_dca, deltaPt2);
1022+ fRegistry .fill (HIST (" Pair/sm/NonPromptJPsi/hDeltaPtvsDCA" ), pair_dca, deltaPt1 + deltaPt2);
10261023 } else {
10271024 fRegistry .fill (HIST (" Pair/sm/PromptJPsi/hs" ), v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, std::fabs (cos_thetaCS), std::fabs (phiCS), aco, asym, std::fabs (dphi_e_ee), pair_dca, weight);
1028- fRegistry .fill (HIST (" Pair/sm/PromptJPsi/hDeltaPtvsDCA" ), pair_dca, deltaPt1);
1029- fRegistry .fill (HIST (" Pair/sm/PromptJPsi/hDeltaPtvsDCA" ), pair_dca, deltaPt2);
1025+ fRegistry .fill (HIST (" Pair/sm/PromptJPsi/hDeltaPtvsDCA" ), pair_dca, deltaPt1 + deltaPt2);
10301026 }
10311027 break ;
10321028 }
0 commit comments