ATLAS Offline Software
LArFEBConfigCondAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARRECUTILS_LARFEBCONFIGCONDALG
6 #define LARRECUTILS_LARFEBCONFIGCONDALG
7 
14 
15 #include <map>
16 
17 class LArOnlineID;
18 
20 
21  public:
22  LArFEBConfigCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
23  virtual ~LArFEBConfigCondAlg();
24 
25  virtual StatusCode initialize() override;
26  virtual StatusCode execute(const EventContext& ctx) const override;
27 
28  private:
29 
31  SG::ReadCondHandleKeyArray<CondAttrListCollection> m_listOfFolders{this,"ListOfFolders",{},"List of input folders"};
32  SG::WriteCondHandleKey<LArFebConfig> m_configKey{this, "keyOutput", "LArFebConfig", "Output key for LArFebConfig"};
33 };
34 
35 #endif
LArFEBConfigCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: LArFEBConfigCondAlg.cxx:35
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
LArFEBConfigCondAlg::LArFEBConfigCondAlg
LArFEBConfigCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArFEBConfigCondAlg.cxx:9
WriteCondHandleKey.h
LArFEBConfigCondAlg::m_listOfFolders
SG::ReadCondHandleKeyArray< CondAttrListCollection > m_listOfFolders
Definition: LArFEBConfigCondAlg.h:31
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LArFEBConfigCondAlg::initialize
virtual StatusCode initialize() override
Definition: LArFEBConfigCondAlg.cxx:15
LArFEBConfigCondAlg
Definition: LArFEBConfigCondAlg.h:19
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArFEBConfigCondAlg::m_configKey
SG::WriteCondHandleKey< LArFebConfig > m_configKey
Definition: LArFEBConfigCondAlg.h:32
CondHandleKeyArray.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArOnlineID
Definition: LArOnlineID.h:20
LArFEBConfigCondAlg::m_onlineID
const LArOnlineID * m_onlineID
Definition: LArFEBConfigCondAlg.h:30
LArFEBConfigCondAlg::~LArFEBConfigCondAlg
virtual ~LArFEBConfigCondAlg()
Definition: LArFEBConfigCondAlg.cxx:13
LArFebConfig.h
SG::WriteCondHandleKey< LArFebConfig >
IOVSvcDefs.h
defines and typedefs for IOVSvc