Skip to content
Snippets Groups Projects
Commit 5258dae2 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'master-TrackSelectionTool' into 'master'

Add atomic to mutable counters of TrackSelectionTool in InDetPhysValMonitoring

See merge request !24244
parents 31888005 d00c1855
9 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!28528Revert 63f845ae,!27054Atr20369 210,!26342Monopole: Handle fractionally charged particles,!24244Add atomic to mutable counters of TrackSelectionTool in InDetPhysValMonitoring
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include "xAODTracking/TrackParticle.h" #include "xAODTracking/TrackParticle.h"
#include "AsgTools/AsgTool.h" #include "AsgTools/AsgTool.h"
#include <atomic>
class TrackSelectionTool: class TrackSelectionTool:
public virtual ::IAsgSelectionTool, public virtual ::IAsgSelectionTool,
...@@ -28,8 +29,8 @@ public: ...@@ -28,8 +29,8 @@ public:
private: private:
asg::AcceptInfo m_accept; asg::AcceptInfo m_accept;
std::vector<std::pair<std::string, std::string> > m_cuts; std::vector<std::pair<std::string, std::string> > m_cuts;
mutable ULong64_t m_numProcessed; // !< a counter of the number of tracks proccessed mutable std::atomic<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_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 mutable std::vector<ULong64_t> m_numPassedCuts; // !< tracks the number of tracks that passed each cut family
// Cut vales; // 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