Belle II Software  release-08-00-10
PrecisionUtil Class Reference

Utility collection for functions to determine a curvature precision such at a hough box covers a certain percentage of hits in the legendre algorithms. More...

#include <PrecisionUtil.h>

Public Types

using PrecisionFunction = std::function< double(double)>
 Function type which is used for resolution calculations (resolution=f(curvature)) Takes a curvature value and returns a width in the curvature direction such that a certain amout of hits is covered by the box in the hough space.
 

Static Public Member Functions

static constexpr int getLookupGridLevel ()
 Returns desired deepness of the trigonometrical lookup table. Used as template parameter for the TrigonometricalLookupTable<> class.
 
static double convertRhoToPt (double curv)
 convert curvature (one of the axis in legendre phase-space) to Pt (in GeV)
 
static double getBasicCurvPrecision (double curv)
 Basic function to estimate the curvature precision Takes a curvature value and returns a width that.
 
static double getOriginCurvPrecision (double curv)
 Function which estimates desired curvature resolution of quadtree node in the given pt region parameters of the function are taken from the fit: More...
 
static double getNonOriginCurvPrecision (double curv)
 Function which estimates desired curvature resolution of quadtree node in the given pt region parameters of the function are taken from the fit: More...
 

Static Public Attributes

static constexpr const int c_lookupGridLevel = 16
 Deepness of the trigonometrical lookup table.
 

Detailed Description

Utility collection for functions to determine a curvature precision such at a hough box covers a certain percentage of hits in the legendre algorithms.

Definition at line 25 of file PrecisionUtil.h.

Member Function Documentation

◆ getNonOriginCurvPrecision()

static double getNonOriginCurvPrecision ( double  curv)
inlinestatic

Function which estimates desired curvature resolution of quadtree node in the given pt region parameters of the function are taken from the fit:

10000 of pion tracks were generated with particle gun with impact parameter in XY plane of 3 cm (pt=[0.05;2.0]GeV, phi=[-2pi;2pi]) by resolution we imply size of the quadtree node which can cover 80% of the hits in legendre phase-space resolution was estimated in bins of pt with step of 200MeV distribution of resolutions was fitted with function exp(a+b*pt)+c (this function has been choosen as it can describe the shape of the distribution) this function takes into account smearing of the track in legendre space due to non-prompt production and energy losses

Definition at line 90 of file PrecisionUtil.h.

91  {
92  // Convert to pt making the cut-off of that has been here before
93  double pt = convertRhoToPt(curv);
94  if (not(pt <= 3.0)) {
95  pt = 3.0;
96  }
97 
98  double precision{};
99  if (pt < 0.36) {
100  precision = exp(-0.356965 - 0.00186066 * pt) - 0.697526;
101  } else {
102  precision = exp(-0.357335 + 0.000438872 * pt) - 0.697786;
103  }
104 
105  B2DEBUG(25, "non origin: precision = " << precision << "; curv = " << curv);
106  return precision;
107  }
static double convertRhoToPt(double curv)
convert curvature (one of the axis in legendre phase-space) to Pt (in GeV)
Definition: PrecisionUtil.h:35

◆ getOriginCurvPrecision()

static double getOriginCurvPrecision ( double  curv)
inlinestatic

Function which estimates desired curvature resolution of quadtree node in the given pt region parameters of the function are taken from the fit:

10000 of pion tracks were generated with particle gun produced at (0,0,0) (IP) with pt=[0.05;2.0]GeV, phi=[-2pi;2pi] by resolution we imply size of the quadtree node which can cover 80% of the hits in legendre phase-space resolution was estimated in bins of pt with step of 200MeV distribution of resolutions was fitted with function exp(a+b*pt)+c+d*pt (this function has been choosen as it can describe the shape of the distribution) this function takes into account smearing of the track in legendre space due to energy losses

Definition at line 65 of file PrecisionUtil.h.


The documentation for this class was generated from the following file: