ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecEvent
InDetPrepRawData
InDetPrepRawData
SiCluster.icc
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
namespace InDet {
6
// return width:
7
inline const InDet::SiWidth&
8
SiCluster::width() const
9
{
10
return m_width;
11
}
12
// return globalPosition:
13
inline const Amg::Vector3D&
14
SiCluster::globalPosition() const
15
{
16
return m_globalPosition;
17
}
18
// set gangedPixel:
19
inline void
20
SiCluster::setGangedPixel(bool ganged)
21
{
22
m_gangedPixel = ganged;
23
}
24
// get gangedPixel:
25
inline bool
26
SiCluster::gangedPixel() const
27
{
28
return m_gangedPixel;
29
}
30
31
inline Trk::PrepRawDataType
32
SiCluster::prdType() const
33
{
34
return Trk::PrepRawDataType::SiCluster;
35
}
36
37
inline const InDetDD::SiDetectorElement*
38
SiCluster::detectorElement() const
39
{
40
return m_detEl;
41
}
42
43
inline void
44
SiCluster::setDetectorElement(const InDetDD::SiDetectorElement* detEl)
45
{
46
m_detEl = detEl;
47
if (m_detEl) {
48
m_globalPosition =
49
m_detEl->surface(identify()).localToGlobal(localPosition());
50
}
51
}
52
53
54
}
Generated on
for ATLAS Offline Software by
1.17.0