ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
12#include <string>
13#include <utility>
14
15
16namespace HLTTest {
17
25
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() override;
35 StatusCode finalize() override;
36
37 private:
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(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
StringProperty m_fileName
Definition TestRecoAlg.h:44
StatusCode initialize() override
std::pair< std::string, float > Prop_t
Definition TestRecoAlg.h:40
StatusCode execute() override
TestRecoAlg(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< Event_t > m_data
Definition TestRecoAlg.h:43
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_output
Definition TestRecoAlg.h:46
SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_input
Definition TestRecoAlg.h:47
StatusCode finalize() override
std::vector< Prop_t > Obj_t
Definition TestRecoAlg.h:41
std::vector< Obj_t > Event_t
Definition TestRecoAlg.h:42
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.