Skip to content

Commit 396c50f

Browse files
committed
fix undeclared variable
1 parent 932b2ac commit 396c50f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGLF/Tasks/Nuspex/antinucleiInJets.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2188,7 +2188,7 @@ struct AntinucleiInJets {
21882188

21892189
// Fill antideuteron spectra
21902190
if (isAntid) {
2191-
registryMC.fill(HIST("antideuteron_gen_jet"), particle.pt(), weightJet);
2191+
registryMC.fill(HIST("antideuteron_gen_jet"), particle.pt());
21922192
}
21932193
}
21942194

@@ -2256,7 +2256,7 @@ struct AntinucleiInJets {
22562256
continue;
22572257

22582258
// Fill histogram for antideuterons in the UE
2259-
registryMC.fill(HIST("antideuterons_gen_ue"), deuteronVec.Pt());
2259+
registryMC.fill(HIST("antideuteron_gen_ue"), deuteronVec.Pt());
22602260
}
22612261
}
22622262
if (isAtLeastOneJetSelected) {

0 commit comments

Comments
 (0)