Skip to content
Snippets Groups Projects
Commit 6fe5d37c authored by Tamara Vazquez Schroeder's avatar Tamara Vazquez Schroeder
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: a03d506d28b57a550675731a6b3402882b1c8dc6
parents 3c34c5eb 62e002fc
No related branches found
No related tags found
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