ATLAS Offline Software
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  */
13 #ifndef LUMIBLOCKCOMPS_LBDURATIONCONDALG_H
14 #define LUMIBLOCKCOMPS_LBDURATIONCONDALG_H
15 
16 
22 
23 
28  : public AthReentrantAlgorithm
29 {
30 public:
33 
34 
36  virtual StatusCode initialize() override;
37 
38 
40  virtual StatusCode execute (const EventContext& ctx) const override;
41  virtual bool isReEntrant() const override final { return false; }
42 
43 private:
46  { this, "LBLBFolderInputKey", "/TRIGGER/LUMI/LBLB", "" };
47 
48 
51  {this, "LBDurationOutputKey", "LBDurationCondData", "" };
52 
53  const float m_default=120.;//seconds
54 };
55 
56 
57 #endif // not LUMIBLOCKCOMPS_LBDURATIONCONDALG_H
LBDurationCondAlg::m_lblbFolderInputKey
SG::ReadCondHandleKey< AthenaAttributeList > m_lblbFolderInputKey
Input COOL folder.
Definition: LBDurationCondAlg.h:46
LBDurationCondAlg
Produce LBDurationCondData from /TRIGGER/LUMI/LBLB.
Definition: LBDurationCondAlg.h:29
LBDurationCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm execute method.
Definition: LBDurationCondAlg.cxx:38
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LBDurationCondAlg::m_default
const float m_default
Definition: LBDurationCondAlg.h:53
LBDurationCondAlg::initialize
virtual StatusCode initialize() override
Gaudi initialize method.
Definition: LBDurationCondAlg.cxx:25
ReadCondHandleKey.h
AthReentrantAlgorithm.h
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. The name and type of eac...
SG::ReadCondHandleKey< AthenaAttributeList >
LBDurationCondAlg::m_lbDurationOutputKey
SG::WriteCondHandleKey< LBDurationCondData > m_lbDurationOutputKey
Output conditions object.
Definition: LBDurationCondAlg.h:51
LBDurationCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: LBDurationCondAlg.h:41
SG::WriteCondHandleKey< LBDurationCondData >