ATLAS Offline Software
LumiBlockTester.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef LUMIBLOCKCOMPS_LumiBlockTester_H
12 #define LUMIBLOCKCOMPS_LumiBlockTester_H
13 
15 #include "GaudiKernel/ToolHandle.h"
20 
22 
23 #include <string>
24 
26  public:
27  LumiBlockTester(const std::string& name, ISvcLocator* pSvcLocator);
28 
29  virtual StatusCode initialize() override;
30  virtual StatusCode execute (const EventContext& ctx) const override;
31 
32 
33 private:
34  ToolHandle<ILumiBlockMuTool> m_muTool;
35 
36  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this,"EventInfoKey","EventInfo","RHK for EventInfo"};
37 
39  {this, "LuminosityCondDataKey", "LuminosityCondData", ""};
41  {this, "TrigLiveFractionCondDataKey", "TrigLiveFractionCondData", ""};
42 
43 };
44 
45 #endif
46 
LumiBlockTester::m_trigLiveFractionCondDataKey
SG::ReadCondHandleKey< TrigLiveFractionCondData > m_trigLiveFractionCondDataKey
Definition: LumiBlockTester.h:41
LumiBlockTester
Algorithm to test luminosity tools.
Definition: LumiBlockTester.h:25
LumiBlockTester::initialize
virtual StatusCode initialize() override
Definition: LumiBlockTester.cxx:18
LumiBlockTester::LumiBlockTester
LumiBlockTester(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LumiBlockTester.cxx:10
SG::ReadHandleKey< xAOD::EventInfo >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LumiBlockTester::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: LumiBlockTester.h:36
TrigLiveFractionCondData.h
Hold live fraction data produced by TrigLiveFractionCondAlg.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LumiBlockTester::m_muTool
ToolHandle< ILumiBlockMuTool > m_muTool
Definition: LumiBlockTester.h:34
LuminosityCondData.h
Hold luminosity data produced by LuminosityCondAlg.
ReadCondHandleKey.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ILumiBlockMuTool.h
LumiBlockTester::m_luminosityCondDataKey
SG::ReadCondHandleKey< LuminosityCondData > m_luminosityCondDataKey
Definition: LumiBlockTester.h:39
EventInfo.h
SG::ReadCondHandleKey< LuminosityCondData >
LumiBlockTester::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: LumiBlockTester.cxx:36