Belle II Software development
ExtendedRiemannsMethod.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
31 void update(CDCTrajectory2D& trajectory2D, CDCObservations2D& observations2D) const;
32
33 private:
36
37 public:
39 bool isLineConstrained() const
40 {
41 return m_lineConstrained;
42 }
43
46 {
48 }
49
51 void setLineConstrained(bool constrained = true)
52 {
53 m_lineConstrained = constrained;
54 }
55
57 void setOriginConstrained(bool constrained = true)
58 {
59 m_originConstrained = constrained;
60 }
61
62 private:
65
68 };
69 }
71}
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 Riemann fit for two dimensional trajectory circle.
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.
void setOriginConstrained(bool constrained=true)
Indicator if this fitter is setup to fit curves through the origin.
bool m_originConstrained
Memory for the flag indicating that curves through the origin shall be fitter.
ExtendedRiemannsMethod()
Constructor setting the default constraints.
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 observa...
bool isOriginConstrained() const
Getter for the indictor that curves through the origin should be fitted by this fitter.
Adds an uncertainty matrix to the circle in perigee parameterisation.
Abstract base class for different kinds of events.