 |
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"
15 #include <unordered_set>
26 if (
s)
decisions.emplace(
s->decisions().begin(),
s->decisions().end());
44 return (
isValid() ? StatusCode::SUCCESS : StatusCode::FAILURE);
60 std::optional<std::unordered_set<DecisionID>>
decisions;
64 #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.
Helper to keep a Decision object, ElementLink and ActiveState (with respect to some requested ChainGr...
bool isValid() const
Test to see if the link can be dereferenced.
LinkInfo(const TypelessLinkInfo &li, const ElementLink< T > &l)
::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.
const Decision * source
The node in the NavGraph for this feature.
LinkInfo(const Decision *s, const ElementLink< T > &l, ActiveState as=ActiveState::UNSET)
std::set< DecisionID > DecisionIDContainer
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.