Belle II Software development
|
Class implementing the Riemann fit for two dimensional trajectory circle. More...
#include <CDCRiemannFitter.h>
Public Member Functions | |
CDCRiemannFitter () | |
Default constructor. | |
~CDCRiemannFitter () | |
Default destructor. | |
CDCTrajectory2D | fit (const CDCObservations2D &observations2D) const |
Fits a collection of observation drift circles. | |
CDCTrajectory2D | fit (CDCObservations2D &&observations2D) const |
Fits a collection of observation drift circles. | |
CDCTrajectory2D | fit (const CDCTrack &track) const |
Fits the track. | |
CDCTrajectory2D | fit (const CDCSegment3D &segment) const |
Fits the segment. | |
CDCTrajectory2D | fit (const CDCSegment2D &fromSegment, const CDCSegment2D &toSegment) const |
Fits to the two segments. | |
CDCTrajectory2D | fit (const CDCSegment2D &segment) const |
Fits the segment. | |
CDCTrajectory2D | fit (const std::vector< const CDCWireHit * > &wireHit) const |
Fits to the wire hit observations. | |
CDCTrajectory2D | fit (const std::vector< const CDCWire * > &wires) const |
Fits to the wire positions. Explicit specialisation to be used from python. | |
CDCTrajectory2D | fit (const CDCWireHitSegment &wireHits) const |
Fits to the wire positions. Explicit specialisation to be used from python. | |
void | update (CDCTrajectory2D &trajectory2D, const CDCObservations2D &observations2D) const |
Update the trajectory with a fit to the observations. | |
void | update (CDCTrajectory2D &trajectory2D, CDCObservations2D &&observations2D) const |
Update the trajectory with a fit to the observations. | |
void | update (CDCTrajectory2D &trajectory2D, const CDCSegment2D &segment) const |
Updates the given trajectory inplace from the given segment. | |
void | update (CDCTrajectory2D &trajectory2D, const CDCAxialSegmentPair &axialSegmentPair) const |
Updates the given trajectory inplace from the given segment pair. | |
void | update (CDCTrajectory2D &trajectory2D, CDCObservations2D &observations2D) const |
Executes the fit and updates the trajectory parameters This may render the information in the observation object. | |
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. | |
bool | isLineConstrained () const |
Getter for the indicator that lines should be fitted by this fitter. | |
bool | isOriginConstrained () const |
Getter for the indicator that curves through the origin should be fitted by this fitter. | |
void | setLineConstrained (bool constrained=true) |
Indicator if this fitter is setup to fit lines. | |
void | setOriginConstrained (bool constrained=true) |
Indicator if this fitter is setup to fit curves through the origin. | |
Static Public Member Functions | |
static const CDCRiemannFitter & | getFitter () |
Static getter for a general Riemann fitter. | |
static const CDCRiemannFitter & | getFitter (bool fromOrigin, bool line) |
Static getter for a given Riemann fitter. | |
static const CDCRiemannFitter & | getLineFitter () |
Static getter for a line fitter. | |
static const CDCRiemannFitter & | getOriginCircleFitter () |
Static getter for an origin circle fitter. | |
Private Member Functions | |
CDCTrajectory2D | fitGeneric (const AHits &hits) const |
Fits a collection of hit typs which are convertible to observation circles. | |
CDCTrajectory2D | fitGeneric (const AStartHits &startHits, const AEndHits &endHits) const |
Fits together two collections of hit types which are convertible to observation circles. | |
void | updateGeneric (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. | |
void | updateGeneric (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. | |
UncertainPerigeeCircle | fitInternal (CDCObservations2D &observations2D) const |
Internal method doing the heavy work. | |
Private Attributes | |
bool | m_usePosition |
Flag indicating the reconstructed position shall be used in the fit. | |
bool | m_useOrientation |
Flag indicating the reference position and drift length with right left orientation shall be used in the fit. | |
EFitVariance | m_fitVariance |
Default variance to be used in the fit. | |
bool | m_lineConstrained |
Memory for the flag indicating that lines should be fitted. | |
bool | m_originConstrained |
Memory for the flag indicating that curves through the origin shall be fitter. | |
Class implementing the Riemann fit for two dimensional trajectory circle.
Definition at line 24 of file CDCRiemannFitter.h.
|
inherited |
Fits a collection of observation drift circles.
Definition at line 46 of file CDCFitter2D.icc.h.
|
inherited |
Fits a collection of observation drift circles.
Definition at line 43 of file CDCFitter2D.icc.h.
|
inherited |
Fits to the two segments.
Definition at line 61 of file CDCFitter2D.icc.h.
|
inherited |
Fits the segment.
Definition at line 64 of file CDCFitter2D.icc.h.
|
inherited |
Fits the segment.
Definition at line 58 of file CDCFitter2D.icc.h.
|
inherited |
Fits the track.
Definition at line 55 of file CDCFitter2D.icc.h.
|
inherited |
Fits to the wire positions. Explicit specialisation to be used from python.
Definition at line 73 of file CDCFitter2D.icc.h.
|
inherited |
Fits to the wire positions. Explicit specialisation to be used from python.
Definition at line 70 of file CDCFitter2D.icc.h.
|
inherited |
Fits to the wire hit observations.
Definition at line 67 of file CDCFitter2D.icc.h.
|
privateinherited |
Fits a collection of hit typs which are convertible to observation circles.
Definition at line 84 of file CDCFitter2D.icc.h.
|
privateinherited |
Fits together two collections of hit types which are convertible to observation circles.
Definition at line 88 of file CDCFitter2D.icc.h.
|
privateinherited |
Internal method doing the heavy work.
Definition at line 294 of file ExtendedRiemannsMethod.cc.
|
static |
Static getter for a general Riemann fitter.
Definition at line 20 of file CDCRiemannFitter.cc.
|
static |
Static getter for a given Riemann fitter.
Definition at line 26 of file CDCRiemannFitter.cc.
|
static |
Static getter for a line fitter.
Definition at line 34 of file CDCRiemannFitter.cc.
|
static |
Static getter for an origin circle fitter.
Definition at line 41 of file CDCRiemannFitter.cc.
|
inlineinherited |
Getter for the indicator that lines should be fitted by this fitter.
Definition at line 39 of file ExtendedRiemannsMethod.h.
|
inlineinherited |
Getter for the indicator that curves through the origin should be fitted by this fitter.
Definition at line 45 of file ExtendedRiemannsMethod.h.
|
inherited |
Setup the fitter to use the given variance measure by default.
Definition at line 120 of file CDCFitter2D.icc.h.
|
inlineinherited |
Indicator if this fitter is setup to fit lines.
Definition at line 51 of file ExtendedRiemannsMethod.h.
|
inlineinherited |
Indicator if this fitter is setup to fit curves through the origin.
Definition at line 57 of file ExtendedRiemannsMethod.h.
|
inherited |
Update the trajectory with a fit to the observations.
Definition at line 52 of file CDCFitter2D.icc.h.
|
inherited |
Executes the fit and updates the trajectory parameters This may render the information in the observation object.
Definition at line 34 of file ExtendedRiemannsMethod.cc.
|
inherited |
Updates the given trajectory inplace from the given segment pair.
Definition at line 79 of file CDCFitter2D.icc.h.
|
inherited |
Update the trajectory with a fit to the observations.
Definition at line 49 of file CDCFitter2D.icc.h.
|
inherited |
Updates the given trajectory inplace from the given segment.
Definition at line 76 of file CDCFitter2D.icc.h.
|
privateinherited |
Updates a given trajectory with a fit to a collection of hits types, which are convertible to observation circles.
Definition at line 95 of file CDCFitter2D.icc.h.
|
privateinherited |
Updates a given trajectory with a fit to two collection of hit types, which are convertible to observation circles.
Definition at line 102 of file CDCFitter2D.icc.h.
|
inherited |
Setup the fitter to use only reference position and the drift length with right left orientation.
Definition at line 114 of file CDCFitter2D.icc.h.
|
inherited |
Setup the fitter to use only the reconstructed positions of the hits.
Definition at line 111 of file CDCFitter2D.icc.h.
|
inherited |
Setup the fitter to use both the reconstructed position and the reference position and the drift length with right left orientation.
Definition at line 117 of file CDCFitter2D.icc.h.
|
privateinherited |
Default variance to be used in the fit.
Definition at line 130 of file CDCFitter2D.h.
|
privateinherited |
Memory for the flag indicating that lines should be fitted.
Definition at line 64 of file ExtendedRiemannsMethod.h.
|
privateinherited |
Memory for the flag indicating that curves through the origin shall be fitter.
Definition at line 67 of file ExtendedRiemannsMethod.h.
|
privateinherited |
Flag indicating the reference position and drift length with right left orientation shall be used in the fit.
Definition at line 127 of file CDCFitter2D.h.
|
privateinherited |
Flag indicating the reconstructed position shall be used in the fit.
Definition at line 124 of file CDCFitter2D.h.