Skip to content

Commit edd95d1

Browse files
authored
[PWGLF] Stranganess in jets, fix pdg code association (#9420)
1 parent 269bc61 commit edd95d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Tasks/Strangeness/strangeness_in_jets.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1844,7 +1844,7 @@ struct strangeness_in_jets {
18441844
double deltaPhi_ue2 = GetDeltaPhi(particle_dir.Phi(), ue2[i].Phi());
18451845
double deltaR_ue2 = std::sqrt(deltaEta_ue2 * deltaEta_ue2 + deltaPhi_ue2 * deltaPhi_ue2);
18461846

1847-
int pdg = std::fabs(particle.pdgCode());
1847+
int pdg = particle.pdgCode();
18481848

18491849
if (pdg == 211) {
18501850
if (deltaR_jet < Rjet) {

0 commit comments

Comments
 (0)