ATLAS Offline Software
Trigger
TrigSteer
DecisionHandling
src
ITestHypoTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TRIGUPGRADETEST_ITESTHYPOTOOL_H
5
#define TRIGUPGRADETEST_ITESTHYPOTOOL_H 1
6
7
#include "
TrigCompositeUtils/HLTIdentifier.h
"
8
#include "
TrigCompositeUtils/TrigCompositeUtils.h
"
9
#include "GaudiKernel/IAlgTool.h"
10
11
namespace
HLTTest
{
12
13
using namespace
TrigCompositeUtils
;
14
static
const
InterfaceID IID_ITestHypoTool(
"ITestHypoTool"
, 1, 0);
15
21
class
ITestHypoTool
22
:
virtual
public
::IAlgTool
23
{
24
25
public
:
26
27
virtual
~
ITestHypoTool
();
28
ITestHypoTool
(
const
std::string&
name
)
29
: m_decisionId(
name
) {}
30
static
const
InterfaceID& interfaceID();
31
38
virtual
StatusCode
decide
(
DecisionContainer
*
decisions
)
const
= 0;
39
43
HLT::Identifier
decisionId
()
const
{
return
m_decisionId; }
44
protected
:
45
HLT::Identifier
m_decisionId
;
46
47
};
48
49
inline
const
InterfaceID&
ITestHypoTool::interfaceID
()
50
{
51
return
IID_ITestHypoTool;
52
}
53
54
}
//> end namespace HLTTest
55
#endif //> !TRIGUPGRADETEST_ITESTHYPOTOOL_H
HLTTest::ITestHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition:
ITestHypoTool.h:45
HLTTest::ITestHypoTool::decide
virtual StatusCode decide(DecisionContainer *decisions) const =0
method invoked to work out the decisions per object
HLTTest::ITestHypoTool::interfaceID
static const InterfaceID & interfaceID()
Definition:
ITestHypoTool.h:49
TrigCompositeUtils.h
HLTTest::ITestHypoTool
Definition:
ITestHypoTool.h:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HLTTest::ITestHypoTool::ITestHypoTool
ITestHypoTool(const std::string &name)
Definition:
ITestHypoTool.h:28
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
HLT::Identifier
Definition:
TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
xAOD::decisions
decisions
Definition:
TrigComposite_v1.cxx:101
HLTTest::ITestHypoTool::decisionId
HLT::Identifier decisionId() const
returns decision ID for this hypo tool
Definition:
ITestHypoTool.h:43
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
HLTIdentifier.h
TrigCompositeUtils
Definition:
Event/xAOD/xAODTrigger/xAODTrigger/TrigComposite.h:19
HLTTest
Definition:
ITestHypoTool.cxx:9
Generated on Mon Dec 23 2024 21:12:08 for ATLAS Offline Software by
1.8.18