Skip to content

Add ATLAS_THREAD_SAFE to m_extrapolated and m_goodExtrapolated of MuonSegmentTagTool.

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

Add ATLAS_THREAD_SAFE to m_extrapolated and m_goodExtrapolated of MuonSegmentTagTool.

http://goetz.web.cern.ch/goetz/mutable_2019-09-08.html#Muon,MuGirl_Other

 nightly/master/2019-09-08T2131:Reconstruction/MuonIdentification/MuonCombinedBaseTools/src/MuonSegmentTagTool.h +99
5ff953011158ddbce1508badf6adcaf0942f7c11	2019-09-03_T0947	Walter Lampl	inititilize counters (fix valgrind error)
1f27ee9a0a581756d4d43348ee488dc816d3e562	2019-08-13_T1245	Pascal Boeschoten	Convert MuonEDMHelperTool to Service
74dce676535539c39070e332e40817490f287790	2019-08-12_T1112	Susumu Oda	Use atomic for counters in MuonSegmentTagTool


    97	    mutable std::atomic_uint m_natMSEntrance;
    98	    mutable std::atomic_uint m_naccepted;
    99	    mutable std::array<std::atomic_int, 15> m_extrapolated{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; // 15 is maximum possible size
   100	    mutable std::array<std::atomic_int, 15> m_goodExtrapolated{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; // 15 is maximum possible size
   101	

nightly/master/2019-09-08T2131:Reconstruction/MuonIdentification/MuonCombinedBaseTools/src/MuonSegmentTagTool.h +100
5ff953011158ddbce1508badf6adcaf0942f7c11	2019-09-03_T0947	Walter Lampl	inititilize counters (fix valgrind error)
1f27ee9a0a581756d4d43348ee488dc816d3e562	2019-08-13_T1245	Pascal Boeschoten	Convert MuonEDMHelperTool to Service
74dce676535539c39070e332e40817490f287790	2019-08-12_T1112	Susumu Oda	Use atomic for counters in MuonSegmentTagTool


    98	    mutable std::atomic_uint m_naccepted;
    99	    mutable std::array<std::atomic_int, 15> m_extrapolated{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; // 15 is maximum possible size
   100	    mutable std::array<std::atomic_int, 15> m_goodExtrapolated{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; // 15 is maximum possible size
   101	
   102	  };

Merge request reports