Skip to content

Commit 30784bd

Browse files
committed
removed unused variables
1 parent 2d07d66 commit 30784bd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

PWGJE/Tasks/fullJetSpectra.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,6 @@ struct FullJetSpectra {
796796

797797
// --- Track cuts: ALL tracks must satisfy 0.15 <= pT <= 140 GeV/c---
798798
if (minTrackPt > kLeadingTrackPtMinThreshold || maxTrackPt < kLeadingTrackPtMaxThreshold) {
799-
bool hasValidTrack = false;
800799
for (const auto& constituent : jet.template tracks_as<T>()) {
801800
const float pt = constituent.pt();
802801

@@ -811,7 +810,6 @@ struct FullJetSpectra {
811810
// --- Cluster cuts: ALL clusters must satisfy min <= pT <= max == 0.3 <= pT <= 250
812811
// Reject jet if ANY cluster is outside range
813812
if (minClusterPt > kLeadingClusterPtMinThreshold || maxClusterPt < kLeadingClusterPtMaxThreshold) {
814-
bool hasValidCluster = false;
815813
for (const auto& cluster : jet.template clusters_as<S>()) {
816814
const double pt = cluster.energy() / std::cosh(cluster.eta());
817815

0 commit comments

Comments
 (0)