From 939e5e56c8e6a3db01adcdeeb5d2b19b333adbfe Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Wed, 30 Apr 2014 21:39:15 +0200 Subject: [PATCH] Made static a member variable of RecoTauVertexAssociator A static was being used as if it were a member data. This was being flagged by the static analyzer. It was trivial to make the variable an actual member variable. --- RecoTauTag/RecoTau/interface/RecoTauVertexAssociator.h | 1 + RecoTauTag/RecoTau/src/RecoTauVertexAssociator.cc | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/RecoTauTag/RecoTau/interface/RecoTauVertexAssociator.h b/RecoTauTag/RecoTau/interface/RecoTauVertexAssociator.h index bd32cb15e4ea3..5f71ccb6961f0 100644 --- a/RecoTauTag/RecoTau/interface/RecoTauVertexAssociator.h +++ b/RecoTauTag/RecoTau/interface/RecoTauVertexAssociator.h @@ -75,6 +75,7 @@ class RecoTauVertexAssociator { //PJ adding quality cuts RecoTauQualityCuts qcuts_; bool recoverLeadingTrk; + bool vxTrkFiltering; edm::EDGetTokenT vx_token; diff --git a/RecoTauTag/RecoTau/src/RecoTauVertexAssociator.cc b/RecoTauTag/RecoTau/src/RecoTauVertexAssociator.cc index c529d9519803e..921e3ffd2631b 100644 --- a/RecoTauTag/RecoTau/src/RecoTauVertexAssociator.cc +++ b/RecoTauTag/RecoTau/src/RecoTauVertexAssociator.cc @@ -14,8 +14,6 @@ namespace reco { namespace tau { - bool vxTrkFiltering; - // Get the highest pt track in a jet. // Get the KF track if it exists. Otherwise, see if it has a GSF track. reco::TrackBaseRef RecoTauVertexAssociator::getLeadTrack(const PFJet& jet) const{