Belle II Software development
RiemannsMethod.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 CDCObservations2D;
18
21
22 public:
25
27 void update(CDCTrajectory2D& trajectory2D, CDCObservations2D& observations2D) const;
28
29 private:
36 CDCObservations2D& observations2D) const;
37
43 void updateWithDriftLength(CDCTrajectory2D& trajectory2D,
44 CDCObservations2D& observations2D) const;
45
46 public:
48 bool isLineConstrained() const
49 {
50 return m_lineConstrained;
51 }
52
55 {
57 }
58
60 void setLineConstrained(bool constrained = true)
61 {
62 m_lineConstrained = constrained;
63 }
64
66 void setOriginConstrained(bool constrained = true)
67 {
68 m_originConstrained = constrained;
69 }
70
71 private:
74
77 };
78 }
80}
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 updateWithDriftLength(CDCTrajectory2D &trajectory2D, CDCObservations2D &observations2D) const
Executes the fit using the drift length information.
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.
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.
void updateWithoutDriftLength(CDCTrajectory2D &trajectory2D, CDCObservations2D &observations2D) const
Executes the fit without using the drift length information.
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...
bool isOriginConstrained() const
Getter for the indictor that curves through the origin should be fitted by this fitter.
Abstract base class for different kinds of events.