Belle II Software development
CDCRobustSZFitter.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#pragma once
9
10namespace Belle2 {
15
16 namespace TrackingUtilities {
17 class CDCTrajectorySZ;
18 }
19 namespace TrackFindingCDC {
21
24
25 public:
40
47
54
55
56 private:
58 double getMedianZ0(const CDCSZObservations& szObservations, double tanLambda) const;
59 };
60 }
62}
Utility class implementing robust versions of linear sz trajectory line fits.
TrackingUtilities::CDCTrajectorySZ fitWeightedTheilSen(const CDCSZObservations &szObservations) const
Implements the weighted Theil-Sen line fit algorithm.
TrackingUtilities::CDCTrajectorySZ fitTheilSen(const CDCSZObservations &szObservations) const
Implements the original Theil-Sen line fit algorithm.
double getMedianZ0(const CDCSZObservations &szObservations, double tanLambda) const
Compute the median z0 intercept from the given observations and an estimated slope.
TrackingUtilities::CDCTrajectorySZ fitUsingSimplifiedTheilSen(const CDCSZObservations &szObservations) const
Fit a linear sz trajectory to the reconstructed stereo segment.
Class serving as a storage of observed sz positions to present to the sz line fitters.
Abstract base class for different kinds of events.