Skip to content

Commit

Permalink
make static into member data
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Nov 12, 2013
1 parent f4b04d8 commit b43a787
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions RecoVertex/KalmanVertexFit/interface/SimpleVertexTree.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ class SimpleVertexTree {
int maxTrack;
TString* parameterNames[5];
TrackAssociatorByChi2 * associatorForParamAtPca;
std::atomic<int> nFill{0};
};
#endif

1 change: 0 additions & 1 deletion RecoVertex/KalmanVertexFit/src/SimpleVertexTree.cc
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ void SimpleVertexTree::fill()
//
// fill entry
//
static int nFill(0);
vertexTree->GetDirectory()->cd();
vertexTree->Fill();
if ( (++nFill)%1000==0 ) vertexTree->AutoSave();
Expand Down

0 comments on commit b43a787

Please sign in to comment.