ATLAS Offline Software
Loading...
Searching...
No Matches
TestHypoTool.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_TESTHYPOTOOL_H
5#define TRIGUPGRADETEST_TESTHYPOTOOL_H 1
6
7// STL includes
8#include <string>
9
10
12
13
14
15#include "./ITestHypoTool.h"
16
17namespace HLTTest {
18
23
24 class TestHypoTool : virtual public ITestHypoTool, public AthAlgTool
25 {
26
27 public:
28
29 TestHypoTool( const std::string& type,
30 const std::string& name,
31 const IInterface* parent );
32
33 virtual ~TestHypoTool();
34
35 StatusCode initialize() override;
36 StatusCode finalize() override;
37
38 StatusCode decide( DecisionContainer* decisions ) const override;
39
40 private:
41
42
43 Gaudi::Property<float> m_threshold{ this, "Threshold", 0, "Threshold to apply" };
44 StringProperty m_property{ this, "Property", "Et", "Propery to use to test hypothesis (Et, pt)" };
45
46
47 // float m_threshold;
48 //std::string m_property;
49 StringProperty m_linkName {this, "LinkName", "initialRoI", "name of the link to the features in the decision, e.g. 'feature', 'initialRoI'"};
50
51
52
53 };
54
55} //> end namespace HLTTest
56#endif //> !TRIGUPGRADETEST_TESTHYPOTOOL_H
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
ITestHypoTool(const std::string &name)
StringProperty m_linkName
StatusCode initialize() override
StatusCode decide(DecisionContainer *decisions) const override
method invoked to work out the decisions per object
TestHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< float > m_threshold
StringProperty m_property
StatusCode finalize() override