CbmRoot
CbmTofTrackFitterKF.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------
2 // ----- CbmTofTrackFitterKF -----
3 // ----- Created 29/11/05 by D. Kresan -----
4 // -----------------------------------------------------------------------
5 #ifndef CBMTOFTRACKFITTERKF
6 #define CBMTOFTRACKFITTERKF
7 
8 #include "CbmTofTrackFitter.h"
9 
10 class TClonesArray;
11 class CbmTofTrack;
12 class CbmTofTracklet;
13 class CbmKFTrack;
14 
15 
17 
18 private:
19  TClonesArray* fArrayTofHit; // Array of TOF hits
20  Int_t fVerbose; // Verbosity level
21  Int_t fPid; // Mass hypothesis
22  CbmKFTrack* fKfTrack; // KF track
23 
24 public:
26  CbmTofTrackFitterKF(Int_t verbose, Int_t pid);
27  virtual ~CbmTofTrackFitterKF();
28 
29  void Init();
30  Int_t DoFit(CbmTofTracklet* pTrack);
31  Int_t DoFit(CbmTofTrack* pTrack);
32 
39  void Extrapolate(const FairTrackParam* trackPar,
40  Double_t z,
41  FairTrackParam* e_track);
42  /*
43  void Extrapolate( CbmTofTracklet* track, Double_t z, FairTrackParam *e_track );
44  */
45  inline Int_t GetVerbose() { return fVerbose; }
46  inline Int_t GetPid() { return fPid; }
47 
48  inline void SetVerbose(Int_t verbose) { fVerbose = verbose; }
49  inline void SetPid(Int_t pid) { fPid = pid; }
50 
51 
53 
54 private:
55  void SetKFHits(CbmKFTrack& T, CbmTofTracklet* track);
58 };
59 
60 
61 #endif
CbmTofTrackFitterKF::fPid
Int_t fPid
Definition: CbmTofTrackFitterKF.h:21
CbmTofTrackFitterKF
Definition: CbmTofTrackFitterKF.h:16
CbmTofTrackFitter
Definition: CbmTofTrackFitter.h:28
CbmTofTracklet
Provides information on attaching a TofHit to a TofTrack.
Definition: CbmTofTracklet.h:25
CbmTofTrackFitterKF::CbmTofTrackFitterKF
CbmTofTrackFitterKF()
Definition: CbmTofTrackFitterKF.cxx:32
CbmTofTrackFitterKF::CbmTofTrackFitterKF
CbmTofTrackFitterKF(const CbmTofTrackFitterKF &)
CbmTofTrackFitterKF::GetPid
Int_t GetPid()
Definition: CbmTofTrackFitterKF.h:46
CbmTofTrackFitterKF::GetVerbose
Int_t GetVerbose()
Definition: CbmTofTrackFitterKF.h:45
CbmTofTrackFitterKF::DoFit
Int_t DoFit(CbmTofTracklet *pTrack)
Definition: CbmTofTrackFitterKF.cxx:83
CbmTofTrackFitterKF::Extrapolate
void Extrapolate(const FairTrackParam *trackPar, Double_t z, FairTrackParam *e_track)
Definition: CbmTofTrackFitterKF.cxx:167
CbmTofTrackFitterKF::SetVerbose
void SetVerbose(Int_t verbose)
Definition: CbmTofTrackFitterKF.h:48
CbmTofTrackFitterKF::SetKFHits
void SetKFHits(CbmKFTrack &T, CbmTofTracklet *track)
Definition: CbmTofTrackFitterKF.cxx:206
CbmTofTrackFitterKF::operator=
void operator=(const CbmTofTrackFitterKF &)
CbmTofTrackFitterKF::fArrayTofHit
TClonesArray * fArrayTofHit
Definition: CbmTofTrackFitterKF.h:19
CbmTofTrackFitterKF::fKfTrack
CbmKFTrack * fKfTrack
Definition: CbmTofTrackFitterKF.h:22
CbmTofTrackFitterKF::Init
void Init()
Definition: CbmTofTrackFitterKF.cxx:59
CbmTofTrackFitterKF::SetPid
void SetPid(Int_t pid)
Definition: CbmTofTrackFitterKF.h:49
CbmKFTrack
Definition: CbmKFTrack.h:21
CbmTofTrackFitterKF::fVerbose
Int_t fVerbose
Definition: CbmTofTrackFitterKF.h:20
CbmTofTrackFitterKF::ClassDef
ClassDef(CbmTofTrackFitterKF, 1)
CbmTofTrackFitter.h
CbmTofTrack
Provides information on attaching a TofHit to a GlobalTrack.
Definition: CbmTofTrack.h:20
CbmTofTrackFitterKF::~CbmTofTrackFitterKF
virtual ~CbmTofTrackFitterKF()
Definition: CbmTofTrackFitterKF.cxx:51