![]() |
Belle II Software development
|
Class implementing a fit for two dimensional trajectory circle using a generic fitting backend. More...
#include <CDCFitter2D.h>
Public Member Functions | |
| CDCFitter2D () | |
| Default constructor. | |
| ~CDCFitter2D () | |
| Default destructor. | |
| TrackingUtilities::CDCTrajectory2D | fit (const CDCObservations2D &observations2D) const |
| Fits a collection of observation drift circles. | |
| TrackingUtilities::CDCTrajectory2D | fit (CDCObservations2D &&observations2D) const |
| Fits a collection of observation drift circles. | |
| void | update (TrackingUtilities::CDCTrajectory2D &trajectory2D, const CDCObservations2D &observations2D) const |
| Update the trajectory with a fit to the observations. | |
| void | update (TrackingUtilities::CDCTrajectory2D &trajectory2D, CDCObservations2D &&observations2D) const |
| Update the trajectory with a fit to the observations. | |
| TrackingUtilities::CDCTrajectory2D | fit (const TrackingUtilities::CDCTrack &track) const |
| Fits the track. | |
| TrackingUtilities::CDCTrajectory2D | fit (const TrackingUtilities::CDCSegment3D &segment) const |
| Fits the segment. | |
| TrackingUtilities::CDCTrajectory2D | fit (const TrackingUtilities::CDCSegment2D &fromSegment, const TrackingUtilities::CDCSegment2D &toSegment) const |
| Fits to the two segments. | |
| TrackingUtilities::CDCTrajectory2D | fit (const TrackingUtilities::CDCSegment2D &segment) const |
| Fits the segment. | |
| TrackingUtilities::CDCTrajectory2D | fit (const std::vector< const TrackingUtilities::CDCWireHit * > &wireHit) const |
| Fits to the wire hit observations. | |
| TrackingUtilities::CDCTrajectory2D | fit (const std::vector< const CDC::CDCWire * > &wires) const |
| Fits to the wire positions. Explicit specialisation to be used from python. | |
| TrackingUtilities::CDCTrajectory2D | fit (const TrackingUtilities::CDCWireHitSegment &wireHits) const |
| Fits to the wire positions. Explicit specialisation to be used from python. | |
| void | update (TrackingUtilities::CDCTrajectory2D &trajectory2D, const TrackingUtilities::CDCSegment2D &segment) const |
| Updates the given trajectory inplace from the given segment. | |
| void | update (TrackingUtilities::CDCTrajectory2D &trajectory2D, const TrackingUtilities::CDCAxialSegmentPair &axialSegmentPair) const |
| Updates the given trajectory inplace from the given segment pair. | |
| void | useOnlyPosition () |
| Setup the fitter to use only the reconstructed positions of the hits. | |
| void | useOnlyOrientation () |
| Setup the fitter to use only reference position and the drift length with right left orientation. | |
| void | usePositionAndOrientation () |
| Setup the fitter to use both the reconstructed position and the reference position and the drift length with right left orientation. | |
| void | setFitVariance (EFitVariance fitVariance) |
| Setup the fitter to use the given variance measure by default. | |
Private Member Functions | |
| template<class AHits> | |
| TrackingUtilities::CDCTrajectory2D | fitGeneric (const AHits &hits) const |
| Fits a collection of hit typs which are convertible to observation circles. | |
| template<class AStartHits, class AEndHits> | |
| TrackingUtilities::CDCTrajectory2D | fitGeneric (const AStartHits &startHits, const AEndHits &endHits) const |
| Fits together two collections of hit types which are convertible to observation circles. | |
| template<class AHits> | |
| void | updateGeneric (TrackingUtilities::CDCTrajectory2D &trajectory2D, const AHits &hits) const |
| Updates a given trajectory with a fit to a collection of hits types, which are convertible to observation circles. | |
| template<class AStartHits, class AEndHits> | |
| void | updateGeneric (TrackingUtilities::CDCTrajectory2D &trajectory2D, const AStartHits &startHits, const AEndHits &endHits) const |
| Updates a given trajectory with a fit to two collection of hit types, which are convertible to observation circles. | |
Private Attributes | |
| bool | m_usePosition = true |
| Flag indicating the reconstructed position shall be used in the fit. | |
| bool | m_useOrientation = false |
| Flag indicating the reference position and drift length with right left orientation shall be used in the fit. | |
| EFitVariance | m_fitVariance = EFitVariance::c_Proper |
| Default variance to be used in the fit. | |
Class implementing a fit for two dimensional trajectory circle using a generic fitting backend.
Definition at line 36 of file CDCFitter2D.h.
| CDCFitter2D | ( | ) |
Default constructor.
Definition at line 27 of file CDCFitter2D.icc.h.
| TrackingUtilities::CDCTrajectory2D fit | ( | CDCObservations2D && | observations2D | ) | const |
Fits a collection of observation drift circles.
Definition at line 44 of file CDCFitter2D.icc.h.
| TrackingUtilities::CDCTrajectory2D fit | ( | const CDCObservations2D & | observations2D | ) | const |
Fits a collection of observation drift circles.
Definition at line 38 of file CDCFitter2D.icc.h.
| TrackingUtilities::CDCTrajectory2D fit | ( | const std::vector< const CDC::CDCWire * > & | wires | ) | const |
Fits to the wire positions. Explicit specialisation to be used from python.
Definition at line 90 of file CDCFitter2D.icc.h.
| TrackingUtilities::CDCTrajectory2D fit | ( | const std::vector< const TrackingUtilities::CDCWireHit * > & | wireHit | ) | const |
Fits to the wire hit observations.
Definition at line 83 of file CDCFitter2D.icc.h.
| TrackingUtilities::CDCTrajectory2D fit | ( | const TrackingUtilities::CDCSegment2D & | fromSegment, |
| const TrackingUtilities::CDCSegment2D & | toSegment ) const |
Fits to the two segments.
Definition at line 102 of file CDCFitter2D.icc.h.
| TrackingUtilities::CDCTrajectory2D fit | ( | const TrackingUtilities::CDCSegment2D & | segment | ) | const |
Fits the segment.
Definition at line 77 of file CDCFitter2D.icc.h.
| TrackingUtilities::CDCTrajectory2D fit | ( | const TrackingUtilities::CDCSegment3D & | segment | ) | const |
Fits the segment.
Definition at line 71 of file CDCFitter2D.icc.h.
| TrackingUtilities::CDCTrajectory2D fit | ( | const TrackingUtilities::CDCTrack & | track | ) | const |
Fits the track.
Definition at line 65 of file CDCFitter2D.icc.h.
| TrackingUtilities::CDCTrajectory2D fit | ( | const TrackingUtilities::CDCWireHitSegment & | wireHits | ) | const |
Fits to the wire positions. Explicit specialisation to be used from python.
Definition at line 96 of file CDCFitter2D.icc.h.
|
private |
Fits a collection of hit typs which are convertible to observation circles.
Definition at line 124 of file CDCFitter2D.icc.h.
|
private |
Fits together two collections of hit types which are convertible to observation circles.
Definition at line 134 of file CDCFitter2D.icc.h.
| void setFitVariance | ( | EFitVariance | fitVariance | ) |
Setup the fitter to use the given variance measure by default.
Definition at line 221 of file CDCFitter2D.icc.h.
| void update | ( | TrackingUtilities::CDCTrajectory2D & | trajectory2D, |
| CDCObservations2D && | observations2D ) const |
Update the trajectory with a fit to the observations.
Definition at line 59 of file CDCFitter2D.icc.h.
| void update | ( | TrackingUtilities::CDCTrajectory2D & | trajectory2D, |
| const CDCObservations2D & | observations2D ) const |
Update the trajectory with a fit to the observations.
Definition at line 52 of file CDCFitter2D.icc.h.
| void update | ( | TrackingUtilities::CDCTrajectory2D & | trajectory2D, |
| const TrackingUtilities::CDCAxialSegmentPair & | axialSegmentPair ) const |
Updates the given trajectory inplace from the given segment pair.
Definition at line 116 of file CDCFitter2D.icc.h.
| void update | ( | TrackingUtilities::CDCTrajectory2D & | trajectory2D, |
| const TrackingUtilities::CDCSegment2D & | segment ) const |
Updates the given trajectory inplace from the given segment.
Definition at line 109 of file CDCFitter2D.icc.h.
|
private |
Updates a given trajectory with a fit to a collection of hits types, which are convertible to observation circles.
Definition at line 178 of file CDCFitter2D.icc.h.
|
private |
Updates a given trajectory with a fit to two collection of hit types, which are convertible to observation circles.
Definition at line 143 of file CDCFitter2D.icc.h.
| void useOnlyOrientation | ( | ) |
Setup the fitter to use only reference position and the drift length with right left orientation.
Definition at line 207 of file CDCFitter2D.icc.h.
| void useOnlyPosition | ( | ) |
Setup the fitter to use only the reconstructed positions of the hits.
Definition at line 200 of file CDCFitter2D.icc.h.
| void usePositionAndOrientation | ( | ) |
Setup the fitter to use both the reconstructed position and the reference position and the drift length with right left orientation.
Definition at line 214 of file CDCFitter2D.icc.h.
|
private |
Default variance to be used in the fit.
Definition at line 134 of file CDCFitter2D.h.
|
private |
Flag indicating the reference position and drift length with right left orientation shall be used in the fit.
Definition at line 131 of file CDCFitter2D.h.
|
private |
Flag indicating the reconstructed position shall be used in the fit.
Definition at line 128 of file CDCFitter2D.h.