Belle II Software development
KarimakisMethod.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 namespace TrackFindingCDC {
16 class CDCTrajectory2D;
17 class UncertainPerigeeCircle;
18 class CDCObservations2D;
19
22
23 public:
26
28 void update(CDCTrajectory2D& trajectory2D, CDCObservations2D& observations2D) const;
29
30 private:
33
34 public:
36 bool isLineConstrained() const
37 {
38 return m_lineConstrained;
39 }
40
42 void setLineConstrained(bool constrained = true)
43 {
44 m_lineConstrained = constrained;
45 }
46
47 private:
50 };
51 }
53}
Class serving as a storage of observed drift circles to present to the Riemann fitter.
Particle trajectory as it is seen in xy projection represented as a circle.
Class implementing the Karimaki fit for two dimensional trajectory circle.
KarimakisMethod()
Constructor setting the default constraints.
void setLineConstrained(bool constrained=true)
Indicator if this fitter is setup to fit lines.
bool isLineConstrained() const
Getter for the indictor that lines should be fitted by this fitter.
UncertainPerigeeCircle fitInternal(CDCObservations2D &observations2D) const
Internal method doing the heavy work.
bool m_lineConstrained
Memory for the flag indicating that lines should be fitted.
void update(CDCTrajectory2D &trajectory2D, CDCObservations2D &observations2D) const
Executes the fit and updates the trajectory parameters. This may render the information in the observ...
Adds an uncertainty matrix to the circle in perigee parameterisation.
Abstract base class for different kinds of events.