ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoOnlineMonitoring
src
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
9
#include "
TrigCompositeUtils/HLTIdentifier.h
"
10
#include "
TrigCompositeUtils/TrigCompositeUtils.h
"
11
#include "
xAODTrigger/TrigCompositeContainer.h
"
12
13
// Athena includes
14
#include "
AthenaBaseComps/AthAlgTool.h
"
15
#include "
StoreGate/ReadHandleKey.h
"
16
22
class
L1TopoOnlineMonitorHypoTool
:
public
AthAlgTool
{
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 ---------------------------------
40
HLT::Identifier
m_decisionId
;
41
43
SG::ReadHandleKey<xAOD::TrigCompositeContainer>
m_errorFlagsKey
{
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
AthAlgTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TrigCompositeContainer.h
HLTIdentifier.h
TrigCompositeUtils.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
HLT::Identifier
Definition
TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:19
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::InputVector
std::vector< std::pair< TrigCompositeUtils::Decision *, const TrigCompositeUtils::Decision * > > InputVector
Definition
L1TopoOnlineMonitorHypoTool.h:25
L1TopoOnlineMonitorHypoTool::m_errorFlagsKey
SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_errorFlagsKey
The input ErrorFlags.
Definition
L1TopoOnlineMonitorHypoTool.h:43
L1TopoOnlineMonitorHypoTool::m_decisionId
HLT::Identifier m_decisionId
The decision id of the tool instance.
Definition
L1TopoOnlineMonitorHypoTool.h:40
L1TopoOnlineMonitorHypoTool::L1TopoOnlineMonitorHypoTool
L1TopoOnlineMonitorHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
L1TopoOnlineMonitorHypoTool.cxx:18
L1TopoOnlineMonitorHypoTool::decide
StatusCode decide(const InputVector &input, const EventContext &eventContext) const
The main method of the tool.
Definition
L1TopoOnlineMonitorHypoTool.cxx:33
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
type
Generated on
for ATLAS Offline Software by
1.17.0