Skip to content
Snippets Groups Projects
Commit b1f5aea4 authored by Tamara Vazquez Schroeder's avatar Tamara Vazquez Schroeder Committed by Atlas Nightlybuild
Browse files

Merge branch 'checks_in_EDTool' into '21.0'

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

See merge request !4517

Former-commit-id: ad5a5933
parent 99e196e0
No related branches found
No related tags found
No related merge requests found
...@@ -111,8 +111,8 @@ StatusCode EventDensityTool::fillEventShape() const { ...@@ -111,8 +111,8 @@ StatusCode EventDensityTool::fillEventShape() const {
ATH_MSG_DEBUG("Begin fillEventShape()"); ATH_MSG_DEBUG("Begin fillEventShape()");
if ( evtStore()->contains<xAOD::EventShape>(m_outcon) ){ if ( evtStore()->contains<xAOD::EventShape>(m_outcon) ){
ATH_MSG_ERROR( "EventShape with key "<< m_outcon << " already exists. " ); ATH_MSG_WARNING( "EventShape with key "<< m_outcon << " already exists. Not overwriting it." );
return StatusCode::FAILURE; return StatusCode::SUCCESS;
} }
xAOD::EventShape *pevs = new xAOD::EventShape(); 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