Skip to content
Snippets Groups Projects
Commit 249cbdad authored by John Derek Chapman's avatar John Derek Chapman
Browse files

Merge branch 'cherry-pick-c6646656-21.3' into '21.3'

Sweeping !27452 from 21.2 to 21.3.
Configure AnaToolHandles from athena joboptions

See merge request !27682
parents 35763226 87373544
No related branches found
No related merge requests found
......@@ -526,7 +526,7 @@ namespace asg
ANA_MSG_ERROR ("trying to initialize ToolHandleArray property " << val_name << " with empty handle");
return StatusCode::FAILURE;
}
//strip the parent name
std::string tool_name = toolHandle.name();
tools.push_back (toolHandle.type() + "/" + tool_name);
......@@ -1130,6 +1130,9 @@ namespace asg
return detail::AnaToolHandleMode::USER;
#endif
if (m_config.empty() && !m_handleUser->typeAndName().empty() && (m_handleUser->type() != this->type() || m_handleUser->name() != this->name()))
return detail::AnaToolHandleMode::USER;
if (m_config.empty() && m_name.empty())
return detail::AnaToolHandleMode::EMPTY;
......
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