Belle II Software development
|
Utility class implementing robust versions of linear sz trajectory line fits. More...
#include <CDCRobustSZFitter.h>
Public Member Functions | |
CDCTrajectorySZ | fitUsingSimplifiedTheilSen (const CDCSZObservations &szObservations) const |
Fit a linear sz trajectory to the reconstructed stereo segment. | |
CDCTrajectorySZ | fitTheilSen (const CDCSZObservations &szObservations) const |
Implements the original Theil-Sen line fit algorithm. | |
CDCTrajectorySZ | fitWeightedTheilSen (const CDCSZObservations &szObservations) const |
Implements the weighted Theil-Sen line fit algorithm. | |
Private Member Functions | |
double | getMedianZ0 (const CDCSZObservations &szObservations, double tanLambda) const |
Compute the median z0 intercept from the given observations and an estimated slope. | |
Utility class implementing robust versions of linear sz trajectory line fits.
Definition at line 20 of file CDCRobustSZFitter.h.
CDCTrajectorySZ fitTheilSen | ( | const CDCSZObservations & | szObservations | ) | const |
Implements the original Theil-Sen line fit algorithm.
Does not estimate the covariances of the fit parameters.
Definition at line 57 of file CDCRobustSZFitter.cc.
CDCTrajectorySZ fitUsingSimplifiedTheilSen | ( | const CDCSZObservations & | szObservations | ) | const |
Fit a linear sz trajectory to the reconstructed stereo segment.
It uses the normal fitting algorithm but does so multiple times: In every iteration, one hit is excluded from the observation set and the rest is fitted. In the end, the mean over the fitting parameters is built and returned.
Does not estimate the covariances of the fit parameters.
TODO:
Definition at line 22 of file CDCRobustSZFitter.cc.
CDCTrajectorySZ fitWeightedTheilSen | ( | const CDCSZObservations & | szObservations | ) | const |
Implements the weighted Theil-Sen line fit algorithm.
Does not estimate the covariances of the fit parameters.
Definition at line 80 of file CDCRobustSZFitter.cc.
|
private |
Compute the median z0 intercept from the given observations and an estimated slope.
Definition at line 115 of file CDCRobustSZFitter.cc.