Skip to content

Add std::mutex to guard m_numTracksPassedCuts of InDetTrackSelectionTool

Susumu Oda requested to merge oda/athena:master-InDetTrackSelectionTool into master

Add std::mutex to guard m_numTracksPassedCuts of InDetTrackSelectionTool

http://goetz.web.cern.ch/goetz/mutable_2019-09-08.html#InnerDetector_Other

nightly/master/2019-09-08T2131:InnerDetector/InDetRecTools/InDetTrackSelectionTool/InDetTrackSelectionTool/InDetTrackSelectionTool.h +105
431c67b9926b18705c43e580bc691082460d6006	2019-06-06_T1140	Susumu Oda	Partially fix thread-safe issues of InDetTrackSelectionTool

   103	    mutable std::atomic<ULong64_t> m_numTracksProcessed = 0; //!< a counter of the number of tracks proccessed
   104	    mutable std::atomic<ULong64_t> m_numTracksPassed = 0; //!< a counter of the number of tracks that passed all cuts
   105	    mutable std::vector<ULong64_t> m_numTracksPassedCuts; //!< tracks the number of tracks that passed each cut family
   106	
   107	    constexpr static Double_t LOCAL_MAX_DOUBLE = 1.0e16;

Merge request reports