diff --git a/MuonSpectrometer/MuonCnv/MuonEventAthenaPool/MuonEventAthenaPool/CscRawData_p0.h b/MuonSpectrometer/MuonCnv/MuonEventAthenaPool/MuonEventAthenaPool/CscRawData_p0.h index 5293637ba541d1ff2dce0cdc889e76b56eb5d724..30bce6fb8cc7ee438601f0ccba319c6f0ed8d8a8 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventAthenaPool/MuonEventAthenaPool/CscRawData_p0.h +++ b/MuonSpectrometer/MuonCnv/MuonEventAthenaPool/MuonEventAthenaPool/CscRawData_p0.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration */ #ifndef MUON_CSCRAWDATA_P0_H @@ -25,7 +25,7 @@ class CscRawData_p0 void setDpuID (uint16_t dpuID) { m_dpuID = dpuID; } uint16_t dpuID() const { return m_dpuID; } uint16_t identify() const {return m_id;} - const std::vector<uint16_t> getSamples() const { return m_amps; } + const std::vector<uint16_t> & getSamples() const { return m_amps; } uint32_t getAddress() const { return m_address; } // to be removed eventually @@ -36,15 +36,15 @@ private: //!!!!!!!!!!!!!!! Order of data fields sorted alphabethically for compatibility with ROOT 3 and 4 (Reflection dictionary) - uint32_t m_address; + uint32_t m_address{}; // this data member is // only here for backward compatibility with ROOT3 - uint16_t m_amplitude[4]; + uint16_t m_amplitude[4]{}; std::vector<uint16_t> m_amps; - uint16_t m_dpuID; - uint16_t m_id; + uint16_t m_dpuID{}; + uint16_t m_id{}; }; diff --git a/MuonSpectrometer/MuonCnv/MuonEventAthenaPool/MuonEventAthenaPool/RpcSectorLogicContainer_p1.h b/MuonSpectrometer/MuonCnv/MuonEventAthenaPool/MuonEventAthenaPool/RpcSectorLogicContainer_p1.h index ab4627292bbb7b1e021d80498293e1f7e51ac65c..04ee0495d8381f526e2db51eb4d8173fca5cb93c 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventAthenaPool/MuonEventAthenaPool/RpcSectorLogicContainer_p1.h +++ b/MuonSpectrometer/MuonCnv/MuonEventAthenaPool/MuonEventAthenaPool/RpcSectorLogicContainer_p1.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration */ // RpcSectorLogicContainer_p1.h @@ -20,7 +20,7 @@ class RpcSectorLogicContainer_p1 { public: RpcSectorLogicContainer_p1() {}; - uint32_t m_sectorList[2]; //!< From RpcSectorLogicContainer. Dataword to contain the list of already filled sectors. + uint32_t m_sectorList[2]{}; //!< From RpcSectorLogicContainer. Dataword to contain the list of already filled sectors. /**This contains the bulk of the information from the various SL objects. diff --git a/MuonSpectrometer/MuonCnv/MuonEventAthenaPool/MuonEventAthenaPool/TgcL1Rdo_p1.h b/MuonSpectrometer/MuonCnv/MuonEventAthenaPool/MuonEventAthenaPool/TgcL1Rdo_p1.h index 0eeb88f2cb4f54df05f00c586525088252955104..1bede431cceb3e9a68c966e6fd44642bd7034a4e 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventAthenaPool/MuonEventAthenaPool/TgcL1Rdo_p1.h +++ b/MuonSpectrometer/MuonCnv/MuonEventAthenaPool/MuonEventAthenaPool/TgcL1Rdo_p1.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration */ #ifndef MUON_TGCL1RDO_P1_H @@ -21,7 +21,7 @@ public: private: - uint16_t m_version; + uint16_t m_version{}; // ID of this instance uint16_t m_id{0};