CbmRoot
CbmGlobalTrackingTask.h
Go to the documentation of this file.
1 /*
2  * To change this license header, choose License Headers in Project Properties.
3  * To change this template file, choose Tools | Templates
4  * and open the template in the editor.
5  */
6 
7 /*
8  * File: CbmGlobalTrackingTask.h
9  * Author: tablyaz
10  *
11  * Created on January 31, 2017, 3:33 PM
12  */
13 
14 #ifndef CBMGLOBALTRACKINGTASK_H
15 #define CBMGLOBALTRACKINGTASK_H
16 
17 #include "CbmGlobalTrackingTof.h"
18 #include "CbmKFTrack.h"
19 #include "CbmTimeSlice.h"
20 #include "CbmTofHit.h"
21 #include "CbmVertex.h"
22 #include "FairTask.h"
23 #include "TClonesArray.h"
24 
25 class CbmGlobalTrackingTask : public FairTask {
26 public:
28 
31 
32  InitStatus Init(); // Overridden from FairTask
33  void Exec(Option_t* opt); // Overridden from FairTask
34  void Finish(); // Overridden from FairTask
35 
37 
39 
41 
42  void SetChi2Cut(Double_t v) { fTofGeometry.SetChi2Cut(v); }
43 
44 private:
45  Double_t CalcStsTrackLength(const CbmStsTrack* track);
46 
47 private:
50  TClonesArray* fTofHits;
51  TClonesArray* fStsTracks;
52  TClonesArray* fStsHits;
53  TClonesArray* fMvdHits;
54  TClonesArray* fGlobalTracks;
57 
58  ClassDef(CbmGlobalTrackingTask, 1)
59 };
60 
61 #endif /* CBMGLOBALTRACKINGTASK_H */
CbmVertex.h
CbmGlobalTrackingTask::Finish
void Finish()
Definition: CbmGlobalTrackingTask.cxx:171
CbmGlobalTrackingTof.h
CbmGlobalTrackingTask::CbmGlobalTrackingTask
CbmGlobalTrackingTask(const CbmGlobalTrackingTask &)=delete
scaltype
#define scaltype
Definition: CbmGlobalTrackingDefs.h:17
CbmGlobalTrackingTask::SetPropagatePdg
void SetPropagatePdg(Int_t v)
Definition: CbmGlobalTrackingTask.h:40
CbmGlobalTrackingTask::SetNofTBins
void SetNofTBins(int v)
Definition: CbmGlobalTrackingTask.h:36
CbmGlobalTrackingTask::CbmGlobalTrackingTask
CbmGlobalTrackingTask()
Definition: CbmGlobalTrackingTask.cxx:57
CbmGlobalTrackingTask::SetTBinSize
void SetTBinSize(scaltype v)
Definition: CbmGlobalTrackingTask.h:38
CbmGlobalTrackingTask::fTimeSlice
CbmTimeSlice * fTimeSlice
Definition: CbmGlobalTrackingTask.h:49
CbmGlobalTrackingTask::CalcStsTrackLength
Double_t CalcStsTrackLength(const CbmStsTrack *track)
Definition: CbmGlobalTrackingTask.cxx:181
CbmGlobalTrackingTask::fTofGeometry
CbmGlobalTrackingTofGeometry fTofGeometry
Definition: CbmGlobalTrackingTask.h:48
CbmGlobalTrackingTask::operator=
CbmGlobalTrackingTask & operator=(const CbmGlobalTrackingTask &)=delete
CbmTimeSlice.h
CbmGlobalTrackingTofGeometry
Definition: CbmGlobalTrackingTof.h:37
CbmGlobalTrackingTask::fTofHits
TClonesArray * fTofHits
Definition: CbmGlobalTrackingTask.h:50
CbmGlobalTrackingTofGeometry::SetNofTBins
void SetNofTBins(int v)
Definition: CbmGlobalTrackingTof.h:103
CbmGlobalTrackingTask::fKFTrack
CbmKFTrack fKFTrack
Definition: CbmGlobalTrackingTask.h:55
CbmGlobalTrackingTask::SetChi2Cut
void SetChi2Cut(Double_t v)
Definition: CbmGlobalTrackingTask.h:42
CbmGlobalTrackingTofGeometry::SetChi2Cut
void SetChi2Cut(Double_t v)
Definition: CbmGlobalTrackingTof.h:57
CbmVertex
Definition: CbmVertex.h:26
CbmGlobalTrackingTofGeometry::SetTBinSize
void SetTBinSize(scaltype v)
Definition: CbmGlobalTrackingTof.h:105
CbmKFTrack.h
CbmGlobalTrackingTask::fStsHits
TClonesArray * fStsHits
Definition: CbmGlobalTrackingTask.h:52
CbmGlobalTrackingTask::Init
InitStatus Init()
Definition: CbmGlobalTrackingTask.cxx:68
CbmTimeSlice
Bookkeeping of time-slice content.
Definition: CbmTimeSlice.h:29
v
__m128 v
Definition: L1/vectors/P4_F32vec4.h:1
CbmGlobalTrackingTask::fMvdHits
TClonesArray * fMvdHits
Definition: CbmGlobalTrackingTask.h:53
CbmGlobalTrackingTask::fPrimVertex
CbmVertex * fPrimVertex
Definition: CbmGlobalTrackingTask.h:56
CbmGlobalTrackingTask::fGlobalTracks
TClonesArray * fGlobalTracks
Definition: CbmGlobalTrackingTask.h:54
CbmStsTrack
Definition: CbmStsTrack.h:37
CbmKFTrack
Definition: CbmKFTrack.h:21
CbmGlobalTrackingTask::Exec
void Exec(Option_t *opt)
Definition: CbmGlobalTrackingTask.cxx:120
CbmGlobalTrackingTofGeometry::SetPdg
void SetPdg(Int_t v)
Definition: CbmGlobalTrackingTof.h:55
CbmGlobalTrackingTask::fStsTracks
TClonesArray * fStsTracks
Definition: CbmGlobalTrackingTask.h:51
CbmGlobalTrackingTask
Definition: CbmGlobalTrackingTask.h:25