From 259898b3da01cf97bee76a1b84543dedd9d105f6 Mon Sep 17 00:00:00 2001 From: Susumu Oda <susumu.oda@cern.ch> Date: Wed, 17 Jun 2020 18:37:07 +0200 Subject: [PATCH] Add ATLAS_CHECK_THREAD_SAFETY to InDetRegionSelector and MuonRegionSelector packages with removing const from getLUT() --- .../RegSelLUT/RegSelLUT/IRegionIDLUT_Creator.h | 2 +- .../InDetRegionSelector/ATLAS_CHECK_THREAD_SAFETY | 1 + .../InDetRegionSelector/SiRegionSelectorTable.h | 2 +- .../InDetRegionSelector/TRT_RegionSelectorTable.h | 2 +- .../InDetRegionSelector/src/SiRegionSelectorTable.cxx | 2 +- .../InDetRegionSelector/src/TRT_RegionSelectorTable.cxx | 4 ++-- .../MuonRegionSelector/ATLAS_CHECK_THREAD_SAFETY | 1 + .../MuonRegionSelector/CSC_RegionSelectorTable.h | 4 ++-- .../MuonRegionSelector/MDT_RegionSelectorTable.h | 4 ++-- .../MuonRegionSelector/MM_RegionSelectorTable.h | 4 ++-- .../MuonRegionSelector/RPC_RegionSelectorTable.h | 4 ++-- .../MuonRegionSelector/TGC_RegionSelectorTable.h | 4 ++-- .../MuonRegionSelector/sTGC_RegionSelectorTable.h | 4 ++-- .../MuonRegionSelector/src/CSC_RegionSelectorTable.cxx | 2 +- .../MuonRegionSelector/src/MDT_RegionSelectorTable.cxx | 2 +- .../MuonRegionSelector/src/MM_RegionSelectorTable.cxx | 2 +- .../MuonRegionSelector/src/RPC_RegionSelectorTable.cxx | 4 ++-- .../MuonRegionSelector/src/TGC_RegionSelectorTable.cxx | 2 +- .../MuonRegionSelector/src/sTGC_RegionSelectorTable.cxx | 2 +- 19 files changed, 27 insertions(+), 25 deletions(-) create mode 100644 InnerDetector/InDetDetDescr/InDetRegionSelector/InDetRegionSelector/ATLAS_CHECK_THREAD_SAFETY create mode 100644 MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/ATLAS_CHECK_THREAD_SAFETY diff --git a/DetectorDescription/RegSelLUT/RegSelLUT/IRegionIDLUT_Creator.h b/DetectorDescription/RegSelLUT/RegSelLUT/IRegionIDLUT_Creator.h index ad345258093..3bb92390788 100644 --- a/DetectorDescription/RegSelLUT/RegSelLUT/IRegionIDLUT_Creator.h +++ b/DetectorDescription/RegSelLUT/RegSelLUT/IRegionIDLUT_Creator.h @@ -34,7 +34,7 @@ public: virtual StatusCode finalize()=0; /// standard AlgTool method /// abstract base method for retrieving the table - virtual RegSelSiLUT* getLUT() const = 0; + virtual RegSelSiLUT* getLUT() = 0; }; diff --git a/InnerDetector/InDetDetDescr/InDetRegionSelector/InDetRegionSelector/ATLAS_CHECK_THREAD_SAFETY b/InnerDetector/InDetDetDescr/InDetRegionSelector/InDetRegionSelector/ATLAS_CHECK_THREAD_SAFETY new file mode 100644 index 00000000000..4e4a8d82777 --- /dev/null +++ b/InnerDetector/InDetDetDescr/InDetRegionSelector/InDetRegionSelector/ATLAS_CHECK_THREAD_SAFETY @@ -0,0 +1 @@ +InnerDetector/InDetDetDescr/InDetRegionSelector diff --git a/InnerDetector/InDetDetDescr/InDetRegionSelector/InDetRegionSelector/SiRegionSelectorTable.h b/InnerDetector/InDetDetDescr/InDetRegionSelector/InDetRegionSelector/SiRegionSelectorTable.h index 4d3b1cbccc2..428cf404c8f 100755 --- a/InnerDetector/InDetDetDescr/InDetRegionSelector/InDetRegionSelector/SiRegionSelectorTable.h +++ b/InnerDetector/InDetDetDescr/InDetRegionSelector/InDetRegionSelector/SiRegionSelectorTable.h @@ -32,7 +32,7 @@ public: StatusCode initialize(); StatusCode finalize(); - virtual RegSelSiLUT* getLUT() const; + virtual RegSelSiLUT* getLUT(); private: diff --git a/InnerDetector/InDetDetDescr/InDetRegionSelector/InDetRegionSelector/TRT_RegionSelectorTable.h b/InnerDetector/InDetDetDescr/InDetRegionSelector/InDetRegionSelector/TRT_RegionSelectorTable.h index 24218c9ffcb..ed5ccaa48ba 100755 --- a/InnerDetector/InDetDetDescr/InDetRegionSelector/InDetRegionSelector/TRT_RegionSelectorTable.h +++ b/InnerDetector/InDetDetDescr/InDetRegionSelector/InDetRegionSelector/TRT_RegionSelectorTable.h @@ -30,7 +30,7 @@ public: StatusCode initialize(); StatusCode execute(); StatusCode finalize(); - virtual RegSelSiLUT* getLUT() const; + virtual RegSelSiLUT* getLUT(); private: diff --git a/InnerDetector/InDetDetDescr/InDetRegionSelector/src/SiRegionSelectorTable.cxx b/InnerDetector/InDetDetDescr/InDetRegionSelector/src/SiRegionSelectorTable.cxx index 0e774353f57..29528fe28c8 100755 --- a/InnerDetector/InDetDetDescr/InDetRegionSelector/src/SiRegionSelectorTable.cxx +++ b/InnerDetector/InDetDetDescr/InDetRegionSelector/src/SiRegionSelectorTable.cxx @@ -92,7 +92,7 @@ SiRegionSelectorTable::~SiRegionSelectorTable() // Get the lookup table. -RegSelSiLUT* SiRegionSelectorTable::getLUT() const +RegSelSiLUT* SiRegionSelectorTable::getLUT() { return m_regionLUT; } diff --git a/InnerDetector/InDetDetDescr/InDetRegionSelector/src/TRT_RegionSelectorTable.cxx b/InnerDetector/InDetDetDescr/InDetRegionSelector/src/TRT_RegionSelectorTable.cxx index 27aee9c9cd4..a9d09c864d4 100755 --- a/InnerDetector/InDetDetDescr/InDetRegionSelector/src/TRT_RegionSelectorTable.cxx +++ b/InnerDetector/InDetDetDescr/InDetRegionSelector/src/TRT_RegionSelectorTable.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ #include "InDetRegionSelector/TRT_RegionSelectorTable.h" @@ -94,7 +94,7 @@ TRT_RegionSelectorTable::~TRT_RegionSelectorTable() } // Get the lookup table. -RegSelSiLUT* TRT_RegionSelectorTable::getLUT() const +RegSelSiLUT* TRT_RegionSelectorTable::getLUT() { return m_regionLUT; } diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/ATLAS_CHECK_THREAD_SAFETY b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/ATLAS_CHECK_THREAD_SAFETY new file mode 100644 index 00000000000..535e432293a --- /dev/null +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/ATLAS_CHECK_THREAD_SAFETY @@ -0,0 +1 @@ +MuonSpectrometer/MuonDetDescr/MuonRegionSelector diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/CSC_RegionSelectorTable.h b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/CSC_RegionSelectorTable.h index 15fec9aeeba..13b4cef202b 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/CSC_RegionSelectorTable.h +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/CSC_RegionSelectorTable.h @@ -1,6 +1,6 @@ // emacs: this is -*- c++ -*- /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ // // @file CSC_RegionSelectorTable.h @@ -45,7 +45,7 @@ public: StatusCode initialize(); StatusCode finalize(); - virtual RegSelSiLUT* getLUT() const; + virtual RegSelSiLUT* getLUT(); private: diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/MDT_RegionSelectorTable.h b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/MDT_RegionSelectorTable.h index 1dcf3c64d45..f3fc4b0c151 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/MDT_RegionSelectorTable.h +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/MDT_RegionSelectorTable.h @@ -1,6 +1,6 @@ // emacs: this is -*- c++ -*- /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ // // @file MDT_RegionSelectorTable.h @@ -45,7 +45,7 @@ public: StatusCode initialize(); StatusCode finalize(); - virtual RegSelSiLUT* getLUT() const; + virtual RegSelSiLUT* getLUT(); private: diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/MM_RegionSelectorTable.h b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/MM_RegionSelectorTable.h index c2b5496f434..8b953d44fde 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/MM_RegionSelectorTable.h +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/MM_RegionSelectorTable.h @@ -1,5 +1,5 @@ /* -Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration +Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ // emacs: this is -*- c++ -*- // @@ -48,7 +48,7 @@ public: StatusCode initialize(); StatusCode finalize(); - virtual RegSelSiLUT* getLUT() const; + virtual RegSelSiLUT* getLUT(); private: diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/RPC_RegionSelectorTable.h b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/RPC_RegionSelectorTable.h index 31d7d0cea6d..091d41fe32f 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/RPC_RegionSelectorTable.h +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/RPC_RegionSelectorTable.h @@ -1,6 +1,6 @@ // emacs: this is -*- C++ -*- /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ // // @file RPC_RegionSelectorTable.h @@ -38,7 +38,7 @@ public: StatusCode initialize(); StatusCode finalize(); - virtual RegSelSiLUT* getLUT() const; + virtual RegSelSiLUT* getLUT(); private: diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/TGC_RegionSelectorTable.h b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/TGC_RegionSelectorTable.h index 8252775f83f..d4041f0579d 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/TGC_RegionSelectorTable.h +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/TGC_RegionSelectorTable.h @@ -1,6 +1,6 @@ // emacs: this is -*- c++ -*- /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ // // @file TGC_RegionSelectorTable.h @@ -46,7 +46,7 @@ public: StatusCode initialize(); StatusCode finalize(); - virtual RegSelSiLUT* getLUT() const; + virtual RegSelSiLUT* getLUT(); private: diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/sTGC_RegionSelectorTable.h b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/sTGC_RegionSelectorTable.h index f651d48e9db..e5aee9a6398 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/sTGC_RegionSelectorTable.h +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/MuonRegionSelector/sTGC_RegionSelectorTable.h @@ -1,5 +1,5 @@ /* -Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration +Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ // emacs: this is -*- c++ -*- // @@ -46,7 +46,7 @@ public: StatusCode initialize(); StatusCode finalize(); - virtual RegSelSiLUT* getLUT() const; + virtual RegSelSiLUT* getLUT(); private: diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/CSC_RegionSelectorTable.cxx b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/CSC_RegionSelectorTable.cxx index f11328c755d..9019b39bc19 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/CSC_RegionSelectorTable.cxx +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/CSC_RegionSelectorTable.cxx @@ -50,7 +50,7 @@ StatusCode CSC_RegionSelectorTable::finalize() { } -RegSelSiLUT* CSC_RegionSelectorTable::getLUT() const { +RegSelSiLUT* CSC_RegionSelectorTable::getLUT() { return m_regionLUT; } diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/MDT_RegionSelectorTable.cxx b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/MDT_RegionSelectorTable.cxx index ca8610c7c5f..f1586dae8b3 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/MDT_RegionSelectorTable.cxx +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/MDT_RegionSelectorTable.cxx @@ -56,7 +56,7 @@ StatusCode MDT_RegionSelectorTable::finalize() { } -RegSelSiLUT* MDT_RegionSelectorTable::getLUT() const { +RegSelSiLUT* MDT_RegionSelectorTable::getLUT() { return m_regionLUT; } diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/MM_RegionSelectorTable.cxx b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/MM_RegionSelectorTable.cxx index 83e88740a8e..3e5567f828f 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/MM_RegionSelectorTable.cxx +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/MM_RegionSelectorTable.cxx @@ -60,7 +60,7 @@ StatusCode MM_RegionSelectorTable::finalize() { } -RegSelSiLUT* MM_RegionSelectorTable::getLUT() const { +RegSelSiLUT* MM_RegionSelectorTable::getLUT() { return m_regionLUT; } diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/RPC_RegionSelectorTable.cxx b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/RPC_RegionSelectorTable.cxx index 340119d40ed..78254517b1b 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/RPC_RegionSelectorTable.cxx +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/RPC_RegionSelectorTable.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ // // @file RPC_RegionSelectorTable.cxx @@ -81,7 +81,7 @@ StatusCode RPC_RegionSelectorTable::finalize() { } -RegSelSiLUT* RPC_RegionSelectorTable::getLUT() const { +RegSelSiLUT* RPC_RegionSelectorTable::getLUT() { return m_regionLUT; } diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/TGC_RegionSelectorTable.cxx b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/TGC_RegionSelectorTable.cxx index 88bf46b5971..0bdbfe59bb1 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/TGC_RegionSelectorTable.cxx +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/TGC_RegionSelectorTable.cxx @@ -64,7 +64,7 @@ StatusCode TGC_RegionSelectorTable::finalize() { } -RegSelSiLUT* TGC_RegionSelectorTable::getLUT() const { +RegSelSiLUT* TGC_RegionSelectorTable::getLUT() { return m_regionLUT; } diff --git a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/sTGC_RegionSelectorTable.cxx b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/sTGC_RegionSelectorTable.cxx index ec2e95ac94c..7c6f9604d8d 100644 --- a/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/sTGC_RegionSelectorTable.cxx +++ b/MuonSpectrometer/MuonDetDescr/MuonRegionSelector/src/sTGC_RegionSelectorTable.cxx @@ -64,7 +64,7 @@ StatusCode sTGC_RegionSelectorTable::finalize() { } -RegSelSiLUT* sTGC_RegionSelectorTable::getLUT() const { +RegSelSiLUT* sTGC_RegionSelectorTable::getLUT() { return m_regionLUT; } -- GitLab