Skip to content

Commit 8f63693

Browse files
fix code-check errors
1 parent 37a73fa commit 8f63693

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

PWGJE/Tasks/jetShape.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,8 +648,9 @@ struct JetShapeTask {
648648

649649
float dEta = trkEta - jet.eta;
650650

651-
if (std::abs(dEta) > maxDistance)
651+
if (std::abs(dEta) > maxDistance) {
652652
continue;
653+
}
653654

654655
float dPhi = RecoDecay::constrainAngle(trkPhi - jet.phi);
655656
float distance = std::sqrt(dEta * dEta + dPhi * dPhi);
@@ -1119,7 +1120,7 @@ struct JetShapeTask {
11191120
}
11201121

11211122
const auto matchedJets = detJet.matchedJetGeo();
1122-
if (matchedJets.size() == 0) {
1123+
if (matchedJets.empty()) {
11231124
continue;
11241125
}
11251126

0 commit comments

Comments
 (0)