10#include <framework/logging/Logger.h>
19 namespace TrackFindingCDC {
35 static double convertRhoToPt(
double curv) {
return 1.5 * 0.00299792458 / fabs(curv); };
52 return 0.3 / pow(2, 16);
73 double precision = exp(-16.1987 * pt - 5.96206) + 0.000190872 - 0.0000739319 * pt;
76 B2DEBUG(25,
"origin: precision = " << precision <<
"; curv = " << curv);
100 precision = exp(-0.356965 - 0.00186066 * pt) - 0.697526;
102 precision = exp(-0.357335 + 0.000438872 * pt) - 0.697786;
105 B2DEBUG(25,
"non origin: precision = " << precision <<
"; curv = " << curv);
Utility collection for functions to determine a curvature precision such at a hough box covers a cert...
static double convertRhoToPt(double curv)
convert curvature (one of the axis in Legendre phase-space) to Pt (in GeV)
static constexpr const int c_lookupGridLevel
Deepness of the trigonometrical lookup table.
static double getOriginCurvPrecision(double curv)
Function which estimates desired curvature resolution of quadtree node in the given pt region paramet...
static double getNonOriginCurvPrecision(double curv)
Function which estimates desired curvature resolution of quadtree node in the given pt region paramet...
static constexpr int getLookupGridLevel()
Returns desired deepness of the trigonometrical lookup table. Used as template parameter for the Trig...
static double getBasicCurvPrecision(double curv)
Basic function to estimate the curvature precision Takes a curvature value and returns a width that.
std::function< double(double)> PrecisionFunction
Function type which is used for resolution calculations (resolution=f(curvature)) Takes a curvature v...
Abstract base class for different kinds of events.