Skip to content

Commit c6316af

Browse files
authored
Merge pull request AliceO2Group#33 from alibuild/alibot-cleanup-14367
Please consider the following formatting changes to AliceO2Group#14367
2 parents 4ea4740 + 7b62628 commit c6316af

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

PWGJE/Tasks/fullJetSpectra.cxx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -759,24 +759,24 @@ struct FullJetSpectra {
759759
}
760760
filteredTrackPt += pt; // Accumulate valid track pT
761761
hasValidTrack = true; // At least one track exists (if needed)
762-
}
763-
// Reject jets without valid tracks (edge case)
764-
if (!hasValidTrack) {
765-
return false;
766-
}
767-
// }
762+
}
763+
// Reject jets without valid tracks (edge case)
764+
if (!hasValidTrack) {
765+
return false;
766+
}
767+
// }
768768

769-
// --- Cluster cuts: ALL clusters must satisfy min <= pT <= max == 0.3 <= pT <= 250
770-
// if (leadingClusterPtMin > kLeadingClusterPtMinThreshold || leadingClusterPtMax < kLeadingClusterPtMaxThreshold) {
771-
bool hasValidCluster = false;
772-
for (const auto& cluster : jet.template clusters_as<S>()) {
773-
const double pt = cluster.energy() / std::cosh(cluster.eta());
774-
if ((minClusterPt > kLeadingClusterPtMinThreshold && pt < minClusterPt) ||
775-
(maxClusterPt < kLeadingClusterPtMaxThreshold && pt > maxClusterPt)) {
776-
continue; // SKIP this invalid cluster
777-
}
778-
filteredClusterPt += pt;
779-
hasValidCluster = true; // At least one cluster exists
769+
// --- Cluster cuts: ALL clusters must satisfy min <= pT <= max == 0.3 <= pT <= 250
770+
// if (leadingClusterPtMin > kLeadingClusterPtMinThreshold || leadingClusterPtMax < kLeadingClusterPtMaxThreshold) {
771+
bool hasValidCluster = false;
772+
for (const auto& cluster : jet.template clusters_as<S>()) {
773+
const double pt = cluster.energy() / std::cosh(cluster.eta());
774+
if ((minClusterPt > kLeadingClusterPtMinThreshold && pt < minClusterPt) ||
775+
(maxClusterPt < kLeadingClusterPtMaxThreshold && pt > maxClusterPt)) {
776+
continue; // SKIP this invalid cluster
777+
}
778+
filteredClusterPt += pt;
779+
hasValidCluster = true; // At least one cluster exists
780780
}
781781
// Reject jets without valid clusters (edge case)
782782
if (!hasValidCluster) {

0 commit comments

Comments
 (0)