Shield layer detail geometry data.
More...
#include <EKLMGeometry.h>
Shield layer detail geometry data.
Definition at line 1375 of file EKLMGeometry.h.
◆ ShieldDetailGeometry() [1/2]
◆ ShieldDetailGeometry() [2/2]
Copy constructor.
Definition at line 75 of file EKLMGeometry.cc.
76 : TObject(geometry)
77{
78
79 int i;
87 } else
89}
double m_LengthX
X length.
double m_LengthY
Y length.
int m_NPoints
Number of points.
◆ ~ShieldDetailGeometry()
◆ getLengthX()
double getLengthX |
( |
| ) |
const |
|
inline |
◆ getLengthY()
double getLengthY |
( |
| ) |
const |
|
inline |
◆ getNPoints()
◆ getPoint()
Get point.
- Parameters
-
[in] | i | Number of point (array index). |
Definition at line 133 of file EKLMGeometry.cc.
134{
136 B2FATAL(
"Number of point must be from 0 to " <<
m_NPoints - 1 <<
".");
138}
◆ operator=()
Operator =.
Definition at line 92 of file EKLMGeometry.cc.
94{
95
96 int i;
97 if (&geometry == this)
98 return *this;
107 m_Points[i] = *geometry.getPoint(i);
108 } else
110 return *this;
111}
◆ setLengthX()
void setLengthX |
( |
double |
lengthX | ) |
|
|
inline |
◆ setLengthY()
void setLengthY |
( |
double |
lengthY | ) |
|
|
inline |
◆ setNPoints()
void setNPoints |
( |
int |
nPoints | ) |
|
Set number of points.
- Parameters
-
[in] | nPoints | Number of points. |
Definition at line 119 of file EKLMGeometry.cc.
120{
121 if (nPoints < 0)
122 B2FATAL("Number of points must be nonnegative.");
128 else
130}
◆ setPoint()
void setPoint |
( |
int |
i, |
|
|
const Point & |
point |
|
) |
| |
Set point.
- Parameters
-
[in] | i | Number of point (array index). |
[in] | point | Point. |
Definition at line 140 of file EKLMGeometry.cc.
141{
143 B2FATAL(
"Number of point must be from 0 to " <<
m_NPoints - 1 <<
".");
145}
◆ m_LengthX
◆ m_LengthY
◆ m_NPoints
◆ m_Points
Point* m_Points = nullptr |
|
private |
The documentation for this class was generated from the following files: