Skip to content

Commit 2dddc15

Browse files
committed
adding missing braces
1 parent 8483257 commit 2dddc15

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

PWGHF/HFL/Tasks/taskElectronWeakBoson.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,10 +610,12 @@ struct HfTaskElectronWeakBoson {
610610
continue;
611611
registry.fill(HIST("hZptSpectrum"), zBoson.pt);
612612
for (const auto& trackAss : selectedElectronsAss) {
613-
if (std::abs(trackAss.pt - zBoson.ptchild0) < ptMatch)
613+
if (std::abs(trackAss.pt - zBoson.ptchild0) < ptMatch) {
614614
continue;
615-
if (std::abs(trackAss.pt - zBoson.ptchild1) < ptMatch)
615+
}
616+
if (std::abs(trackAss.pt - zBoson.ptchild1) < ptMatch) {
616617
continue;
618+
}
617619
// calculate Z-h correlation
618620
double deltaPhi = RecoDecay::constrainAngle(trackAss.phi - zBoson.phi, -o2::constants::math::PIHalf);
619621
registry.fill(HIST("hZHadronDphi"), zBoson.pt, deltaPhi);

0 commit comments

Comments
 (0)