Skip to content

Commit

Permalink
Made static a member variable of RecoTauVertexAssociator
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Dr15Jones committed Apr 30, 2014
1 parent 1b32444 commit 939e5e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions RecoTauTag/RecoTau/interface/RecoTauVertexAssociator.h
Expand Up @@ -75,6 +75,7 @@ class RecoTauVertexAssociator {
//PJ adding quality cuts
RecoTauQualityCuts qcuts_;
bool recoverLeadingTrk;
bool vxTrkFiltering;

edm::EDGetTokenT<reco::VertexCollection> vx_token;

Expand Down
2 changes: 0 additions & 2 deletions RecoTauTag/RecoTau/src/RecoTauVertexAssociator.cc
Expand Up @@ -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{
Expand Down

0 comments on commit 939e5e5

Please sign in to comment.