8#include <tracking/trackFindingCDC/hough/perigee/Phi0Rep.h>
9#include <tracking/trackFindingCDC/numerics/LookupTable.h>
10#include <framework/logging/Logger.h>
13using namespace TrackFindingCDC;
17 , m_nOverlap(nOverlap)
28 const double lowerBound = -M_PI - overlap / 2;
29 const double upperBound = +M_PI + overlap / 2;
30 return linspace<Vector2D>(lowerBound, upperBound, nPositions, &(
Vector2D::Phi));
std::vector< T > Array
The type of the array which contains the underlying values.
long getNPositions() const
Getter for the number of bounds.
int m_nOverlap
Overlap of the leaves in phi0 counted in number of discrete values.
DiscretePhi0::Array constructArray() const
Construct the array of discrete phi0 positions.
int m_nWidth
Width of the leaves at the maximal level in phi0 counted in number of discrete values.
Phi0BinsSpec(long nBins, int nOverlap, int nWidth)
Constructor from fixed number of accessible bins and overlap specification in discrete number of posi...
double getBinWidth() const
Getter for the bin width in real phi0 to investigate the value that results from the discrete overlap...
long m_nBins
Number of accessible bins.
double getOverlap() const
Getter for the overlap in real phi0 to investigate the value that results from the discrete overlap s...
static Vector2D Phi(const double phi)
Constructs a unit vector with azimuth angle equal to phi.
Abstract base class for different kinds of events.