ATLAS Offline Software
Loading...
Searching...
No Matches
TrigDecisionToolLite.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TrigDecision_TrigDecisionToolLite_h
6#define TrigDecision_TrigDecisionToolLite_h
7/**********************************************************************************
8 * @class : TrigDecisionToolLite
9 *
10 * @brief Lightweight alternate to the TrigDecisionTool, without configuration access.
11 *
12 * The TrigDecisionToolLite provides a minimal interface with the per-event trigger payload.
13 * Unlike the full version, this tool does NOT interface with the trigger configuration data.
14 * This tool will only allow access to information from the HLT navigation container which can be
15 * interpreted independently of the configuration. This includes per-chain feature access.
16 * And HLT chain isPassed information, as returned from the HLT navigation terminus node.
17 *
18 ***********************************************************************************/
19
20#include "AsgTools/AsgTool.h"
23
26
28
30
31namespace Trig {
33 {
35
36 public:
37
38 TrigDecisionToolLite(const std::string& name);
40
41 StatusCode initialize();
42
48 virtual bool isPassed(const HLT::Identifier& chain, const EventContext& ctx) const final;
49
56 virtual bool isPassed(const std::string& chain, const EventContext& ctx) const final;
57
63 virtual bool isPassed(const std::vector<HLT::Identifier>& chains, const EventContext& ctx) const final;
64
71 virtual bool isPassed(const std::vector<std::string>& chains, const EventContext& ctx) const final;
72
73 private:
74
87 virtual std::vector<TrigCompositeUtils::TypelessLinkInfo>
88 typelessFeatures( const Trig::FeatureRequestDescriptor& frd, const CLID clid, const EventContext& ctx) const final;
89
90 virtual const asg::EventStoreType* getEventStore() const final;
91
96 StatusCode fillPassingChainsSet(TrigCompositeUtils::DecisionIDContainer& setOfAllPassingChains, const EventContext& ctx) const;
97
98 SG::ReadHandleKey<TrigCompositeUtils::DecisionContainer> m_HLTSummaryKeyIn {this, "HLTSummary",
99 "HLTNav_Summary_DAODSlimmed", "HLT navigation summary container key"};
100
101 public:
102
103 static std::atomic<bool> s_printWarningMessages ATLAS_THREAD_SAFE;
104
105 };
106
107} // End of namespace
108
109#endif
#define ASG_TOOL_CLASS1
Property holding a SG store/key/clid from which a ReadHandle is made.
uint32_t CLID
The Class ID type.
std::set< DecisionID > DecisionIDContainer
xAOD::TrigCompositeContainer DecisionContainer
isPassed and features interfaces for the TrigDecisionToolLite
static std::atomic< bool > s_printWarningMessages ATLAS_THREAD_SAFE
StatusCode initialize()
Dummy implementation of the initialisation function.
virtual const asg::EventStoreType * getEventStore() const final
Internal call to obtain event store pointer from concrete tool implementation. Note that evtStore() i...
StatusCode fillPassingChainsSet(TrigCompositeUtils::DecisionIDContainer &setOfAllPassingChains, const EventContext &ctx) const
Internal.
virtual std::vector< TrigCompositeUtils::TypelessLinkInfo > typelessFeatures(const Trig::FeatureRequestDescriptor &frd, const CLID clid, const EventContext &ctx) const final
Internal type erased features retrieval implementation call.
SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > m_HLTSummaryKeyIn
TrigDecisionToolLite(const std::string &name)
virtual bool isPassed(const HLT::Identifier &chain, const EventContext &ctx) const final
true if the given HLT chain passed for physics
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
Forward declaration.
The common trigger namespace for trigger analysis tools.
StoreGateSvc EventStoreType
the type returned by AsgTool::evtStore