ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigSteer
DecisionHandling
src
TestHypoAlg.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_TESTHYPOALG_H
5
#define TRIGUPGRADETEST_TESTHYPOALG_H 1
6
7
8
#include <string>
9
#include "
DecisionHandling/HypoBase.h
"
10
#include "
xAODTrigger/TrigCompositeContainer.h
"
11
#include "
TrigCompositeUtils/TrigCompositeUtils.h
"
12
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
13
#include "
ITestHypoTool.h
"
14
namespace
HLTTest
{
15
20
21
using namespace
TrigCompositeUtils;
22
23
class
TestHypoAlg
:
public
::HypoBase
24
25
{
26
public
:
27
TestHypoAlg
(
const
std::string& name, ISvcLocator* pSvcLocator );
28
virtual
~TestHypoAlg
();
29
30
virtual
StatusCode
initialize
()
override
;
31
virtual
StatusCode
execute
(
const
EventContext& context )
const override
;
32
virtual
StatusCode
finalize
()
override
;
33
34
private
:
35
typedef
TrigRoiDescriptor
FeatureOBJ
;
36
typedef
TrigRoiDescriptorCollection
FeatureContainer
;
37
/* typedef xAOD::TrigComposite FeatureOBJ; */
38
/* typedef xAOD::TrigCompositeContainer FeatureContainer; */
39
40
41
// the DecisionContainer read/write handle keys are in the base class, called previousDecisions and Output
42
TestHypoAlg
();
43
ToolHandleArray<ITestHypoTool>
m_tools
{
this
,
"HypoTools"
, {},
"Hypo tools"
};
44
SG::ReadHandleKey<xAOD::TrigCompositeContainer>
m_recoInput
{
this
,
"Input"
,
"Input"
,
"Key for reco input"
};
45
StringProperty
m_linkName
{
this
,
"LinkName"
,
"initialRoI"
,
"name of the link to the features in the decision, e.g. 'feature', 'initialRoI'"
};
46
47
};
48
49
}
//> end namespace HLTTest
50
#endif
//> !TRIGUPGRADETEST_TESTHYPOALG_H
HypoBase.h
ITestHypoTool.h
TrigCompositeContainer.h
TrigCompositeUtils.h
TrigRoiDescriptorCollection.h
HLTTest::TestHypoAlg::TestHypoAlg
TestHypoAlg()
HLTTest::TestHypoAlg::m_recoInput
SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_recoInput
Definition
TestHypoAlg.h:44
HLTTest::TestHypoAlg::FeatureOBJ
TrigRoiDescriptor FeatureOBJ
Definition
TestHypoAlg.h:35
HLTTest::TestHypoAlg::m_tools
ToolHandleArray< ITestHypoTool > m_tools
Definition
TestHypoAlg.h:43
HLTTest::TestHypoAlg::~TestHypoAlg
virtual ~TestHypoAlg()
Definition
TestHypoAlg.cxx:12
HLTTest::TestHypoAlg::TestHypoAlg
TestHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TestHypoAlg.cxx:9
HLTTest::TestHypoAlg::finalize
virtual StatusCode finalize() override
Definition
TestHypoAlg.cxx:23
HLTTest::TestHypoAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition
TestHypoAlg.cxx:29
HLTTest::TestHypoAlg::m_linkName
StringProperty m_linkName
Definition
TestHypoAlg.h:45
HLTTest::TestHypoAlg::initialize
virtual StatusCode initialize() override
Definition
TestHypoAlg.cxx:14
HLTTest::TestHypoAlg::FeatureContainer
TrigRoiDescriptorCollection FeatureContainer
Definition
TestHypoAlg.h:36
HypoBase::HypoBase
HypoBase(const std::string &name, ISvcLocator *pSvcLocator)
constructor, to be called by sub-class constructors
Definition
HypoBase.cxx:12
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
TrigRoiDescriptorCollection
Definition
TrigRoiDescriptorCollection.h:14
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...
Definition
TrigRoiDescriptor.h:48
HLTTest
Definition
ITestHypoTool.cxx:9
Generated on
for ATLAS Offline Software by
1.17.0