ATLAS Offline Software
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 
23 public:
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 
37 private:
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
L1TopoOnlineMonitorHypoTool::InputVector
std::vector< std::pair< TrigCompositeUtils::Decision *, const TrigCompositeUtils::Decision * > > InputVector
Definition: L1TopoOnlineMonitorHypoTool.h:25
L1TopoOnlineMonitorHypoTool
Hypo tool using the xAOD::TrigComposite with information on potential L1Topo hardware,...
Definition: L1TopoOnlineMonitorHypoTool.h:22
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
TrigCompositeUtils.h
L1TopoOnlineMonitorHypoTool::L1TopoOnlineMonitorHypoTool
L1TopoOnlineMonitorHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: L1TopoOnlineMonitorHypoTool.cxx:18
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
TrigCompositeContainer.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
L1TopoOnlineMonitorHypoTool::initialize
virtual StatusCode initialize() override
Implementation of AthAlgTool::initialize()
Definition: L1TopoOnlineMonitorHypoTool.cxx:26
L1TopoOnlineMonitorHypoTool::m_acceptTrivialFlag
Gaudi::Property< bool > m_acceptTrivialFlag
Definition: L1TopoOnlineMonitorHypoTool.h:48
L1TopoOnlineMonitorHypoTool::m_errorFlagsKey
SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_errorFlagsKey
The input ErrorFlags.
Definition: L1TopoOnlineMonitorHypoTool.h:43
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
L1TopoOnlineMonitorHypoTool::m_decisionId
HLT::Identifier m_decisionId
The decision id of the tool instance.
Definition: L1TopoOnlineMonitorHypoTool.h:40
AthAlgTool
Definition: AthAlgTool.h:26
L1TopoOnlineMonitorHypoTool::decide
StatusCode decide(const InputVector &input, const EventContext &eventContext) const
The main method of the tool.
Definition: L1TopoOnlineMonitorHypoTool.cxx:33