Belle II Software  release-05-01-25
FacetFitter.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/trackFindingCDC/numerics/Matrix.h>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
20  class CDCFacet;
21  class UncertainParameterLine2D;
22 
24  class FacetFitter {
25 
26  public:
28  static double fit(const CDCFacet& facet,
29  int nSteps = 100);
30 
38  static UncertainParameterLine2D fit(const CDCFacet& fromFacet,
39  const CDCFacet& toFacet,
40  int nSteps = 100);
41 
54  static UncertainParameterLine2D fit(Matrix<double, 3, 3> xyl,
55  Matrix<double, 3, 1> w,
56  int nSteps = 100);
57  };
58  }
60 }
Belle2::TrackFindingCDC::FacetFitter::fit
static double fit(const CDCFacet &facet, int nSteps=100)
Fits a proper line to facet and returns the chi2.
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19