ATLAS Offline Software
PixelDetectorElementCondAlg.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_PIXELDETECTORELEMENTCONDALG_H
8 #define PIXELCONDITIONSALGORITHMS_PIXELDETECTORELEMENTCONDALG_H
9 
11 
18 
19 //dependencies to limit lifetime of SiDetElColl for TrackingGeometry
22 
23 namespace InDetDD {
24  class PixelDetectorManager;
25 }
26 
28 {
29  public:
30  PixelDetectorElementCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
31  virtual ~PixelDetectorElementCondAlg() override = default;
32 
33  virtual StatusCode initialize() override final;
34  virtual StatusCode execute(const EventContext& ctx) const override final;
35  virtual bool isReEntrant() const override final { return false; }
36 
37  private:
39  {this, "PixelAlignmentStore", "PixelAlignmentStore", "PixelAlignmentStore data"};
40 
42  {this, "WriteKey", "PixelDetectorElementCollection", "Key of output SiDetectorElementCollection for Pixel"};
43 
44  // The DetElement Collection must have a life time <= the Tracking Geometry due to DetElt-> Surface -> Layer connection,
45  // which is why we intersect with the IOV Ranges from the TG's dependencies.
47  {this, "MuonManagerKey", "", "MuonManager ReadKey for IOV Range intersection"};
49  {this, "TRT_DetEltContKey", "", "TRT ReadKey for IOV Range intersection"};
51  {this, "SCTAlignmentStore", "", "SCTAlignmentStore ReadKey for IOV Range intersection "};
52 
53  StringProperty m_detManagerName{this, "DetManagerName", "Pixel", "Name of the DeterctorManager to retrieve"};
55 };
56 
57 #endif // PIXELCONDITIONSALGORITHMS_PIXELDETECTORELEMENTCONDALG_H
TRT_DetElementContainer.h
WriteCondHandleKey.h
PixelDetectorElementCondAlg::m_trtDetElContKey
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetElContKey
Definition: PixelDetectorElementCondAlg.h:49
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
PixelDetectorElementCondAlg::m_readKey
SG::ReadCondHandleKey< GeoAlignmentStore > m_readKey
Definition: PixelDetectorElementCondAlg.h:39
PixelDetectorElementCondAlg::m_SCT_readKey
SG::ReadCondHandleKey< GeoAlignmentStore > m_SCT_readKey
Definition: PixelDetectorElementCondAlg.h:51
PixelDetectorElementCondAlg
Definition: PixelDetectorElementCondAlg.h:28
PixelDetectorElementCondAlg::initialize
virtual StatusCode initialize() override final
Definition: PixelDetectorElementCondAlg.cxx:21
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
PixelDetectorElementCondAlg::~PixelDetectorElementCondAlg
virtual ~PixelDetectorElementCondAlg() override=default
GeoPrimitives.h
PixelDetectorElementCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: PixelDetectorElementCondAlg.cxx:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PixelDetectorElementCondAlg::m_detManager
const InDetDD::PixelDetectorManager * m_detManager
Definition: PixelDetectorElementCondAlg.h:54
CondHandleKeyArray.h
ReadCondHandleKey.h
AthReentrantAlgorithm.h
GeoAlignmentStore.h
InDetDD::PixelDetectorManager
Definition: PixelDetectorManager.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
PixelDetectorElementCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: PixelDetectorElementCondAlg.h:35
SiDetectorElementCollection.h
MuonDetectorManager.h
SG::ReadCondHandleKey< GeoAlignmentStore >
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
PixelDetectorElementCondAlg::PixelDetectorElementCondAlg
PixelDetectorElementCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: PixelDetectorElementCondAlg.cxx:15
PixelDetectorElementCondAlg::m_detManagerName
StringProperty m_detManagerName
Definition: PixelDetectorElementCondAlg.h:53
PixelDetectorElementCondAlg::m_muonManagerKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_muonManagerKey
Definition: PixelDetectorElementCondAlg.h:47
SG::WriteCondHandleKey< InDetDD::SiDetectorElementCollection >
PixelDetectorElementCondAlg::m_writeKey
SG::WriteCondHandleKey< InDetDD::SiDetectorElementCollection > m_writeKey
Definition: PixelDetectorElementCondAlg.h:42