Skip to content
Snippets Groups Projects

Draft: Revert "Merge branch 'ATLASRECTS-6089_WriteDecorHandle_adapts_to_input_collection' into 'master'"

Closed Edward Moyse requested to merge revert-77a837d9 into master
2 files
+ 6
21
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -33,16 +33,11 @@ namespace ClusterMatching {
{
ATH_MSG_INFO ("Initializing " << name() << "...");
if (m_clustersIn.empty()) {
ATH_MSG_ERROR("Empty name provided for TopoCluster collection nothing to "
"work with -- aborting");
if(m_elementLinkName.empty()) {
ATH_MSG_ERROR("Empty name provided for TopoCluster ElementLinks -- aborting");
return StatusCode::FAILURE;
}
ATH_CHECK(m_clustersIn.initialize());
//adapt WriteDecorHandleKey to input name
const std::string baseName = m_clustersIn.key();
m_elementLinkName = baseName + ".constituentClusterLinks";
ATH_CHECK( m_clustersIn.initialize() );
ATH_CHECK( m_elementLinkName.initialize() );
return StatusCode::SUCCESS;
Loading