ATLAS Offline Software
SiDetectorElementStatusCondAlg.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 PIXELCONDITIONSALGORITHMS_SIDETECTORELEMENTINFOCONDALG_H
8 #define PIXELCONDITIONSALGORITHMS_SIDETECTORELEMENTINFOCONDALG_H
9 
11 
13 
16 
17 
18 namespace InDet {
20  {
21  public:
22  SiDetectorElementStatusCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
23  virtual ~SiDetectorElementStatusCondAlg() override = default;
24 
25  virtual StatusCode initialize() override final;
26  virtual StatusCode execute(const EventContext& ctx) const override final;
27  virtual StatusCode finalize() override final;
28  virtual bool isReEntrant() const override final { return false; }
29 
30  private:
31  ToolHandle <IDetectorElementStatusTool> m_condSummaryTool
32  {this, "ConditionsSummaryTool", "", "Tool to retrieve e.g. Pixel or SCT Conditions summary"};
34  {this, "WriteKey", "", "Key of output SiDetectorElementStatus data"};
35  mutable std::atomic<unsigned int> m_maxSize{};
36  };
37 }
38 #endif // PIXELCONDITIONSALGORITHMS_SIDETECTORELEMENTINFOALG_H
SiDetectorElementStatus.h
InDet::SiDetectorElementStatusCondAlg
Definition: SiDetectorElementStatusCondAlg.h:20
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::SiDetectorElementStatusCondAlg::m_maxSize
std::atomic< unsigned int > m_maxSize
Definition: SiDetectorElementStatusCondAlg.h:35
InDet::SiDetectorElementStatusCondAlg::SiDetectorElementStatusCondAlg
SiDetectorElementStatusCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SiDetectorElementStatusCondAlg.cxx:25
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
InDet::SiDetectorElementStatusCondAlg::m_condSummaryTool
ToolHandle< IDetectorElementStatusTool > m_condSummaryTool
Definition: SiDetectorElementStatusCondAlg.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::SiDetectorElementStatusCondAlg::m_writeKey
SG::WriteCondHandleKey< InDet::SiDetectorElementStatus > m_writeKey
Definition: SiDetectorElementStatusCondAlg.h:34
InDet::SiDetectorElementStatusCondAlg::initialize
virtual StatusCode initialize() override final
Definition: SiDetectorElementStatusCondAlg.cxx:30
InDet::SiDetectorElementStatusCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SiDetectorElementStatusCondAlg.cxx:38
InDet::SiDetectorElementStatusCondAlg::~SiDetectorElementStatusCondAlg
virtual ~SiDetectorElementStatusCondAlg() override=default
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
IDetectorElementStatusTool.h
SG::WriteCondHandleKey< InDet::SiDetectorElementStatus >
InDet::SiDetectorElementStatusCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: SiDetectorElementStatusCondAlg.h:28
InDet::SiDetectorElementStatusCondAlg::finalize
virtual StatusCode finalize() override final
Definition: SiDetectorElementStatusCondAlg.cxx:67