From 5cb72939854549025b21e9e90bf9c5a1e91c29b7 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Fri, 18 Apr 2025 11:21:32 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGJE/Tasks/jetChargedV2.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PWGJE/Tasks/jetChargedV2.cxx b/PWGJE/Tasks/jetChargedV2.cxx index 7cffd76dd84..f761fad0b84 100644 --- a/PWGJE/Tasks/jetChargedV2.cxx +++ b/PWGJE/Tasks/jetChargedV2.cxx @@ -771,15 +771,15 @@ struct JetChargedV2 { float leadingJetEta = jets.iteratorAt(0).eta(); float leadingJetPhi = jets.iteratorAt(0).phi(); float etaBandWidth = 2 * randomConeR; - + bool jetWasInCone = false; do { randomConeEta = randomNumber.Uniform(trackEtaMin + randomConeR, trackEtaMax - randomConeR); randomConePhi = randomNumber.Uniform(0.0, o2::constants::math::TwoPI); - + float dEta = randomConeEta - leadingJetEta; float dPhi = RecoDecay::constrainAngle(randomConePhi - leadingJetPhi, static_cast(-o2::constants::math::PI)); - + if (std::abs(dEta) > etaBandWidth && std::sqrt(dEta * dEta + dPhi * dPhi) > randomConeR + jets.iteratorAt(0).r() / 100.0) { break; }