Skip to content

Commit bc06332

Browse files
committed
Fixing bug when filling inclusive histograms
1 parent f6bbc83 commit bc06332

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

PWGJE/Tasks/jetHadronRecoil.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -375,21 +375,21 @@ struct JetHadronRecoil {
375375
registry.fill(HIST("hDeltaRSignalPart"), dR, weight);
376376
}
377377
registry.fill(HIST("hDeltaRpTDPhiSignalPart"), jet.pt(), dphi, dR, weight);
378-
}
379-
registry.fill(HIST("hSignalPtDPhi"), dphi, jet.pt(), weight);
380-
if (std::abs(dphi - o2::constants::math::PI) < 0.6) {
381-
registry.fill(HIST("hSignalPt"), jet.pt(), weight);
378+
registry.fill(HIST("hSignalPtDPhi"), dphi, jet.pt(), weight);
379+
if (std::abs(dphi - o2::constants::math::PI) < 0.6) {
380+
registry.fill(HIST("hSignalPt"), jet.pt(), weight);
381+
}
382382
}
383383
if (!isSigCol) {
384384
if (std::abs(dphi - o2::constants::math::PI) < 0.6) {
385385
registry.fill(HIST("hDeltaRpTPartReference"), jet.pt(), dR, weight);
386386
registry.fill(HIST("hDeltaRPartReference"), dR, weight);
387387
}
388388
registry.fill(HIST("hDeltaRpTDPhiReferencePart"), jet.pt(), dphi, dR, weight);
389-
}
390-
registry.fill(HIST("hReferencePtDPhi"), dphi, jet.pt(), weight);
391-
if (std::abs(dphi - o2::constants::math::PI) < 0.6) {
392-
registry.fill(HIST("hReferencePt"), jet.pt(), weight);
389+
registry.fill(HIST("hReferencePtDPhi"), dphi, jet.pt(), weight);
390+
if (std::abs(dphi - o2::constants::math::PI) < 0.6) {
391+
registry.fill(HIST("hReferencePt"), jet.pt(), weight);
392+
}
393393
}
394394
}
395395
}

0 commit comments

Comments
 (0)