ATLAS Offline Software
Loading...
Searching...
No Matches
LBDurationCondAlg.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 * Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
4 */
11
12
13#ifndef LUMIBLOCKCOMPS_LBDURATIONCONDALG_H
14#define LUMIBLOCKCOMPS_LBDURATIONCONDALG_H
15
16
22
23
28 : public AthCondAlgorithm
29{
30public:
32 using AthCondAlgorithm::AthCondAlgorithm;
33
34
36 virtual StatusCode initialize() override;
37
38
40 virtual StatusCode execute (const EventContext& ctx) const override;
41
42private:
45 { this, "LBLBFolderInputKey", "/TRIGGER/LUMI/LBLB", "" };
46
47
50 {this, "LBDurationOutputKey", "LBDurationCondData", "" };
51
52 const float m_default=120.;//seconds
53};
54
55
56#endif // not LUMIBLOCKCOMPS_LBDURATIONCONDALG_H
Base class for conditions algorithms.
Hold luminosity block duration data produced from /TRIGGER/LUMI/LBLB.
An AttributeList represents a logical row of attributes in a metadata table.
Base class for conditions algorithms.
Produce LBDurationCondData from /TRIGGER/LUMI/LBLB.
SG::ReadCondHandleKey< AthenaAttributeList > m_lblbFolderInputKey
Input COOL folder.
virtual StatusCode initialize() override
Gaudi initialize method.
SG::WriteCondHandleKey< LBDurationCondData > m_lbDurationOutputKey
Output conditions object.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm execute method.