Belle II Software  release-05-01-25
FacetFitter Class Reference

Utility class to fit hit triplet and relations of them. More...

#include <FacetFitter.h>

Static Public Member Functions

static double fit (const CDCFacet &facet, int nSteps=100)
 Fits a proper line to facet and returns the chi2.
 
static UncertainParameterLine2D fit (const CDCFacet &fromFacet, const CDCFacet &toFacet, int nSteps=100)
 Fit a line the positions xyl and the weights. More...
 
static UncertainParameterLine2D fit (Matrix< double, 3, 3 > xyl, Matrix< double, 3, 1 > w, int nSteps=100)
 Fit a line the positions xyl and the weights. More...
 

Detailed Description

Utility class to fit hit triplet and relations of them.

Definition at line 32 of file FacetFitter.h.

Member Function Documentation

◆ fit() [1/2]

static UncertainParameterLine2D fit ( const CDCFacet fromFacet,
const CDCFacet toFacet,
int  nSteps = 100 
)
static

Fit a line the positions xyl and the weights.

Parameters
fromFacetFirst facet from the pair of facets
toFacetSecond facet from the pair of facets
nStepsMaximal number of steps to be taken in the mimisation

◆ fit() [2/2]

static UncertainParameterLine2D fit ( Matrix< double, 3, 3 >  xyl,
Matrix< double, 3, 1 >  w,
int  nSteps = 100 
)
static

Fit a line the positions xyl and the weights.

Fits a line to a number of observations with tunable acurracy versus execution speed. Special implementations for nSteps = 0 and nSteps=1 have been integrated. High nSteps use a general minimization method.

Parameters
xylA matrix of drift length observations
wAn array of weights corresponding to the observations
nStepsMaximal number of steps to be taken in the mimisation

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