ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigSteer
DecisionHandling
src
TestRecoAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TRIGUPGRADETEST_TESTRECOALG_H
5
#define TRIGUPGRADETEST_TESTRECOALG_H 1
6
7
8
9
#include "
xAODTrigger/TrigCompositeContainer.h
"
10
11
#include "
AthenaBaseComps/AthAlgorithm.h
"
12
#include <string>
13
#include <utility>
14
15
16
namespace
HLTTest
{
17
25
26
class
TestRecoAlg
27
:
public
::AthAlgorithm
28
{
29
public
:
30
TestRecoAlg
(
const
std::string& name, ISvcLocator* pSvcLocator );
31
virtual
~TestRecoAlg
();
32
33
StatusCode
initialize
()
override
;
34
StatusCode
execute
(
const
EventContext& ctx)
override
;
35
StatusCode
finalize
()
override
;
36
37
private
:
38
TestRecoAlg
();
39
40
typedef
std::pair< std::string, float >
Prop_t
;
41
typedef
std::vector< Prop_t >
Obj_t
;
42
typedef
std::vector< Obj_t >
Event_t
;
43
std::vector< Event_t >
m_data
;
44
StringProperty
m_fileName
{
this
,
"FileName"
,
"Input file with fake objects"
};
45
46
SG::WriteHandleKey<xAOD::TrigCompositeContainer>
m_output
{
this
,
"Output"
,
"Output collection name"
};
47
SG::ReadHandleKey<xAOD::TrigCompositeContainer>
m_input
{
this
,
"Input"
,
"Input collection name"
};
48
49
50
};
51
52
}
//> end namespace HLTTest
53
#endif
//> !TRIGUPGRADETEST_TESTRECOALG_H
AthAlgorithm.h
TrigCompositeContainer.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
HLTTest::TestRecoAlg::m_fileName
StringProperty m_fileName
Definition
TestRecoAlg.h:44
HLTTest::TestRecoAlg::initialize
StatusCode initialize() override
Definition
TestRecoAlg.cxx:36
HLTTest::TestRecoAlg::Prop_t
std::pair< std::string, float > Prop_t
Definition
TestRecoAlg.h:40
HLTTest::TestRecoAlg::TestRecoAlg
TestRecoAlg()
HLTTest::TestRecoAlg::~TestRecoAlg
virtual ~TestRecoAlg()
Definition
TestRecoAlg.cxx:21
HLTTest::TestRecoAlg::TestRecoAlg
TestRecoAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TestRecoAlg.cxx:15
HLTTest::TestRecoAlg::m_data
std::vector< Event_t > m_data
Definition
TestRecoAlg.h:43
HLTTest::TestRecoAlg::m_output
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_output
Definition
TestRecoAlg.h:46
HLTTest::TestRecoAlg::execute
StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
TestRecoAlg.cxx:82
HLTTest::TestRecoAlg::m_input
SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_input
Definition
TestRecoAlg.h:47
HLTTest::TestRecoAlg::finalize
StatusCode finalize() override
Definition
TestRecoAlg.cxx:77
HLTTest::TestRecoAlg::Obj_t
std::vector< Prop_t > Obj_t
Definition
TestRecoAlg.h:41
HLTTest::TestRecoAlg::Event_t
std::vector< Obj_t > Event_t
Definition
TestRecoAlg.h:42
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
HLTTest
Definition
ITestHypoTool.cxx:9
Generated on
for ATLAS Offline Software by
1.17.0