@@ -1639,7 +1639,7 @@ struct DileptonMC {
16391639 }
16401640 }
16411641 break ;
1642- case 443 : {
1642+ case 443 :
16431643 if (IsFromBeauty (mcmother, mcparticles) > 0 ) {
16441644 fillRecHistograms<9 >(t1.sign (), t2.sign (), 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), pair_dca, weight); // non-prompt J/psi
16451645 if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDielectron ) {
@@ -1670,15 +1670,13 @@ struct DileptonMC {
16701670 }
16711671 }
16721672 break ;
1673- }
1674- case 100443 : {
1673+ case 100443 :
16751674 if (IsFromBeauty (mcmother, mcparticles) > 0 ) {
16761675 fillRecHistograms<11 >(t1.sign (), t2.sign (), 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), pair_dca, weight); // non-prompt psi2S
16771676 } else {
16781677 fillRecHistograms<10 >(t1.sign (), t2.sign (), 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), pair_dca, weight); // prompt psi2S
16791678 }
16801679 break ;
1681- }
16821680 default :
16831681 break ;
16841682 }
@@ -1702,23 +1700,19 @@ struct DileptonMC {
17021700 auto mp1 = mcparticles.iteratorAt (t1mc.mothersIds ()[0 ]);
17031701 auto mp2 = mcparticles.iteratorAt (t2mc.mothersIds ()[0 ]);
17041702 switch (hfee_type) {
1705- case static_cast <int >(EM_HFeeType::kCe_Ce ): { // ULS
1703+ case static_cast <int >(EM_HFeeType::kCe_Ce ):
17061704 fillRecHistograms<15 >(t1.sign (), t2.sign (), mp1.pdgCode (), mp2.pdgCode (), v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), pair_dca, weight); // c2l_c2l
17071705 break ;
1708- }
1709- case static_cast <int >(EM_HFeeType::kBe_Be ): { // ULS
1706+ case static_cast <int >(EM_HFeeType::kBe_Be ):
17101707 fillRecHistograms<16 >(t1.sign (), t2.sign (), 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), pair_dca, weight); // b2l_b2l
17111708 break ;
1712- }
1713- case static_cast <int >(EM_HFeeType::kBCe_BCe ): { // ULS
1709+ case static_cast <int >(EM_HFeeType::kBCe_BCe ):
17141710 fillRecHistograms<17 >(t1.sign (), t2.sign (), 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), pair_dca, weight); // b2c2l_b2c2l
17151711 break ;
1716- }
1717- case static_cast <int >(EM_HFeeType::kBCe_Be_SameB ): { // ULS
1712+ case static_cast <int >(EM_HFeeType::kBCe_Be_SameB ):
17181713 fillRecHistograms<18 >(t1.sign (), t2.sign (), 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), pair_dca, weight); // b2c2l_b2l_sameb
17191714 break ;
1720- }
1721- case static_cast <int >(EM_HFeeType::kBCe_Be_DiffB ): // LS
1715+ case static_cast <int >(EM_HFeeType::kBCe_Be_DiffB ):
17221716 fillRecHistograms<19 >(t1.sign (), t2.sign (), 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), pair_dca, weight); // b2c2l_b2l_diffb
17231717 break ;
17241718 default :
@@ -1869,22 +1863,20 @@ struct DileptonMC {
18691863 fRegistry .fill (HIST (" Generated/sm/Phi2ll/uls/hs" ), v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee)); // phi->ee
18701864 }
18711865 break ;
1872- case 443 : {
1866+ case 443 :
18731867 if (IsFromBeauty (mcmother, mcparticles) > 0 ) {
18741868 fillGenHistograms<9 >(sign1, sign2, 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), weight); // non-prompt J/psi
18751869 } else {
18761870 fillGenHistograms<8 >(sign1, sign2, 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), weight); // prompt J/psi
18771871 }
18781872 break ;
1879- }
1880- case 100443 : {
1873+ case 100443 :
18811874 if (IsFromBeauty (mcmother, mcparticles) > 0 ) {
18821875 fillGenHistograms<11 >(sign1, sign2, 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), weight); // non-prompt psi2S
18831876 } else {
18841877 fillGenHistograms<10 >(sign1, sign2, 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), weight); // prompt psi2S
18851878 }
18861879 break ;
1887- }
18881880 default :
18891881 break ;
18901882 }
@@ -1893,22 +1885,18 @@ struct DileptonMC {
18931885 auto mp1 = mcparticles.iteratorAt (t1.mothersIds ()[0 ]);
18941886 auto mp2 = mcparticles.iteratorAt (t2.mothersIds ()[0 ]);
18951887 switch (hfee_type) {
1896- case static_cast <int >(EM_HFeeType::kCe_Ce ): {
1888+ case static_cast <int >(EM_HFeeType::kCe_Ce ):
18971889 fillGenHistograms<15 >(sign1, sign2, mp1.pdgCode (), mp2.pdgCode (), v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), weight); // c2l_c2l
18981890 break ;
1899- }
1900- case static_cast <int >(EM_HFeeType::kBe_Be ): {
1891+ case static_cast <int >(EM_HFeeType::kBe_Be ):
19011892 fillGenHistograms<16 >(sign1, sign2, 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), weight); // b2l_b2l
19021893 break ;
1903- }
1904- case static_cast <int >(EM_HFeeType::kBCe_BCe ): {
1894+ case static_cast <int >(EM_HFeeType::kBCe_BCe ):
19051895 fillGenHistograms<17 >(sign1, sign2, 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), weight); // b2c2l_b2c2l
19061896 break ;
1907- }
1908- case static_cast <int >(EM_HFeeType::kBCe_Be_SameB ): { // ULS
1897+ case static_cast <int >(EM_HFeeType::kBCe_Be_SameB ):
19091898 fillGenHistograms<18 >(sign1, sign2, 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), weight); // b2c2l_b2l_sameb
19101899 break ;
1911- }
19121900 case static_cast <int >(EM_HFeeType::kBCe_Be_DiffB ): // LS
19131901 fillGenHistograms<19 >(sign1, sign2, 0 , 0 , v12.M (), v12.Pt (), v12.Rapidity (), dphi, deta, cos_thetaPol, phiPol, quadmom, aco, asym, std::fabs (dphi_e_ee), weight); // b2c2l_b2l_diffb
19141902 break ;
0 commit comments