ATLAS Offline Software
TrigEgammaEmulationBaseHypoTool.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3  * */
4 
5 
6 #ifndef TrigEgammaEmulationBaseHypoTool_h
7 #define TrigEgammaEmulationBaseHypoTool_h
8 
9 #include "AsgTools/AsgTool.h"
14 #include "GaudiKernel/SystemOfUnits.h"
15 
16 
17 namespace Trig{
18 
19 
22  {
23 
25 
26  public:
27 
28  TrigEgammaEmulationBaseHypoTool(const std::string& myname);
30 
31  virtual StatusCode initialize() override;
32 
33  virtual bool emulate( const TrigData &, bool &) const override {return true;};
34 
35  protected:
36 
37  float avgmu() const ;
38 
40  ToolHandle<Trig::TrigDecisionTool> m_trigdec;
41  ToolHandle<ILumiBlockMuTool> m_lumiBlockMuTool;
42 
43  };
44 
45 
46 }//namespace
47 #endif
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
Trig::TrigEgammaEmulationBaseHypoTool::~TrigEgammaEmulationBaseHypoTool
~TrigEgammaEmulationBaseHypoTool()=default
Trig
The common trigger namespace for trigger analysis tools.
Definition: LArCellMonAlg.h:33
Trig::TrigEgammaEmulationBaseHypoTool::m_trigdec
ToolHandle< Trig::TrigDecisionTool > m_trigdec
Trigger decision tool.
Definition: TrigEgammaEmulationBaseHypoTool.h:40
Trig::TrigEgammaEmulationBaseHypoTool::TrigEgammaEmulationBaseHypoTool
TrigEgammaEmulationBaseHypoTool(const std::string &myname)
Definition: TrigEgammaEmulationBaseHypoTool.cxx:10
Trig::ITrigEgammaEmulationBaseHypoTool
Definition: ITrigEgammaEmulationBaseHypoTool.h:20
Trig::TrigEgammaEmulationBaseHypoTool::m_lumiBlockMuTool
ToolHandle< ILumiBlockMuTool > m_lumiBlockMuTool
Definition: TrigEgammaEmulationBaseHypoTool.h:41
TrigDecisionTool.h
Trig::TrigEgammaEmulationBaseHypoTool
Definition: TrigEgammaEmulationBaseHypoTool.h:22
Trig::TrigEgammaEmulationBaseHypoTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: TrigEgammaEmulationBaseHypoTool.cxx:17
Trig::TrigEgammaEmulationBaseHypoTool::emulate
virtual bool emulate(const TrigData &, bool &) const override
Definition: TrigEgammaEmulationBaseHypoTool.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ILumiBlockMuTool.h
Trig::TrigEgammaEmulationBaseHypoTool::avgmu
float avgmu() const
Definition: TrigEgammaEmulationBaseHypoTool.cxx:26
ITrigEgammaEmulationBaseHypoTool.h
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
Trig::TrigData
Definition: TrigEgammaEmulationToolMT.h:40
AsgTool.h
TrigEgammaEmulationToolMT.h