 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGCOMPOSITEUTILS_LINKINFO_H
6 #define TRIGCOMPOSITEUTILS_LINKINFO_H
9 #include "AthLinks/ElementLink.h"
13 #include <unordered_set>
33 if (
s)
decisions.emplace(
s->decisions().begin(),
s->decisions().end());
48 return (
isValid() ? StatusCode::SUCCESS : StatusCode::FAILURE);
64 std::optional<std::unordered_set<DecisionID>>
decisions;
68 #endif //> !TRIGCOMPOSITEUTILS_LINKINFO_H
ActiveState
Additional information returned by the TrigerDecisionTool's feature retrieval, contained within the L...
const Decision * source
The node in the NavGraph for this feature.
ElementLink< T > link
Link to the feature.
@ UNSET
Default property of state.
bool isValid() const
Test to see if the link can be dereferenced.
@ INACTIVE
The link was inactive for all of the HLT Chains requested in the TDT.
::StatusCode StatusCode
StatusCode definition for legacy code.
ActiveState state
Was the linked feature active for any requested chains.
Class used to describe composite objects in the HLT.
LinkInfo(const Decision *s, const ElementLink< T > &l, ActiveState as=ActiveState::UNSET)
Helper to keep a Decision object, ElementLink and ActiveState (with respect to some requested ChainGr...
std::set< DecisionID > DecisionIDContainer
@ ACTIVE
The link was still active for one-or-more of the HLT Chains requested in the TDT.
void decisionIDs(const Decision *d, DecisionIDContainer &destination)
Extracts DecisionIDs stored in the Decision object.
LinkInfo(const Decision *s, const ElementLink< T > &l, ActiveState as, const DecisionIDContainer &decisionIDs)
std::optional< std::unordered_set< DecisionID > > decisions
All decision IDs active for this feature.