We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37a73fa commit 8f63693Copy full SHA for 8f63693
1 file changed
PWGJE/Tasks/jetShape.cxx
@@ -648,8 +648,9 @@ struct JetShapeTask {
648
649
float dEta = trkEta - jet.eta;
650
651
- if (std::abs(dEta) > maxDistance)
+ if (std::abs(dEta) > maxDistance) {
652
continue;
653
+ }
654
655
float dPhi = RecoDecay::constrainAngle(trkPhi - jet.phi);
656
float distance = std::sqrt(dEta * dEta + dPhi * dPhi);
@@ -1119,7 +1120,7 @@ struct JetShapeTask {
1119
1120
}
1121
1122
const auto matchedJets = detJet.matchedJetGeo();
- if (matchedJets.size() == 0) {
1123
+ if (matchedJets.empty()) {
1124
1125
1126
0 commit comments