ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_DetectorElementCondAlg.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_CONDITIONSALGORITHMS_SCT_DETECTORELEMENTCONDALG_H
8#define SCT_CONDITIONSALGORITHMS_SCT_DETECTORELEMENTCONDALG_H
9
11
18
19//dependencies to limit lifetime of SiDetElColl for TrackingGeometry
22
23namespace InDetDD {
25}
26
28{
29 public:
30 SCT_DetectorElementCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
31 virtual ~SCT_DetectorElementCondAlg() override = default;
32
33 virtual StatusCode initialize() override final;
34 virtual StatusCode execute(const EventContext& ctx) const override final;
35 virtual StatusCode finalize() override final;
36
37 private:
38 SG::ReadCondHandleKey<GeoAlignmentStore> m_readKey;
39 SG::WriteCondHandleKey<InDetDD::SiDetectorElementCollection> m_writeKey{this, "WriteKey", "SCT_DetectorElementCollection", "Key of output SiDetectorElementCollection for SCT"};
40
41 // The DetElement Collection must have a life time <= the Tracking Geometry due to DetElt-> Surface -> Layer connection,
42 // which is why we intersect with the IOV Ranges from the TG's dependencies.
44 {this, "MuonManagerKey", "", "MuonManager ReadKey for IOV Range intersection"};
46 {this, "TRT_DetEltContKey", "", "TRT ReadKey for IOV Range intersection"};
48 {this, "PixelAlignmentStore", "", "PixelAlignmentStore ReadKey for IOV Range intersection"};
49
50 std::string m_detManagerName;
52};
53
54#endif // SCT_CONDITIONSALGORITHMS_SCT_DETECTORELEMENTCONDALG_H
Base class for conditions algorithms.
Base class for conditions algorithms.
Ensure that the extensions for the Vector3D are properly loaded.
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
virtual StatusCode initialize() override final
SCT_DetectorElementCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
const InDetDD::SCT_DetectorManager * m_detManager
SG::ReadCondHandleKey< GeoAlignmentStore > m_readKey
virtual StatusCode execute(const EventContext &ctx) const override final
SG::ReadCondHandleKey< GeoAlignmentStore > m_pixelReadKey
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetElContKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_muonManagerKey
virtual ~SCT_DetectorElementCondAlg() override=default
SG::WriteCondHandleKey< InDetDD::SiDetectorElementCollection > m_writeKey
virtual StatusCode finalize() override final
Message Stream Member.
Forward declaration.
#define private