CbmRoot
|
#include <CbmStsKFTrackFitter.h>
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< CbmKFStsHit > | fHits |
TClonesArray * | fMvdHitsArray |
TClonesArray * | fStsHitsArray |
Bool_t | fIsInitialised |
Definition at line 17 of file CbmStsKFTrackFitter.h.
CbmStsKFTrackFitter::CbmStsKFTrackFitter | ( | ) |
Default constructor
Definition at line 29 of file CbmStsKFTrackFitter.cxx.
|
inline |
Destructor
Definition at line 26 of file CbmStsKFTrackFitter.h.
|
private |
|
private |
Definition at line 240 of file CbmStsKFTrackFitter.cxx.
Referenced by DoFit().
CbmStsKFTrackFitter::ClassDef | ( | CbmStsKFTrackFitter | , |
1 | ) |
|
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().
|
virtual |
Extrapolate track to any Z position
track | already fitted STS track |
z | new 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().
void CbmStsKFTrackFitter::Extrapolate | ( | FairTrackParam * | trackPar, |
Double_t | z, | ||
FairTrackParam * | e_track ) |
Extrapolate track param. to any Z position
track | already fitted STS track |
z | new z-position |
e_track | (return value) extrapolated track parameters |
Definition at line 142 of file CbmStsKFTrackFitter.cxx.
References CbmKFTrack::SetTrackParam().
Double_t CbmStsKFTrackFitter::FitToVertex | ( | CbmStsTrack * | track, |
CbmVertex * | vtx, | ||
FairTrackParam * | v_track ) |
Fit track to a vertex
track | already fitted STS track |
vtx | vertex |
v_track | (return value) fitted track parameters |
retrun | sqrt(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().
Double_t CbmStsKFTrackFitter::GetChiToVertex | ( | CbmStsTrack * | track, |
CbmVertex * | vtx = nullptr ) |
Get normalized (in sigma's) impact parameter form vertex vtx if no vtx given, return deviation from primary vertex
Definition at line 192 of file CbmStsKFTrackFitter.cxx.
References CbmVertex::CovMatrix(), CbmKFMath::getDeviation(), CbmVertex::GetX(), CbmVertex::GetY(), CbmVertex::GetZ(), and CbmKFTrack::SetStsTrack().
Referenced by CbmKresFunctions::ChiToVertex(), CbmAnaDimuonAnalysis::Exec(), CbmHadronAnalysis::ExecEvent(), CbmKresFunctions::FitToVertexAndGetChi(), and CbmLitFitQa::ProcessTrackParamsAtVertex().
|
virtual |
Initialisation
Reimplemented from CbmStsTrackFitter.
Definition at line 33 of file CbmStsKFTrackFitter.cxx.
References fIsInitialised, fMvdHitsArray, fStsHitsArray, CbmKF::Instance(), and rootMgr.
Referenced by CbmAnaDimuonAnalysis::Init(), CbmHadronAnalysis::Init(), CbmLitFitQa::Init(), and SetKFHits().
|
private |
|
private |
Definition at line 63 of file CbmStsKFTrackFitter.cxx.
References fHits, fIsInitialised, fMvdHitsArray, fStsHitsArray, CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), CbmStsTrack::GetNofStsHits(), CbmStsTrack::GetStsHitIndex(), and Init().
Referenced by DoFit(), and Extrapolate().
|
private |
Definition at line 71 of file CbmStsKFTrackFitter.h.
Referenced by SetKFHits().
|
private |
Definition at line 76 of file CbmStsKFTrackFitter.h.
Referenced by Init(), and SetKFHits().
|
private |
Definition at line 73 of file CbmStsKFTrackFitter.h.
Referenced by Init(), and SetKFHits().
|
private |
Definition at line 74 of file CbmStsKFTrackFitter.h.
Referenced by Init(), and SetKFHits().