Skip to content
Snippets Groups Projects
Commit d8b2fa2a authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'cherry-pick-a03d506d28-master' into 'master'

Sweeping !4517 from 21.0 to master.
Do not fail when an EventShapeDensity object pre-exists in evt store. ATLASRECTS-3508

See merge request !4681
parents c48499fd ad5a5933
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