CbmRoot
CbmLitTrackFitterIter Class Reference

#include <CbmLitTrackFitterIter.h>

Inheritance diagram for CbmLitTrackFitterIter:
[legend]
Collaboration diagram for CbmLitTrackFitterIter:
[legend]

Public Member Functions

 CbmLitTrackFitterIter (TrackFitterPtr fitter, TrackFitterPtr smoother)
 
virtual ~CbmLitTrackFitterIter ()
 
virtual LitStatus Fit (CbmLitTrack *track, bool downstream=true)
 Main function to be implemented for concrete track fitter algorithm. More...
 

Private Attributes

TrackFitterPtr fFitter
 
TrackFitterPtr fSmoother
 
int fNofIterations
 
litfloat fChiSqCut
 
int fMinNofHits
 

Detailed Description

Definition at line 17 of file CbmLitTrackFitterIter.h.

Constructor & Destructor Documentation

◆ CbmLitTrackFitterIter()

CbmLitTrackFitterIter::CbmLitTrackFitterIter ( TrackFitterPtr  fitter,
TrackFitterPtr  smoother 
)

◆ ~CbmLitTrackFitterIter()

CbmLitTrackFitterIter::~CbmLitTrackFitterIter ( )
virtual

Definition at line 21 of file CbmLitTrackFitterIter.cxx.

Member Function Documentation

◆ Fit()

LitStatus CbmLitTrackFitterIter::Fit ( CbmLitTrack track,
bool  downstream = true 
)
virtual

Main function to be implemented for concrete track fitter algorithm.

Parameters
[in,out]trackPointer to track to be fitted.
[in]downstreamTrack fit direction.
Returns
Status code.

Implements CbmLitTrackFitter.

Definition at line 23 of file CbmLitTrackFitterIter.cxx.

References fChiSqCut, fFitter, fMinNofHits, fNofIterations, fSmoother, CbmLitFitNode::GetChiSqSmoothed(), CbmLitTrack::GetFitNode(), CbmLitTrack::GetNofHits(), i, kLITERROR, kLITSUCCESS, and CbmLitTrack::RemoveHit().

Member Data Documentation

◆ fChiSqCut

litfloat CbmLitTrackFitterIter::fChiSqCut
private

Definition at line 38 of file CbmLitTrackFitterIter.h.

Referenced by Fit().

◆ fFitter

TrackFitterPtr CbmLitTrackFitterIter::fFitter
private

Definition at line 32 of file CbmLitTrackFitterIter.h.

Referenced by Fit().

◆ fMinNofHits

int CbmLitTrackFitterIter::fMinNofHits
private

Definition at line 40 of file CbmLitTrackFitterIter.h.

Referenced by Fit().

◆ fNofIterations

int CbmLitTrackFitterIter::fNofIterations
private

Definition at line 36 of file CbmLitTrackFitterIter.h.

Referenced by Fit().

◆ fSmoother

TrackFitterPtr CbmLitTrackFitterIter::fSmoother
private

Definition at line 34 of file CbmLitTrackFitterIter.h.

Referenced by Fit().


The documentation for this class was generated from the following files: