 |
Belle II Software
release-05-01-25
|
12 #include <tracking/trackFindingCDC/hough/axes/DiscreteValue.h>
13 #include <tracking/trackFindingCDC/hough/axes/ContinuousValue.h>
15 #include <tracking/trackFindingCDC/topology/ILayer.h>
16 #include <tracking/trackFindingCDC/geometry/Vector2D.h>
23 namespace TrackFindingCDC {
28 using DiscreteImpact = DiscreteValue<float, ImpactTag>;
31 using ContinuousImpact = ContinuousValue<double, ImpactTag>;
37 using DiscreteCurv = DiscreteValue<float, CurvTag>;
40 using ContinuousCurv = ContinuousValue<double, CurvTag>;
46 class CurvWithArcLength2DCache {
52 explicit operator float()
const
66 return output << value.m_curv;
std::array< float, 56 > m_secondaryArcLength2DByICLayer
Memory for two dimensional arc length at each layer on the second arm.
float m_curv
Memory for the curvature.
Representation for a discrete position in an array of discrete positions.
std::array< float, 56 > m_arcLength2DByICLayer
Memory for two dimensional arc length at each layer.
Abstract base class for different kinds of events.
Class representing a curvature value that also caches two dimensional arc length to each layer in the...
friend std::ostream & operator<<(std::ostream &output, const CurvWithArcLength2DCache &value)
Output operator for debugging.
CurvWithArcLength2DCache(float curv)
Make cache for one curvature value.
float getArcLength2D(ILayer iCLayer, bool secondArm=false) const
Return the two dimensional arc length to the given layer id.
Type to have values not based on discrete positions from an array.