Skip to content
Snippets Groups Projects
Commit bc481915 authored by Pierre Antoine Delsart's avatar Pierre Antoine Delsart
Browse files

Do not fail when an EventShapeDensity object pre-exists in evt store. ATLASRECTS-3508

Instead print a warning and exit with Success.
Fix Bug ATLASRECTS-3508
parent 2f45b3af
No related merge requests found
......@@ -111,8 +111,8 @@ StatusCode EventDensityTool::fillEventShape() const {
ATH_MSG_DEBUG("Begin fillEventShape()");
if ( evtStore()->contains<xAOD::EventShape>(m_outcon) ){
ATH_MSG_ERROR( "EventShape with key "<< m_outcon << " already exists. " );
return StatusCode::FAILURE;
ATH_MSG_WARNING( "EventShape with key "<< m_outcon << " already exists. Not overwriting it." );
return StatusCode::SUCCESS;
}
xAOD::EventShape *pevs = new xAOD::EventShape();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment