10 const std::string& name,
11 const IInterface* parent)
18 return StatusCode::SUCCESS;
24 return name.find(
"FS") == 0 or name.empty();
30 m_allFSChains.insert( thresholdToChain.second.begin(), thresholdToChain.second.end() );
40 return StatusCode::SUCCESS;
49 auto *decisionOutput = handle.
ptr();
53 std::set_intersection(activeChains.begin(), activeChains.end(),
55 std::inserter(activeFSChains, activeFSChains.end()));
61 ATH_MSG_DEBUG(
"Unpacking FS RoI for " << activeFSChains.size() <<
" chains: " << [&](){
62 TrigCompositeUtils::DecisionIDContainer ids;
63 TrigCompositeUtils::decisionIDs( decision, ids );
64 return std::vector<TrigCompositeUtils::DecisionID>( ids.begin(), ids.end() ); }() );
67 ATH_CHECK(roiHandle.record( std::make_unique<TrigRoiDescriptorCollection>() ));
79 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
SG::WriteHandle< DecisionContainer > createAndStore(const SG::WriteHandleKey< DecisionContainer > &key, const EventContext &ctx)
Creates and right away records the DecisionContainer with the key.
ElementLink implementation for ROOT usage.
Class holding the LVL1 RoIB result build by the RoIBuilder.
static constexpr bool FULLSCAN
convenient
pointer_type ptr()
Dereference the pointer.
std::set< HLT::Identifier > IDSet
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Decision * newDecisionIn(DecisionContainer *dc, const std::string &name)
Helper method to create a Decision object, place it in the container and return a pointer to it.
const std::string & initialRoIString()
const std::string & hltSeedingNodeName()