From 7b62628820b652f802bfd71fd163c2c13a1aff8c Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Wed, 31 Dec 2025 14:03:51 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGJE/Tasks/fullJetSpectra.cxx | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/PWGJE/Tasks/fullJetSpectra.cxx b/PWGJE/Tasks/fullJetSpectra.cxx index 8ca0e182e09..e5a12886c69 100644 --- a/PWGJE/Tasks/fullJetSpectra.cxx +++ b/PWGJE/Tasks/fullJetSpectra.cxx @@ -759,24 +759,24 @@ struct FullJetSpectra { } filteredTrackPt += pt; // Accumulate valid track pT hasValidTrack = true; // At least one track exists (if needed) - } - // Reject jets without valid tracks (edge case) - if (!hasValidTrack) { - return false; - } - // } + } + // Reject jets without valid tracks (edge case) + if (!hasValidTrack) { + return false; + } + // } - // --- Cluster cuts: ALL clusters must satisfy min <= pT <= max == 0.3 <= pT <= 250 - // if (leadingClusterPtMin > kLeadingClusterPtMinThreshold || leadingClusterPtMax < kLeadingClusterPtMaxThreshold) { - bool hasValidCluster = false; - for (const auto& cluster : jet.template clusters_as()) { - const double pt = cluster.energy() / std::cosh(cluster.eta()); - if ((minClusterPt > kLeadingClusterPtMinThreshold && pt < minClusterPt) || - (maxClusterPt < kLeadingClusterPtMaxThreshold && pt > maxClusterPt)) { - continue; // SKIP this invalid cluster - } - filteredClusterPt += pt; - hasValidCluster = true; // At least one cluster exists + // --- Cluster cuts: ALL clusters must satisfy min <= pT <= max == 0.3 <= pT <= 250 + // if (leadingClusterPtMin > kLeadingClusterPtMinThreshold || leadingClusterPtMax < kLeadingClusterPtMaxThreshold) { + bool hasValidCluster = false; + for (const auto& cluster : jet.template clusters_as()) { + const double pt = cluster.energy() / std::cosh(cluster.eta()); + if ((minClusterPt > kLeadingClusterPtMinThreshold && pt < minClusterPt) || + (maxClusterPt < kLeadingClusterPtMaxThreshold && pt > maxClusterPt)) { + continue; // SKIP this invalid cluster + } + filteredClusterPt += pt; + hasValidCluster = true; // At least one cluster exists } // Reject jets without valid clusters (edge case) if (!hasValidCluster) {