Skip to content
Snippets Groups Projects
Commit d00c1855 authored by Susumu Oda's avatar Susumu Oda Committed by Vakhtang Tsulaia
Browse files

Add atomic to mutable counters of TrackSelectionTool in InDetPhysValMonitoring

parent 31888005
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@
#include "xAODTracking/TrackParticle.h"
#include "AsgTools/AsgTool.h"
#include <atomic>
class TrackSelectionTool:
public virtual ::IAsgSelectionTool,
......@@ -28,8 +29,8 @@ public:
private:
asg::AcceptInfo m_accept;
std::vector<std::pair<std::string, std::string> > m_cuts;
mutable ULong64_t m_numProcessed; // !< a counter of the number of tracks proccessed
mutable ULong64_t m_numPassed; // !< a counter of the number of tracks that passed all cuts
mutable std::atomic<ULong64_t> m_numProcessed; // !< a counter of the number of tracks proccessed
mutable std::atomic<ULong64_t> m_numPassed; // !< a counter of the number of tracks that passed all cuts
mutable std::vector<ULong64_t> m_numPassedCuts; // !< tracks the number of tracks that passed each cut family
// Cut vales;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment