diff --git a/Trigger/TrigDataAccess/TrigSerializeCnvSvc/TrigSerializeCnvSvc/TrigSerializeConverter.h b/Trigger/TrigDataAccess/TrigSerializeCnvSvc/TrigSerializeCnvSvc/TrigSerializeConverter.h index b6f77e517e3f07ae9b093d8ee46948ea07c8d64d..d84d34a05a00077e026035c2c8dba60691c96110 100755 --- a/Trigger/TrigDataAccess/TrigSerializeCnvSvc/TrigSerializeCnvSvc/TrigSerializeConverter.h +++ b/Trigger/TrigDataAccess/TrigSerializeCnvSvc/TrigSerializeCnvSvc/TrigSerializeConverter.h @@ -1,7 +1,7 @@ // Dear emacs, this is -*- c++ -*- /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration */ // $Id$ @@ -176,17 +176,10 @@ public: TrigStreamAddress *addr = dynamic_cast< TrigStreamAddress* >( iAddr ); if( addr ) { if( m_sgsvc->contains< DATA >( addr->sgkey() ) ) { - //std::cout << "NOT OVERWRITING! ptr " << nObj << " key: " << addr->sgkey() << std::endl; - if (clname == "TrigRoiDescriptorCollection") { - // FIXME: we shouldn't be doing overwrite() in a MT job! - sc = m_sgsvc->overwrite( nObj, addr->sgkey(), false ); - } - else { - *m_log << MSG::ERROR << "TrigSerializeConverter::createObj object " - << clname << " / " << addr->sgkey() - << " is already in the store; not overwriting" - << endmsg; - } + *m_log << MSG::ERROR << "TrigSerializeConverter::createObj object " + << clname << " / " << addr->sgkey() + << " is already in the store; not overwriting" + << endmsg; } else { sc = m_sgsvc->record( nObj, addr->sgkey() ); }