Belle II Software development
FacetFitter.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
10#include <tracking/trackFindingCDC/numerics/Matrix.h>
11
12namespace Belle2 {
17 namespace TrackFindingCDC {
18 class CDCFacet;
20
23
24 public:
26 static double fit(const CDCFacet& facet,
27 int nSteps = 100);
28
36 static UncertainParameterLine2D fit(const CDCFacet& fromFacet,
37 const CDCFacet& toFacet,
38 int nSteps = 100);
39
52 static UncertainParameterLine2D fit(Matrix<double, 3, 3> xyl,
53 Matrix<double, 3, 1> w,
54 int nSteps = 100);
55 };
56 }
58}
Class representing a triple of neighboring oriented wire with additional trajectory information.
Definition CDCFacet.h:32
Utility class to fit hit triplet and relations of them.
Definition FacetFitter.h:22
static double fit(const CDCFacet &facet, int nSteps=100)
Fits a proper line to facet and returns the chi2.
A parameter line including including an line covariance matrix which is interpreted as located in the...
Abstract base class for different kinds of events.