ATLAS Offline Software
TrigStreamerHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigStreamerHypoTool_H
6 #define TrigStreamerHypoTool_H
7 /********************************************************************
8  *
9  * NAME: TrigStreamerHypoTool.h
10  * PACKAGE: Trigger/TrigHypothesis/TrigStreamerHypo
11  *
12  *
13  *********************************************************************/
14 
15 
19 
20 #include "ITrigStreamerHypoTool.h"
21 
22 class TrigStreamerHypoTool: public extends<AthAlgTool, ITrigStreamerHypoTool> {
23 
24  public:
25 
26  TrigStreamerHypoTool(const std::string& type,
27  const std::string& name,
28  const IInterface* parent);
29  virtual ~TrigStreamerHypoTool();
30  virtual StatusCode initialize() override;
31  virtual StatusCode finalize() override;
32 
33  virtual StatusCode decide(std::vector<ITrigStreamerHypoTool::HypoInfo>& hypoInfo) const override;
34  virtual const HLT::Identifier& getId() const override;
35  private:
36 
37  // Identifier is used to keep track of which tool made which decision.
38  // The information is stored in the event store.
40  Gaudi::Property<bool> m_pass{ this, "Pass", true, "Pass or reject"};
41 
42 };
43 #endif
44 
TrigStreamerHypoTool::~TrigStreamerHypoTool
virtual ~TrigStreamerHypoTool()
Definition: TrigStreamerHypoTool.cxx:23
TrigStreamerHypoTool::getId
virtual const HLT::Identifier & getId() const override
Definition: TrigStreamerHypoTool.cxx:59
TrigCompositeUtils.h
TrigStreamerHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigStreamerHypoTool.cxx:26
TrigStreamerHypoTool::TrigStreamerHypoTool
TrigStreamerHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigStreamerHypoTool.cxx:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigStreamerHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: TrigStreamerHypoTool.h:45
AthAlgTool.h
TrigStreamerHypoTool::decide
virtual StatusCode decide(std::vector< ITrigStreamerHypoTool::HypoInfo > &hypoInfo) const override
Definition: TrigStreamerHypoTool.cxx:35
test_pyathena.parent
parent
Definition: test_pyathena.py:15
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigStreamerHypoTool::finalize
virtual StatusCode finalize() override
Definition: TrigStreamerHypoTool.cxx:31
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ITrigStreamerHypoTool.h
HLTIdentifier.h
TrigStreamerHypoTool
Definition: TrigStreamerHypoTool.h:22
TrigStreamerHypoTool::m_pass
Gaudi::Property< bool > m_pass
Definition: TrigStreamerHypoTool.h:46