Belle II Software development
|
Class representing a curvature value that also caches two dimensional arc length to each layer in the CDC. More...
#include <StandardAxes.h>
Public Member Functions | |
CurvWithArcLength2DCache (float curv) | |
Make cache for one curvature value. | |
operator float () const | |
Unpack the curvature. | |
float | getArcLength2D (ILayer iCLayer, bool secondArm=false) const |
Return the two dimensional arc length to the given layer id. | |
Private Attributes | |
float | m_curv |
Memory for the curvature. | |
std::array< float, 56 > | m_arcLength2DByICLayer |
Memory for two dimensional arc length at each layer. | |
std::array< float, 56 > | m_secondaryArcLength2DByICLayer |
Memory for two dimensional arc length at each layer on the second arm. | |
Friends | |
std::ostream & | operator<< (std::ostream &output, const CurvWithArcLength2DCache &value) |
Output operator for debugging. | |
Class representing a curvature value that also caches two dimensional arc length to each layer in the CDC.
Definition at line 44 of file StandardAxes.h.
|
explicit |
Make cache for one curvature value.
Definition at line 18 of file StandardAxes.cc.
|
inline |
Return the two dimensional arc length to the given layer id.
Definition at line 56 of file StandardAxes.h.
|
inlineexplicit |
|
friend |
Output operator for debugging.
Definition at line 62 of file StandardAxes.h.
|
private |
Memory for two dimensional arc length at each layer.
Definition at line 72 of file StandardAxes.h.
|
private |
Memory for the curvature.
Definition at line 69 of file StandardAxes.h.
|
private |
Memory for two dimensional arc length at each layer on the second arm.
Definition at line 75 of file StandardAxes.h.