9#include <tracking/trackFindingCDC/hough/axes/StandardAxes.h>
11#include <tracking/trackFindingCDC/topology/CDCWireTopology.h>
12#include <tracking/trackFindingCDC/topology/CDCWireLayer.h>
13#include <tracking/trackFindingCDC/geometry/GeneralizedCircle.h>
16using namespace TrackFindingCDC;
25 ILayer iCLayer = wireLayer.getICLayer();
26 double cylindricalR = (wireLayer.getOuterCylindricalR() + wireLayer.getInnerCylindricalR()) / 2;
30 double arcLength2D = cylindricalR * std::fmin(factor, M_PI);
31 double r = 1.0 / fabs(m_curv);
33 m_arcLength2DByICLayer[iCLayer] = arcLength2D;
34 m_secondaryArcLength2DByICLayer[iCLayer] = 2 * M_PI * r - arcLength2D;
Class representing a sense wire layer in the central drift chamber.
Class representing the sense wire arrangement in the whole of the central drift chamber.
const std::vector< Belle2::TrackFindingCDC::CDCWireLayer > & getWireLayers() const
Getter for the underlying storing layer vector.
static CDCWireTopology & getInstance()
Getter for the singleton instance of the wire topology.
CurvWithArcLength2DCache(float curv)
Make cache for one curvature value.
std::array< float, 56 > m_arcLength2DByICLayer
Memory for two dimensional arc length at each layer.
double arcLengthFactor(const double directDistance) const
Helper function the calculate the factor between the length of a secant line and the length on the ar...
Abstract base class for different kinds of events.