Belle II Software  release-05-01-25
CDCSZFitter Class Reference

Class implementing the z coordinate over travel distance line fit. More...

#include <CDCSZFitter.h>

Public Member Functions

CDCTrajectorySZ fitWithStereoHits (const CDCTrack &track) const
 Returns the fitted sz trajectory of the track with the z-information of all stereo hits of the number of stereo hits is big enough. More...
 
CDCTrajectorySZ fit (const CDCSegment2D &stereoSegment, const CDCTrajectory2D &axialTrajectory2D) const
 Returns a fitted trajectory.
 
CDCTrajectorySZ fit (const CDCSegment3D &segment3D) const
 Fits a linear sz trajectory to the z and s coordinates in the stereo segment.
 
CDCTrajectorySZ fit (CDCSZObservations observationsSZ) const
 Fits a linear sz trajectory to the s and z coordinates given in the observations.
 
CDCTrajectorySZ fit (const CDCObservations2D &observations2D) const
 Legacy - Fits a linear sz trajectory to the x and y coordinates interpreted as sz space.
 
void update (const CDCSegmentPair &segmentPair) const
 Updates the trajectory of the axial stereo segment pair inplace.
 
void update (CDCTrajectorySZ &trajectorySZ, const CDCSegment2D &stereoSegment, const CDCTrajectory2D &axialTrajectory2D) const
 Update the given sz trajectory reconstructing the stereo segment with a near by axial segment.
 
void update (CDCTrajectorySZ &trajectorySZ, CDCSZObservations &observationsSZ) const
 Update the trajectory with a fit to the observations.
 

Static Public Member Functions

static const CDCSZFittergetFitter ()
 Getter for a standard sz line fitter instance.
 

Detailed Description

Class implementing the z coordinate over travel distance line fit.

Definition at line 37 of file CDCSZFitter.h.

Member Function Documentation

◆ fitWithStereoHits()

CDCTrajectorySZ fitWithStereoHits ( const CDCTrack track) const

Returns the fitted sz trajectory of the track with the z-information of all stereo hits of the number of stereo hits is big enough.

Else return the basic assumption.

Definition at line 127 of file CDCSZFitter.cc.

128 {
129  const bool onlyStereo = true;
130  CDCSZObservations observationsSZ(EFitVariance::c_Proper, onlyStereo);
131  observationsSZ.appendRange(track);
132  if (observationsSZ.size() > 3) {
133  CDCTrajectorySZ szTrajectory;
134  update(szTrajectory, observationsSZ);
135  return szTrajectory;
136  } else {
138  }
139 }

The documentation for this class was generated from the following files:
Belle2::TrackFindingCDC::CDCTrajectorySZ::basicAssumption
static CDCTrajectorySZ basicAssumption()
Constucts a basic assumption, what the z0 start position and the sz slope are, including some broad v...
Definition: CDCTrajectorySZ.cc:29
Belle2::TrackFindingCDC::CDCSZFitter::update
void update(const CDCSegmentPair &segmentPair) const
Updates the trajectory of the axial stereo segment pair inplace.
Definition: CDCSZFitter.cc:165