ATLAS Offline Software
SCT_MonitorCondAlg.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*
3  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 #ifndef SCT_MONITORCONDALG
7 #define SCT_MONITORCONDALG
8 
14 
15 class SCT_ID;
16 
18 {
19  public:
20  SCT_MonitorCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
21  virtual ~SCT_MonitorCondAlg() = 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/Derived/Monitoring", "Key of input (raw) noisy strip conditions folder"};
29  SG::WriteCondHandleKey<SCT_MonitorCondData> m_writeKey{this, "WriteKey", "SCT_MonitorCondData", "Key of output (derived) noisy strip conditions data"};
30  const SCT_ID* m_helper{nullptr};
31 };
32 
33 #endif // SCT_MONITORCONDALG
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
SCT_MonitorCondAlg::SCT_MonitorCondAlg
SCT_MonitorCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_MonitorCondAlg.cxx:11
SCT_MonitorCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SCT_MonitorCondAlg.cxx:31
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SCT_MonitorCondData.h
header file for data object for SCT_MonitorCondAlg and SCT_MonitorConditionsTool.
SCT_MonitorCondAlg::~SCT_MonitorCondAlg
virtual ~SCT_MonitorCondAlg()=default
SCT_MonitorCondAlg::initialize
virtual StatusCode initialize() override final
Definition: SCT_MonitorCondAlg.cxx:16
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_MonitorCondAlg::finalize
virtual StatusCode finalize() override final
Definition: SCT_MonitorCondAlg.cxx:86
SCT_MonitorCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: SCT_MonitorCondAlg.h:25
ReadCondHandleKey.h
AthReentrantAlgorithm.h
SCT_MonitorCondAlg::m_writeKey
SG::WriteCondHandleKey< SCT_MonitorCondData > m_writeKey
Definition: SCT_MonitorCondAlg.h:29
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SCT_MonitorCondAlg
Definition: SCT_MonitorCondAlg.h:18
SG::ReadCondHandleKey< CondAttrListCollection >
SCT_ID
Definition: SCT_ID.h:68
SCT_MonitorCondAlg::m_readKey
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Definition: SCT_MonitorCondAlg.h:28
SG::WriteCondHandleKey< SCT_MonitorCondData >
SCT_MonitorCondAlg::m_helper
const SCT_ID * m_helper
Definition: SCT_MonitorCondAlg.h:30