@@ -527,7 +527,7 @@ struct DileptonHadronMPC {
527527
528528 // hadron-hadron
529529 const AxisSpec axis_dphi_hh{cfgNbinsDPhi, -M_PI / 2 , 3 * M_PI / 2 , " #Delta#varphi = #varphi_{h}^{ref1} - #varphi_{h}^{ref2} (rad.)" };
530- fRegistry .add (" HadronHadron/same/hDEtaDPhi" , " hadron-hadron 2PC" , kTH2D , {axis_deta_hh, axis_dphi_hh }, true );
530+ fRegistry .add (" HadronHadron/same/hDEtaDPhi" , " hadron-hadron 2PC" , kTH2D , {axis_dphi_hh, axis_deta_hh }, true );
531531 fRegistry .addClone (" HadronHadron/same/" , " HadronHadron/mix/" );
532532 fRegistry .add (" HadronHadron/mix/hDiffBC" , " diff. global BC in mixed event;|BC_{current} - BC_{mixed}|" , kTH1D , {{10001 , -0.5 , 10000.5 }}, true );
533533 } else if (cfgAnalysisType == static_cast <int >(o2::aod::pwgem::dilepton::utils::pairutil::DileptonHadronAnalysisType::kCumulant )) {
@@ -541,7 +541,7 @@ struct DileptonHadronMPC {
541541
542542 // hadron-hadron
543543 const AxisSpec axis_cosndphi_hh{cfgNbinsCosNDPhi, -1 , +1 , std::format (" cos({0:d}(#varphi_{{h}}^{{trg}} - #varphi_{{h}}^{{ref}}))" , cfgNmod.value )};
544- fRegistry .add (" HadronHadron/same/hDEtaCosNDPhi" , " hadron-hadron 2PC" , kTH2D , {axis_deta_hh, axis_cosndphi_hh }, true );
544+ fRegistry .add (" HadronHadron/same/hDEtaCosNDPhi" , " hadron-hadron 2PC" , kTH2D , {axis_cosndphi_hh, axis_deta_hh }, true );
545545 }
546546 fRegistry .add (" Dilepton/mix/hDiffBC" , " diff. global BC in mixed event;|BC_{current} - BC_{mixed}|" , kTH1D , {{10001 , -0.5 , 10000.5 }}, true );
547547 }
@@ -994,11 +994,11 @@ struct DileptonHadronMPC {
994994
995995 if (cfgAnalysisType == static_cast <int >(o2::aod::pwgem::dilepton::utils::pairutil::DileptonHadronAnalysisType::kAzimuthalCorrelation )) {
996996 dphi = RecoDecay::constrainAngle (dphi, -M_PI / 2 , 1U );
997- fRegistry .fill (HIST (" HadronHadron/" ) + HIST (event_pair_types[ev_id]) + HIST (" hDEtaDPhi" ), deta, dphi , weight);
997+ fRegistry .fill (HIST (" HadronHadron/" ) + HIST (event_pair_types[ev_id]) + HIST (" hDEtaDPhi" ), dphi, deta , weight);
998998 } else if (cfgAnalysisType == static_cast <int >(o2::aod::pwgem::dilepton::utils::pairutil::DileptonHadronAnalysisType::kCumulant )) {
999999 o2::math_utils::bringTo02Pi (dphi);
10001000 float cosndphi = std::cos (cfgNmod * dphi);
1001- fRegistry .fill (HIST (" HadronHadron/" ) + HIST (event_pair_types[ev_id]) + HIST (" hDEtaCosNDPhi" ), deta, cosndphi , weight);
1001+ fRegistry .fill (HIST (" HadronHadron/" ) + HIST (event_pair_types[ev_id]) + HIST (" hDEtaCosNDPhi" ), cosndphi, deta , weight);
10021002 }
10031003
10041004 // store ref tracks for mixed event in case of kAzimuthalCorrelation
0 commit comments