ATLAS Offline Software
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 
17 namespace HLTTest {
18 
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
HLTTest::TestHypoTool::m_property
StringProperty m_property
Definition: TestHypoTool.h:44
HLTTest::TestHypoTool::finalize
StatusCode finalize() override
Definition: TestHypoTool.cxx:71
HLTTest::TestHypoTool::TestHypoTool
TestHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TestHypoTool.cxx:12
ITestHypoTool.h
HLTTest::TestHypoTool::m_linkName
StringProperty m_linkName
Definition: TestHypoTool.h:49
HLTTest::TestHypoTool::~TestHypoTool
virtual ~TestHypoTool()
Definition: TestHypoTool.cxx:21
HLTTest::TestHypoTool
Tool taking the decision for inclusive selection (one decision per object)
Definition: TestHypoTool.h:25
HLTTest::ITestHypoTool
Definition: ITestHypoTool.h:23
HLTTest::TestHypoTool::initialize
StatusCode initialize() override
Definition: TestHypoTool.cxx:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
HLTTest::TestHypoTool::m_threshold
Gaudi::Property< float > m_threshold
Definition: TestHypoTool.h:43
xAOD::decisions
decisions
Definition: TrigComposite_v1.cxx:101
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
HLTTest::TestHypoTool::decide
StatusCode decide(DecisionContainer *decisions) const override
method invoked to work out the decisions per object
Definition: TestHypoTool.cxx:33
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTTest
Definition: ITestHypoTool.cxx:9
AthAlgTool
Definition: AthAlgTool.h:26