Belle II Software development
CDCKarimakiFitter.cc
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#include <tracking/trackFindingCDC/fitting/CDCKarimakiFitter.h>
9
10#include <tracking/trackFindingCDC/fitting/CDCFitter2D.icc.h>
11
12using namespace Belle2;
13using namespace TrackFindingCDC;
14
16
19
21{
22 static CDCKarimakiFitter fitter;
23 return fitter;
24}
25
27{
28 static CDCKarimakiFitter lineFitter;
29 lineFitter.setLineConstrained();
30 return lineFitter;
31}
32
34{
35 static CDCKarimakiFitter noDriftVarianceFitter;
36 noDriftVarianceFitter.setFitVariance(EFitVariance::c_DriftLength);
37 return noDriftVarianceFitter;
38}
Class implementing a fit for two dimensional trajectory circle using a generic fitting backend.
Definition: CDCFitter2D.h:33
void setFitVariance(EFitVariance fitVariance)
Setup the fitter to use the given variance measure by default.
Class implementing the fitter using Karimakis method.
static const CDCKarimakiFitter & getNoDriftVarianceFitter()
Static getter for a general fitter that does not use the drift length variances.
static const CDCKarimakiFitter & getLineFitter()
Static getter for a line fitter.
static const CDCKarimakiFitter & getFitter()
Static getter for a general fitter instance with Karimakis method.
void setLineConstrained(bool constrained=true)
Indicator if this fitter is setup to fit lines.
Abstract base class for different kinds of events.