ATLAS Offline Software
SCT_SensorsCondAlg.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef SCT_SENSORSCONDALG
8 #define SCT_SENSORSCONDALG
9 
11 
16 
18 {
19  public:
20  SCT_SensorsCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
21  virtual ~SCT_SensorsCondAlg() = default;
22  virtual StatusCode initialize() override final;
23  virtual StatusCode execute(const EventContext& ctx) const override final;
24  virtual StatusCode finalize() override final;
25  virtual bool isReEntrant() const override final { return false; }
26 
27  private:
28  SG::ReadCondHandleKey<CondAttrListCollection> m_readKey{this, "ReadKey", "/SCT/Sensors", "Key of input (raw) conditions folder"};
29  SG::WriteCondHandleKey<SCT_SensorsCondData> m_writeKey{this, "WriteKey", "SCT_SensorsCondData", "Key of output (derived) conditions data"};
30 };
31 
32 #endif // SCT_SENSORSCONDALG
SCT_SensorsCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: SCT_SensorsCondAlg.h:25
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
SCT_SensorsCondAlg::finalize
virtual StatusCode finalize() override final
Definition: SCT_SensorsCondAlg.cxx:94
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
SCT_SensorsCondAlg::m_writeKey
SG::WriteCondHandleKey< SCT_SensorsCondData > m_writeKey
Definition: SCT_SensorsCondAlg.h:29
SCT_SensorsCondAlg::initialize
virtual StatusCode initialize() override final
Definition: SCT_SensorsCondAlg.cxx:14
SCT_SensorsCondAlg::m_readKey
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Definition: SCT_SensorsCondAlg.h:28
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_SensorsCondData.h
header file for data object for SCT_SensorsCondAlg and SCT_SensorsTool.
SCT_SensorsCondAlg
Definition: SCT_SensorsCondAlg.h:18
ReadCondHandleKey.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
SCT_SensorsCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SCT_SensorsCondAlg.cxx:27
SG::ReadCondHandleKey< CondAttrListCollection >
SCT_SensorsCondAlg::SCT_SensorsCondAlg
SCT_SensorsCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_SensorsCondAlg.cxx:9
SCT_SensorsCondAlg::~SCT_SensorsCondAlg
virtual ~SCT_SensorsCondAlg()=default
SG::WriteCondHandleKey< SCT_SensorsCondData >