CbmRoot
Loading...
Searching...
No Matches
CbmStsKFTrackFitter Class Reference

#include <CbmStsKFTrackFitter.h>

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

Public Member Functions

 CbmStsKFTrackFitter ()
 
 ~CbmStsKFTrackFitter ()
 
void Init ()
 
Int_t DoFit (CbmStsTrack *track, Int_t pidHypo=211)
 
void Extrapolate (CbmStsTrack *track, Double_t z, FairTrackParam *e_track)
 
void Extrapolate (FairTrackParam *trackPar, Double_t z, FairTrackParam *e_track)
 
Double_t GetChiToVertex (CbmStsTrack *track, CbmVertex *vtx=nullptr)
 
Double_t FitToVertex (CbmStsTrack *track, CbmVertex *vtx, FairTrackParam *v_track)
 
 ClassDef (CbmStsKFTrackFitter, 1)
 

Private Member Functions

void SetKFHits (CbmKFTrack &T, CbmStsTrack *track)
 
Bool_t CheckTrack (CbmKFTrack &T)
 
 CbmStsKFTrackFitter (const CbmStsKFTrackFitter &)
 
void operator= (const CbmStsKFTrackFitter &)
 

Private Attributes

std::vector< CbmKFStsHitfHits
 
TClonesArray * fMvdHitsArray
 
TClonesArray * fStsHitsArray
 
Bool_t fIsInitialised
 

Detailed Description

Definition at line 17 of file CbmStsKFTrackFitter.h.

Constructor & Destructor Documentation

◆ CbmStsKFTrackFitter() [1/2]

CbmStsKFTrackFitter::CbmStsKFTrackFitter ( )

Default constructor

Definition at line 29 of file CbmStsKFTrackFitter.cxx.

◆ ~CbmStsKFTrackFitter()

CbmStsKFTrackFitter::~CbmStsKFTrackFitter ( )
inline

Destructor

Definition at line 26 of file CbmStsKFTrackFitter.h.

◆ CbmStsKFTrackFitter() [2/2]

CbmStsKFTrackFitter::CbmStsKFTrackFitter ( const CbmStsKFTrackFitter & )
private

Member Function Documentation

◆ CheckTrack()

Bool_t CbmStsKFTrackFitter::CheckTrack ( CbmKFTrack & T)
private

Definition at line 240 of file CbmStsKFTrackFitter.cxx.

Referenced by DoFit().

◆ ClassDef()

CbmStsKFTrackFitter::ClassDef ( CbmStsKFTrackFitter ,
1  )

◆ DoFit()

Int_t CbmStsKFTrackFitter::DoFit ( CbmStsTrack * track,
Int_t pidHypo = 211 )
virtual

Fit given track using Kalman Filter algorithm

Implements CbmStsTrackFitter.

Definition at line 92 of file CbmStsKFTrackFitter.cxx.

References CheckTrack(), CbmTrack::SetFlag(), SetKFHits(), CbmTrack::SetParamLast(), CbmKFTrack::SetPID(), and CbmTrack::SetPidHypo().

Referenced by CbmLitFitQa::ProcessTrackParamsAtVertex().

◆ Extrapolate() [1/2]

void CbmStsKFTrackFitter::Extrapolate ( CbmStsTrack * track,
Double_t z,
FairTrackParam * e_track )
virtual

Extrapolate track to any Z position

Parameters
trackalready fitted STS track
znew z-position
e_track(return value) extrapolated track parameters

Implements CbmStsTrackFitter.

Definition at line 156 of file CbmStsKFTrackFitter.cxx.

References CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmTrack::GetPidHypo(), SetKFHits(), and CbmKFTrack::SetPID().

Referenced by CbmRichTrackExtrapolationKF::DoExtrapolation(), CbmAnaDimuonAnalysis::Exec(), and CbmEcalTrackingMuch::Exec().

◆ Extrapolate() [2/2]

void CbmStsKFTrackFitter::Extrapolate ( FairTrackParam * trackPar,
Double_t z,
FairTrackParam * e_track )

Extrapolate track param. to any Z position

Parameters
trackalready fitted STS track
znew z-position
e_track(return value) extrapolated track parameters

Definition at line 142 of file CbmStsKFTrackFitter.cxx.

References CbmKFTrack::SetTrackParam().

◆ FitToVertex()

Double_t CbmStsKFTrackFitter::FitToVertex ( CbmStsTrack * track,
CbmVertex * vtx,
FairTrackParam * v_track )

Fit track to a vertex

Parameters
trackalready fitted STS track
vtxvertex
v_track(return value) fitted track parameters
retrunsqrt(Chi^2/NDF)

Definition at line 221 of file CbmStsKFTrackFitter.cxx.

References sqrt().

Referenced by CbmKresFunctions::ChiToVertex(), CbmHadronAnalysis::ExecEvent(), CbmKresFunctions::FitToVertex(), CbmKresFunctions::FitToVertexAndGetChi(), and CbmLitFitQa::ProcessTrackParamsAtVertex().

◆ GetChiToVertex()

Double_t CbmStsKFTrackFitter::GetChiToVertex ( CbmStsTrack * track,
CbmVertex * vtx = nullptr )

◆ Init()

void CbmStsKFTrackFitter::Init ( )
virtual

◆ operator=()

void CbmStsKFTrackFitter::operator= ( const CbmStsKFTrackFitter & )
private

◆ SetKFHits()

Member Data Documentation

◆ fHits

std::vector<CbmKFStsHit> CbmStsKFTrackFitter::fHits
private

Definition at line 71 of file CbmStsKFTrackFitter.h.

Referenced by SetKFHits().

◆ fIsInitialised

Bool_t CbmStsKFTrackFitter::fIsInitialised
private

Definition at line 76 of file CbmStsKFTrackFitter.h.

Referenced by Init(), and SetKFHits().

◆ fMvdHitsArray

TClonesArray* CbmStsKFTrackFitter::fMvdHitsArray
private

Definition at line 73 of file CbmStsKFTrackFitter.h.

Referenced by Init(), and SetKFHits().

◆ fStsHitsArray

TClonesArray* CbmStsKFTrackFitter::fStsHitsArray
private

Definition at line 74 of file CbmStsKFTrackFitter.h.

Referenced by Init(), and SetKFHits().


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