ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
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
33private:
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
Hold luminosity data produced by LuminosityCondAlg.
Hold live fraction data produced by TrigLiveFractionCondAlg.
An algorithm that can be simultaneously executed in multiple threads.
LumiBlockTester(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< ILumiBlockMuTool > m_muTool
SG::ReadCondHandleKey< LuminosityCondData > m_luminosityCondDataKey
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
SG::ReadCondHandleKey< TrigLiveFractionCondData > m_trigLiveFractionCondDataKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Property holding a SG store/key/clid from which a ReadHandle is made.