Skip to content

Commit

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

2 changes: 1 addition & 1 deletion RecoVertex/KalmanVertexFit/src/SimpleVertexTree.cc
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ void SimpleVertexTree::fill(const TrackingVertex * simv)
void SimpleVertexTree::fill()
{
++numberOfVertices;

static std::atomic<int> nFill{0};
TDirectory* rootDir = gDirectory;
//
// fill entry
Expand Down

0 comments on commit 258cfdd

Please sign in to comment.