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 TrackingUtilities {
16 class CDCTrajectory2D;
17 }
18 namespace TrackFindingCDC {
20
23
24 public:
27
29 void update(TrackingUtilities::CDCTrajectory2D& trajectory2D, CDCObservations2D& observations2D) const;
30
31 private:
38 CDCObservations2D& observations2D) const;
39
46 CDCObservations2D& observations2D) const;
47
48 public:
50 bool isLineConstrained() const
51 {
52 return m_lineConstrained;
53 }
54
57 {
59 }
60
62 void setLineConstrained(bool constrained = true)
63 {
64 m_lineConstrained = constrained;
65 }
66
68 void setOriginConstrained(bool constrained = true)
69 {
70 m_originConstrained = constrained;
71 }
72
73 private:
76
79 };
80 }
82}
Class serving as a storage of observed drift circles to present to the Riemann fitter.
void update(TrackingUtilities::CDCTrajectory2D &trajectory2D, CDCObservations2D &observations2D) const
Executes the fit and updates the trajectory parameters. This may render the information in the observ...
void setLineConstrained(bool constrained=true)
Indicator if this fitter is setup to fit lines.
void updateWithoutDriftLength(TrackingUtilities::CDCTrajectory2D &trajectory2D, CDCObservations2D &observations2D) const
Executes the fit without using the drift length information.
bool isLineConstrained() const
Getter for the indicator 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 updateWithDriftLength(TrackingUtilities::CDCTrajectory2D &trajectory2D, CDCObservations2D &observations2D) const
Executes the fit using the drift length information.
bool m_lineConstrained
Memory for the flag indicating that lines should be fitted.
bool isOriginConstrained() const
Getter for the indicator that curves through the origin should be fitted by this fitter.
Particle trajectory as it is seen in xy projection represented as a circle.
Abstract base class for different kinds of events.