ATLAS Offline Software
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
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
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition:
PyTestsLib.py:50
TrigCompositeUtils.h
initialize
void initialize()
Definition:
run_EoverP.cxx:894
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
Definition:
TrigRoiDescriptor.h:56
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition:
StoreGate/StoreGate/ReadHandleKey.h:39
ITestHypoTool.h
LArG4FSStartPointFilterLegacy.execute
execute
Definition:
LArG4FSStartPointFilterLegacy.py:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HLTTest::TestHypoAlg::FeatureContainer
TrigRoiDescriptorCollection FeatureContainer
Definition:
TestHypoAlg.h:36
TrigCompositeContainer.h
HLTTest::TestHypoAlg
Invokes HypoTools and stores the result of the decision.
Definition:
TestHypoAlg.h:25
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
TrigRoiDescriptorCollection
Definition:
TrigRoiDescriptorCollection.h:21
HLTTest::TestHypoAlg::TestHypoAlg
TestHypoAlg()
HypoBase.h
TrigCompositeUtils
Definition:
Event/xAOD/xAODTrigger/xAODTrigger/TrigComposite.h:19
HLTTest
Definition:
ITestHypoTool.cxx:9
HLTTest::TestHypoAlg::FeatureOBJ
TrigRoiDescriptor FeatureOBJ
Definition:
TestHypoAlg.h:35
TrigRoiDescriptorCollection.h
Generated on Thu Nov 7 2024 21:27:27 for ATLAS Offline Software by
1.8.18