Skip to content

Commit 128af53

Browse files
committed
fix var
1 parent 1d03dcf commit 128af53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Nuspex/antinucleiInJets.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2218,9 +2218,9 @@ struct AntinucleiInJets {
22182218

22192219
// Fill histograms for generated antiprotons for closure test
22202220
if (sample == 0) {
2221-
registryMC.fill(HIST("antiproton_gen_ue_data"), particle.pt());
2221+
registryMC.fill(HIST("antiproton_gen_ue_data"), protonVec.Pt());
22222222
} else {
2223-
registryMC.fill(HIST("antiproton_gen_ue_mc"), particle.pt());
2223+
registryMC.fill(HIST("antiproton_gen_ue_mc"), protonVec.Pt());
22242224
}
22252225

22262226
// Fill 2d (pt,eta) distribution of antiprotons

0 commit comments

Comments
 (0)