diff --git a/MuonSpectrometer/MuonIdHelpers/MuonIdHelpers/MuonIdHelper.h b/MuonSpectrometer/MuonIdHelpers/MuonIdHelpers/MuonIdHelper.h index 8d42af5f264d3af5df2caf369b507c5dfd21c4f8..44d38e048e6878bd4f2cfa72e1bd4bae548ea035 100644 --- a/MuonSpectrometer/MuonIdHelpers/MuonIdHelpers/MuonIdHelper.h +++ b/MuonSpectrometer/MuonIdHelpers/MuonIdHelpers/MuonIdHelper.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ // ****************************************************************************** @@ -446,7 +446,6 @@ inline bool MuonIdHelper::validStation(int stationName, int technology) const inline void MuonIdHelper::addStationID(ExpandedIdentifier& id, int stationName, int stationEta, int stationPhi, int technology) const { id << stationName << stationEta << stationPhi << technology; - assert(id.last_error() == ExpandedIdentifier::none); } /*******************************************************************************/ // Check if ID for muon system diff --git a/MuonSpectrometer/MuonIdHelpers/src/MuonIdHelper.cxx b/MuonSpectrometer/MuonIdHelpers/src/MuonIdHelper.cxx index c33964c6ad43a089f7069f72f44839f98fcdd13f..7ab63bc26896d5dd4e4120b44db925203d1212d2 100644 --- a/MuonSpectrometer/MuonIdHelpers/src/MuonIdHelper.cxx +++ b/MuonSpectrometer/MuonIdHelpers/src/MuonIdHelper.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ // ****************************************************************************** @@ -923,7 +923,6 @@ void MuonIdHelper::addStationID(Identifier& id, int stationName, int stationEta, << " Fields not appended " << endmsg; } else { exp_id << stationName << stationEta << stationPhi << technology; - assert (exp_id.last_error () == ExpandedIdentifier::none); get_id(exp_id, id); // Fill output } }