ATLAS Offline Software
Loading...
Searching...
No Matches
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>
13#include "ITestHypoTool.h"
14namespace 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:
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
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
SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_recoInput
Definition TestHypoAlg.h:44
TrigRoiDescriptor FeatureOBJ
Definition TestHypoAlg.h:35
ToolHandleArray< ITestHypoTool > m_tools
Definition TestHypoAlg.h:43
TestHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode finalize() override
virtual StatusCode execute(const EventContext &context) const override
StringProperty m_linkName
Definition TestHypoAlg.h:45
virtual StatusCode initialize() override
TrigRoiDescriptorCollection FeatureContainer
Definition TestHypoAlg.h:36
HypoBase(const std::string &name, ISvcLocator *pSvcLocator)
constructor, to be called by sub-class constructors
Definition HypoBase.cxx:12
Property holding a SG store/key/clid from which a ReadHandle is made.
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...