ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
ReadoutGeometryBase
ReadoutGeometryBase
SiDiodesParameters.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// SiDiodesParameters.h
8
// (c) ATLAS Detector software
10
11
#ifndef INDETREADOUTGEOMETRY_SIDIODESPARAMETERS_H
12
#define INDETREADOUTGEOMETRY_SIDIODESPARAMETERS_H
13
14
// Data members classes
15
#include "
ReadoutGeometryBase/SiLocalPosition.h
"
16
17
namespace
InDetDD
{
18
24
25
class
SiDiodesParameters
{
26
28
// Public methods:
30
public
:
31
33
SiDiodesParameters
();
34
36
SiDiodesParameters
(
const
SiDiodesParameters
¶meters);
37
41
SiDiodesParameters
(
const
SiLocalPosition
&
centre
,
42
const
SiLocalPosition
&
width
);
43
45
~SiDiodesParameters
();
46
48
SiDiodesParameters
&
operator=
(
const
SiDiodesParameters
¶meters);
49
51
// Const methods:
53
55
const
SiLocalPosition
&
centre
()
const
;
56
58
const
SiLocalPosition
&
width
()
const
;
59
SiLocalPosition
halfWidth
()
const
;
60
62
double
xEtaMin
()
const
;
63
double
xEtaMax
()
const
;
64
double
xPhiMin
()
const
;
65
double
xPhiMax
()
const
;
66
double
xDepthMin
()
const
;
67
double
xDepthMax
()
const
;
68
70
// Non-const methods:
72
73
void
centre
(
const
SiLocalPosition
&
centre
);
74
75
void
width
(
const
SiLocalPosition
&
width
);
76
78
// Private data:
80
private
:
81
SiLocalPosition
m_centre
;
82
SiLocalPosition
m_width
;
83
};
84
86
// Inline methods:
88
inline
SiDiodesParameters::~SiDiodesParameters
()
89
{}
90
91
inline
const
SiLocalPosition
&
SiDiodesParameters::centre
()
const
92
{
93
return
m_centre
;
94
}
95
96
inline
const
SiLocalPosition
&
SiDiodesParameters::width
()
const
97
{
98
return
m_width
;
99
}
100
101
inline
SiLocalPosition
SiDiodesParameters::halfWidth
()
const
102
{
103
return
m_width
/2;
104
}
105
106
inline
double
SiDiodesParameters::xEtaMin
()
const
107
{
108
return
m_centre
.xEta()-
m_width
.xEta()/2;
109
}
110
111
inline
double
SiDiodesParameters::xEtaMax
()
const
112
{
113
return
m_centre
.xEta()+
m_width
.xEta()/2;
114
}
115
116
inline
double
SiDiodesParameters::xPhiMin
()
const
117
{
118
return
m_centre
.xPhi()-
m_width
.xPhi()/2;
119
}
120
121
inline
double
SiDiodesParameters::xPhiMax
()
const
122
{
123
return
m_centre
.xPhi()+
m_width
.xPhi()/2;
124
}
125
126
inline
double
SiDiodesParameters::xDepthMin
()
const
127
{
128
return
m_centre
.xDepth()-
m_width
.xDepth()/2;
129
}
130
131
inline
double
SiDiodesParameters::xDepthMax
()
const
132
{
133
return
m_centre
.xDepth()+
m_width
.xDepth()/2;
134
}
135
136
inline
void
SiDiodesParameters::centre
(
const
SiLocalPosition
&
centre
)
137
{
138
m_centre
=
centre
;
139
}
140
141
inline
void
SiDiodesParameters::width
(
const
SiLocalPosition
&
width
)
142
{
143
m_width
=
width
;
144
}
145
146
}
// namespace InDetDD
147
148
#endif
// INDETREADOUTGEOMETRY_SIDIODESPARAMETERS_H
SiLocalPosition.h
InDetDD::SiDiodesParameters::xEtaMax
double xEtaMax() const
Definition
SiDiodesParameters.h:111
InDetDD::SiDiodesParameters::SiDiodesParameters
SiDiodesParameters()
Implicit constructor:
Definition
SiDiodesParameters.cxx:19
InDetDD::SiDiodesParameters::halfWidth
SiLocalPosition halfWidth() const
Definition
SiDiodesParameters.h:101
InDetDD::SiDiodesParameters::xDepthMin
double xDepthMin() const
Definition
SiDiodesParameters.h:126
InDetDD::SiDiodesParameters::centre
const SiLocalPosition & centre() const
position of the diodes centre:
Definition
SiDiodesParameters.h:91
InDetDD::SiDiodesParameters::width
const SiLocalPosition & width() const
width of the diodes:
Definition
SiDiodesParameters.h:96
InDetDD::SiDiodesParameters::m_centre
SiLocalPosition m_centre
position of the diodes centre
Definition
SiDiodesParameters.h:81
InDetDD::SiDiodesParameters::xEtaMin
double xEtaMin() const
boundaries of the diodes:
Definition
SiDiodesParameters.h:106
InDetDD::SiDiodesParameters::xPhiMax
double xPhiMax() const
Definition
SiDiodesParameters.h:121
InDetDD::SiDiodesParameters::xDepthMax
double xDepthMax() const
Definition
SiDiodesParameters.h:131
InDetDD::SiDiodesParameters::SiDiodesParameters
SiDiodesParameters(const SiDiodesParameters ¶meters)
Copy constructor:
InDetDD::SiDiodesParameters::operator=
SiDiodesParameters & operator=(const SiDiodesParameters ¶meters)
Assignment operator:
Definition
SiDiodesParameters.cxx:37
InDetDD::SiDiodesParameters::m_width
SiLocalPosition m_width
width of the diodes
Definition
SiDiodesParameters.h:82
InDetDD::SiDiodesParameters::xPhiMin
double xPhiMin() const
Definition
SiDiodesParameters.h:116
InDetDD::SiDiodesParameters::~SiDiodesParameters
~SiDiodesParameters()
Destructor:
Definition
SiDiodesParameters.h:88
InDetDD::SiLocalPosition
Class to represent a position in the natural frame of a silicon sensor, for Pixel and SCT For Pixel: ...
Definition
SiLocalPosition.h:31
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
Generated on
for ATLAS Offline Software by
1.17.0