13 const std::string& name,
14 const IInterface* parent ) :
30 return StatusCode::SUCCESS;
34 ATH_MSG_DEBUG(
"Add decisionIDs to " << decisions->size() <<
" output decisions" );
36 for (
const auto d: *decisions ) {
39 ATH_MSG_DEBUG(
"Decision "<< counter <<
": Got "<<inputLinks.size()<<
" input decisions");
40 for (
const auto& previousDecisions: inputLinks){
45 ATH_MSG_DEBUG(
"Number of decision-IDs for input "<< counter <<
" is: " << objDecisions.size() );
49 if ( not feature.isValid() ) {
50 ATH_MSG_ERROR(
" Can not find reference to the object from the decision" );
51 return StatusCode::FAILURE;
53 const float v = (*feature)->getDetail<
float>(
m_property );
67 return StatusCode::SUCCESS;
73 return StatusCode::SUCCESS;
static HLT::Identifier fromToolName(const std::string &tname)
const std::vector< ElementLink< DecisionContainer > > getLinkToPrevious(const Decision *d)
returns links to previous decision object 'seed'
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
std::set< DecisionID > DecisionIDContainer
xAOD::TrigCompositeContainer DecisionContainer
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.
void decisionIDs(const Decision *d, DecisionIDContainer &destination)
Extracts DecisionIDs stored in the Decision object.
TrigCompositeContainer_v1 TrigCompositeContainer
Declare the latest version of the container.