ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
PixelConditionsAlgorithms
src
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
10
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
11
12
#include "
GeoPrimitives/GeoPrimitives.h
"
13
#include "
GeoModelUtilities/GeoAlignmentStore.h
"
14
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
15
#include "
StoreGate/ReadCondHandleKey.h
"
16
#include "
StoreGate/WriteCondHandleKey.h
"
17
#include "
StoreGate/CondHandleKeyArray.h
"
18
19
//dependencies to limit lifetime of SiDetElColl for TrackingGeometry
20
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
21
#include "
TRT_ReadoutGeometry/TRT_DetElementContainer.h
"
22
23
namespace
InDetDD
{
24
class
PixelDetectorManager
;
25
}
26
27
class
PixelDetectorElementCondAlg
:
public
AthCondAlgorithm
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
36
private
:
37
SG
::ReadCondHandleKey<
GeoAlignmentStore
>
m_readKey
38
{
this
,
"PixelAlignmentStore"
,
"PixelAlignmentStore"
,
"PixelAlignmentStore data"
};
39
40
SG::WriteCondHandleKey<InDetDD::SiDetectorElementCollection>
m_writeKey
41
{
this
,
"WriteKey"
,
"PixelDetectorElementCollection"
,
"Key of output SiDetectorElementCollection for Pixel"
};
42
43
// The DetElement Collection must have a life time <= the Tracking Geometry due to DetElt-> Surface -> Layer connection,
44
// which is why we intersect with the IOV Ranges from the TG's dependencies.
45
SG::ReadCondHandleKey<MuonGM::MuonDetectorManager>
m_muonManagerKey
46
{
this
,
"MuonManagerKey"
,
""
,
"MuonManager ReadKey for IOV Range intersection"
};
47
SG::ReadCondHandleKey<InDetDD::TRT_DetElementContainer>
m_trtDetElContKey
48
{
this
,
"TRT_DetEltContKey"
,
""
,
"TRT ReadKey for IOV Range intersection"
};
49
SG::ReadCondHandleKey<GeoAlignmentStore>
m_SCT_readKey
50
{
this
,
"SCTAlignmentStore"
,
""
,
"SCTAlignmentStore ReadKey for IOV Range intersection "
};
51
52
StringProperty
m_detManagerName
{
this
,
"DetManagerName"
,
"Pixel"
,
"Name of the DeterctorManager to retrieve"
};
53
const
InDetDD::PixelDetectorManager
*
m_detManager
{
nullptr
};
54
};
55
56
#endif
// PIXELCONDITIONSALGORITHMS_PIXELDETECTORELEMENTCONDALG_H
AthCondAlgorithm.h
Base class for conditions algorithms.
CondHandleKeyArray.h
GeoAlignmentStore.h
GeoPrimitives.h
MuonDetectorManager.h
ReadCondHandleKey.h
SiDetectorElementCollection.h
TRT_DetElementContainer.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
GeoAlignmentStore
Ensure that the extensions for the Vector3D are properly loaded.
Definition
GeoAlignmentStore.h:24
InDetDD::PixelDetectorManager
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated pixel ...
Definition
PixelDetectorManager.h:47
PixelDetectorElementCondAlg::m_detManagerName
StringProperty m_detManagerName
Definition
PixelDetectorElementCondAlg.h:52
PixelDetectorElementCondAlg::~PixelDetectorElementCondAlg
virtual ~PixelDetectorElementCondAlg() override=default
PixelDetectorElementCondAlg::m_readKey
SG::ReadCondHandleKey< GeoAlignmentStore > m_readKey
Definition
PixelDetectorElementCondAlg.h:38
PixelDetectorElementCondAlg::PixelDetectorElementCondAlg
PixelDetectorElementCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
PixelDetectorElementCondAlg.cxx:15
PixelDetectorElementCondAlg::m_writeKey
SG::WriteCondHandleKey< InDetDD::SiDetectorElementCollection > m_writeKey
Definition
PixelDetectorElementCondAlg.h:41
PixelDetectorElementCondAlg::m_trtDetElContKey
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetElContKey
Definition
PixelDetectorElementCondAlg.h:48
PixelDetectorElementCondAlg::m_detManager
const InDetDD::PixelDetectorManager * m_detManager
Definition
PixelDetectorElementCondAlg.h:53
PixelDetectorElementCondAlg::m_muonManagerKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_muonManagerKey
Definition
PixelDetectorElementCondAlg.h:46
PixelDetectorElementCondAlg::initialize
virtual StatusCode initialize() override final
Definition
PixelDetectorElementCondAlg.cxx:21
PixelDetectorElementCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
PixelDetectorElementCondAlg.cxx:42
PixelDetectorElementCondAlg::m_SCT_readKey
SG::ReadCondHandleKey< GeoAlignmentStore > m_SCT_readKey
Definition
PixelDetectorElementCondAlg.h:50
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
const
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0