We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d03dcf commit 128af53Copy full SHA for 128af53
PWGLF/Tasks/Nuspex/antinucleiInJets.cxx
@@ -2218,9 +2218,9 @@ struct AntinucleiInJets {
2218
2219
// Fill histograms for generated antiprotons for closure test
2220
if (sample == 0) {
2221
- registryMC.fill(HIST("antiproton_gen_ue_data"), particle.pt());
+ registryMC.fill(HIST("antiproton_gen_ue_data"), protonVec.Pt());
2222
} else {
2223
- registryMC.fill(HIST("antiproton_gen_ue_mc"), particle.pt());
+ registryMC.fill(HIST("antiproton_gen_ue_mc"), protonVec.Pt());
2224
}
2225
2226
// Fill 2d (pt,eta) distribution of antiprotons
0 commit comments