ATLAS Offline Software
Loading...
Searching...
No Matches
L1TopoOnlineMonitorHypoTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef L1TOPOONLINEMONITORING_L1TopoOnlineMonitorHypoTool_h
6#define L1TOPOONLINEMONITORING_L1TopoOnlineMonitorHypoTool_h
7
8// Trigger includes
12
13// Athena includes
16
23public:
24 // ------------------------- Public types ------------------------------------
25 using InputVector = std::vector<std::pair<TrigCompositeUtils::Decision*, const TrigCompositeUtils::Decision*>>;
26
27 // ------------------------- Public methods ----------------------------------
29 L1TopoOnlineMonitorHypoTool(const std::string& type, const std::string& name, const IInterface* parent);
30
32 virtual StatusCode initialize() override;
33
35 StatusCode decide(const InputVector& input, const EventContext& eventContext) const;
36
37private:
38 // ------------------------- Private members ---------------------------------
41
44 this, "ErrorFlagsKey", "L1TopoErrorFlags",
45 "Key of the input TrigCompositeContainer with L1Topo error flags"};
46
47 // ------------------------- Accept properties -------------------------------
48 Gaudi::Property<bool> m_acceptTrivialFlag {
49 this, "AcceptTrivialFlag", false, "Accept events with the trivial flag set"};
50
51};
52
53#endif // L1TOPOONLINEMONITORING_L1TopoOnlineMonitorHypoTool_h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode initialize() override
Implementation of AthAlgTool::initialize()
Gaudi::Property< bool > m_acceptTrivialFlag
std::vector< std::pair< TrigCompositeUtils::Decision *, const TrigCompositeUtils::Decision * > > InputVector
SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_errorFlagsKey
The input ErrorFlags.
HLT::Identifier m_decisionId
The decision id of the tool instance.
L1TopoOnlineMonitorHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
StatusCode decide(const InputVector &input, const EventContext &eventContext) const
The main method of the tool.
Property holding a SG store/key/clid from which a ReadHandle is made.