ATLAS Offline Software
HGTD_DetectorElementCondAlg.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 HGTD_CONDITIONSALGORITHMS_HGTD_DETECTORELEMENTCONDALG_H
7 #define HGTD_CONDITIONSALGORITHMS_HGTD_DETECTORELEMENTCONDALG_H
8 
10 
16 
17 
19 
21 {
22  public:
23  HGTD_DetectorElementCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
24  virtual ~HGTD_DetectorElementCondAlg() override = default;
25 
26  virtual StatusCode initialize() override final;
27  virtual StatusCode execute(const EventContext& ctx) const override final;
28  virtual bool isReEntrant() const override final { return false; }
29 
30  private:
32  {this, "WriteKey", "HGTD_DetectorElementCollection", "Key of output HGTD_DetectorElementCollection for HGTD"};
33 
34  StringProperty m_detManagerName{this, "DetManagerName", "HGTD", "Name of the DeterctorManager to retrieve"};
36 };
37 
38 #endif // HGTD_CONDITIONSALGORITHMS_HGTD_DETECTORELEMENTCONDALG_H
HGTD_DetectorElementCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: HGTD_DetectorElementCondAlg.h:28
HGTD_DetectorElementCondAlg::m_detManagerName
StringProperty m_detManagerName
Definition: HGTD_DetectorElementCondAlg.h:34
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
HGTD_DetectorElementCondAlg::m_writeKey
SG::WriteCondHandleKey< InDetDD::HGTD_DetectorElementCollection > m_writeKey
Definition: HGTD_DetectorElementCondAlg.h:32
HGTD_DetectorElementCondAlg
Definition: HGTD_DetectorElementCondAlg.h:21
GeoPrimitives.h
HGTD_DetectorElementCondAlg::HGTD_DetectorElementCondAlg
HGTD_DetectorElementCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: HGTD_DetectorElementCondAlg.cxx:15
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CondHandleKeyArray.h
ReadCondHandleKey.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
HGTD_DetectorElementCollection.h
HGTD_DetectorElementCondAlg::initialize
virtual StatusCode initialize() override final
Definition: HGTD_DetectorElementCondAlg.cxx:20
HGTD_DetectorElementCondAlg::m_detManager
const HGTD_DetectorManager * m_detManager
Definition: HGTD_DetectorElementCondAlg.h:35
HGTD_DetectorManager
Definition: HGTD_DetectorManager.h:33
SG::WriteCondHandleKey< InDetDD::HGTD_DetectorElementCollection >
HGTD_DetectorElementCondAlg::~HGTD_DetectorElementCondAlg
virtual ~HGTD_DetectorElementCondAlg() override=default
HGTD_DetectorElementCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: HGTD_DetectorElementCondAlg.cxx:33