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 |
Get X length.
Definition at line 1402 of file EKLMGeometry.h.
1403 {
1404 return m_LengthX;
1405 }
◆ getLengthY()
double getLengthY |
( |
| ) |
const |
|
inline |
Get Y length.
Definition at line 1419 of file EKLMGeometry.h.
1420 {
1421 return m_LengthY;
1422 }
◆ getNPoints()
Get number of points.
Definition at line 1436 of file EKLMGeometry.h.
1437 {
1438 return m_NPoints;
1439 }
◆ 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 |
Set X length.
- Parameters
-
Definition at line 1411 of file EKLMGeometry.h.
1412 {
1413 m_LengthX = lengthX;
1414 }
◆ setLengthY()
void setLengthY |
( |
double | lengthY | ) |
|
|
inline |
Set Y length.
- Parameters
-
Definition at line 1428 of file EKLMGeometry.h.
1429 {
1430 m_LengthY = lengthY;
1431 }
◆ 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: