@@ -256,6 +256,10 @@ struct AntinucleiInJets {
256256 // Generated spectra of antiprotons
257257 registryMC.add (" antiproton_gen_jet" , " antiproton_gen_jet" , HistType::kTH1F , {{nbins, min, max, " #it{p}_{T} (GeV/#it{c})" }});
258258 registryMC.add (" antiproton_gen_ue" , " antiproton_gen_ue" , HistType::kTH1F , {{nbins, min, max, " #it{p}_{T} (GeV/#it{c})" }});
259+
260+ // Normalization histogram
261+ registryMC.add (" antiproton_y_phi_jet" , " antiproton_y_phi_jet" , HistType::kTH2F , {{2000 , -1.0 , 1.0 , " #it{y}" }, {2000 , 0.0 , TwoPI, " #Delta#phi" }});
262+ registryMC.add (" antiproton_y_phi_ue" , " antiproton_y_phi_ue" , HistType::kTH2F , {{2000 , -1.0 , 1.0 , " #it{y}" }, {2000 , 0.0 , TwoPI, " #Delta#phi" }});
259263 }
260264
261265 // Reconstructed antiproton spectra in jets and UE (MC-matched) with TPC/TOF PID
@@ -1459,6 +1463,14 @@ struct AntinucleiInJets {
14591463 if (particle.eta () < minEta || particle.eta () > maxEta)
14601464 continue ;
14611465
1466+ // Fill normalization histogram
1467+ double px = particle.px ();
1468+ double py = particle.py ();
1469+ double pz = particle.pz ();
1470+ double energy = std::sqrt (MassProton * MassProton + px * px + py * py + pz * pz);
1471+ double y = 0.5 * std::log ((energy + pz) / (energy - pz));
1472+ registryMC.fill (HIST (" antiproton_y_phi_jet" ), y, getDeltaPhi (particle.phi (), jet.phi ()));
1473+
14621474 // Fill histogram for generated antiprotons
14631475 registryMC.fill (HIST (" antiproton_gen_jet" ), particle.pt ());
14641476 }
@@ -1491,6 +1503,20 @@ struct AntinucleiInJets {
14911503 if (deltaRUe1 > maxConeRadius && deltaRUe2 > maxConeRadius)
14921504 continue ;
14931505
1506+ // Fill normalization histogram
1507+ double px = protonVec.Px ();
1508+ double py = protonVec.Py ();
1509+ double pz = protonVec.Pz ();
1510+ double energy = std::sqrt (MassProton * MassProton + px * px + py * py + pz * pz);
1511+ double y = 0.5 * std::log ((energy + pz) / (energy - pz));
1512+
1513+ if (deltaRUe1 < maxConeRadius) {
1514+ registryMC.fill (HIST (" antiproton_y_phi_ue" ), y, getDeltaPhi (protonVec.Phi (), ueAxis1.Phi ()));
1515+ }
1516+ if (deltaRUe2 < maxConeRadius) {
1517+ registryMC.fill (HIST (" antiproton_y_phi_ue" ), y, getDeltaPhi (protonVec.Phi (), ueAxis2.Phi ()));
1518+ }
1519+
14941520 // Fill histogram for antiprotons in the UE
14951521 registryMC.fill (HIST (" antiproton_gen_ue" ), protonVec.Pt ());
14961522 }
0 commit comments