![]() |
Belle II Software release-09-00-03
|
Structure to store the information about forward and backward walls of CDC. More...
Public Member Functions | |
| void | setLine (const double tangent, const double offset) |
| Set parameters of slopping line. | |
| double | getLine (const double x) const |
| Return the y value of the sloping line based on the x value. | |
Private Attributes | |
| double | m_tangent |
| tangent of the sloping line | |
| double | m_offset |
| offset of the sloping line [cm] | |
Structure to store the information about forward and backward walls of CDC.
CDC has a shape of two trapezoids, so the geometry of forward and backward walls is two sloping lines. This structure handles one sloping line.
Definition at line 133 of file KinkFinderModule.h.
|
inline |
Return the y value of the sloping line based on the x value.
It is used in ifInCDC function to check if the track point is inside CDC.
| x | coordinate [cm] |
Definition at line 152 of file KinkFinderModule.h.
|
inline |
Set parameters of slopping line.
| tangent | tangent of the sloping line |
| offset | offset of the sloping line [cm] |
Definition at line 140 of file KinkFinderModule.h.
|
private |
offset of the sloping line [cm]
Definition at line 159 of file KinkFinderModule.h.
|
private |
tangent of the sloping line
Definition at line 158 of file KinkFinderModule.h.