ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LumiBlock
LumiBlockComps
src
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
17
#include "
LumiBlockData/LBDurationCondData.h
"
18
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
19
#include "
PersistentDataModel/AthenaAttributeList.h
"
20
#include "
StoreGate/ReadCondHandleKey.h
"
21
#include "
StoreGate/WriteCondHandleKey.h
"
22
23
27
class
LBDurationCondAlg
28
:
public
AthCondAlgorithm
29
{
30
public
:
32
using
AthCondAlgorithm::AthCondAlgorithm;
33
34
36
virtual
StatusCode
initialize
()
override
;
37
38
40
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
41
42
private
:
44
SG::ReadCondHandleKey<AthenaAttributeList>
m_lblbFolderInputKey
45
{
this
,
"LBLBFolderInputKey"
,
"/TRIGGER/LUMI/LBLB"
,
""
};
46
47
49
SG::WriteCondHandleKey<LBDurationCondData>
m_lbDurationOutputKey
50
{
this
,
"LBDurationOutputKey"
,
"LBDurationCondData"
,
""
};
51
52
const
float
m_default
=120.;
//seconds
53
};
54
55
56
#endif
// not LUMIBLOCKCOMPS_LBDURATIONCONDALG_H
AthCondAlgorithm.h
Base class for conditions algorithms.
LBDurationCondData.h
Hold luminosity block duration data produced from /TRIGGER/LUMI/LBLB.
AthenaAttributeList.h
An AttributeList represents a logical row of attributes in a metadata table.
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
LBDurationCondAlg
Produce LBDurationCondData from /TRIGGER/LUMI/LBLB.
Definition
LBDurationCondAlg.h:29
LBDurationCondAlg::m_lblbFolderInputKey
SG::ReadCondHandleKey< AthenaAttributeList > m_lblbFolderInputKey
Input COOL folder.
Definition
LBDurationCondAlg.h:45
LBDurationCondAlg::m_default
const float m_default
Definition
LBDurationCondAlg.h:52
LBDurationCondAlg::initialize
virtual StatusCode initialize() override
Gaudi initialize method.
Definition
LBDurationCondAlg.cxx:25
LBDurationCondAlg::m_lbDurationOutputKey
SG::WriteCondHandleKey< LBDurationCondData > m_lbDurationOutputKey
Output conditions object.
Definition
LBDurationCondAlg.h:50
LBDurationCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm execute method.
Definition
LBDurationCondAlg.cxx:38
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
Generated on
for ATLAS Offline Software by
1.17.0