CbmRoot
Loading...
Searching...
No Matches
CbmStsKFTrackFitter.h
Go to the documentation of this file.
1/* Copyright (C) 2006-2017 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Denis Bertini [committer] */
4
5#ifndef CBMSTSKFTRACKFITTER
6#define CBMSTSKFTRACKFITTER 1
7
8#include "CbmKFStsHit.h"
9#include "CbmStsTrackFitter.h"
10
11#include <vector>
12
13class CbmKFTrack;
14class CbmVertex;
15class TClonesArray;
16
18
19 public:
23
27
28
31 void Init();
32
35 Int_t DoFit(CbmStsTrack* track, Int_t pidHypo = 211);
36
43 void Extrapolate(CbmStsTrack* track, Double_t z, FairTrackParam* e_track);
44
51 void Extrapolate(FairTrackParam* trackPar, Double_t z, FairTrackParam* e_track);
52
56 Double_t GetChiToVertex(CbmStsTrack* track, CbmVertex* vtx = nullptr);
57
65 Double_t FitToVertex(CbmStsTrack* track, CbmVertex* vtx, FairTrackParam* v_track);
66
67 private:
68 void SetKFHits(CbmKFTrack& T, CbmStsTrack* track);
69 Bool_t CheckTrack(CbmKFTrack& T);
70
71 std::vector<CbmKFStsHit> fHits;
72
73 TClonesArray* fMvdHitsArray;
74 TClonesArray* fStsHitsArray;
75
77
78 public:
80
81 private:
84};
85
86#endif
TClonesArray * fStsHitsArray
void operator=(const CbmStsKFTrackFitter &)
void SetKFHits(CbmKFTrack &T, CbmStsTrack *track)
CbmStsKFTrackFitter(const CbmStsKFTrackFitter &)
ClassDef(CbmStsKFTrackFitter, 1)
std::vector< CbmKFStsHit > fHits
void Extrapolate(CbmStsTrack *track, Double_t z, FairTrackParam *e_track)
Double_t FitToVertex(CbmStsTrack *track, CbmVertex *vtx, FairTrackParam *v_track)
Double_t GetChiToVertex(CbmStsTrack *track, CbmVertex *vtx=nullptr)
TClonesArray * fMvdHitsArray
Int_t DoFit(CbmStsTrack *track, Int_t pidHypo=211)
Bool_t CheckTrack(CbmKFTrack &T)