CbmRoot
CbmFitGlobalTracksQa.h
Go to the documentation of this file.
1 //-------------------------------------------------------------------------
2 //----- CbmFitGlobalTracksQa -----
3 //----- Created 07/03/06 by D. Kresan -----
4 //-------------------------------------------------------------------------
5 #ifndef CBMFITGLOBALTRACKSQA
6 #define CBMFITGLOBALTRACKSQA
7 
8 #include "FairTask.h"
9 
10 class TClonesArray;
11 class TH1F;
12 
13 
14 class CbmFitGlobalTracksQa : public FairTask {
15 
16 private:
17  TClonesArray* fArrayStsPoint; // STS points
18  TClonesArray* fArrayTrdPoint; // TRD points
19  TClonesArray* fArrayStsHit; // STS hits
20  TClonesArray* fArrayTrdHit; // TRD hits
21  TClonesArray* fArrayStsTrack; // STS tracks
22  TClonesArray* fArrayTrdTrack; // TRD tracks
23  TClonesArray* fArrayGlbTrack; // Global tracks
24  Int_t fEvents; // Number of events processed
25  TH1F* fh_first_resx; // X resolution at first plane
26  TH1F* fh_first_resy; // Y resolution at first plane
27  TH1F* fh_first_restx; // Tx resolution at first plane
28  TH1F* fh_first_resty; // Ty resolution at first plane
29  TH1F* fh_first_resz; // Z resolution at first plane
30  TH1F* fh_last_resx; // X resolution at last plane
31  TH1F* fh_last_resy; // Y resolution at last plane
32  TH1F* fh_last_restx; // Tx resolution at last plane
33  TH1F* fh_last_resty; // Ty resolution at last plane
34  TH1F* fh_last_resz; // Z resolution at last plane
35  TH1F* fh_first_pullx; // X pull at first plane
36  TH1F* fh_first_pully; // Y pull at first plane
37  TH1F* fh_first_pulltx; // Tx pull at first plane
38  TH1F* fh_first_pullty; // Ty pull at first plane
39  TH1F* fh_last_pullx; // X pull at last plane
40  TH1F* fh_last_pully; // Y pull at last plane
41  TH1F* fh_last_pulltx; // Tx pull at last plane
42  TH1F* fh_last_pullty; // Ty pull at last plane
43  TH1F* fh_chi2ndf; // Chi2/NDF of fitted tracks
44 
45  void CreateHistogramms();
46 
49 
50 public:
52  CbmFitGlobalTracksQa(const char* name, Int_t verbose = 1);
53  virtual ~CbmFitGlobalTracksQa();
54 
55  virtual InitStatus Init();
56  virtual void Exec(Option_t* option = "");
57  virtual void Finish();
58 
59  void WriteHistogramms();
60 
62 };
63 
64 
65 #endif
CbmFitGlobalTracksQa::fArrayTrdPoint
TClonesArray * fArrayTrdPoint
Definition: CbmFitGlobalTracksQa.h:18
CbmFitGlobalTracksQa
Definition: CbmFitGlobalTracksQa.h:14
CbmFitGlobalTracksQa::fh_last_resty
TH1F * fh_last_resty
Definition: CbmFitGlobalTracksQa.h:33
CbmFitGlobalTracksQa::fh_first_resz
TH1F * fh_first_resz
Definition: CbmFitGlobalTracksQa.h:29
CbmFitGlobalTracksQa::fArrayGlbTrack
TClonesArray * fArrayGlbTrack
Definition: CbmFitGlobalTracksQa.h:23
CbmFitGlobalTracksQa::Exec
virtual void Exec(Option_t *option="")
Definition: CbmFitGlobalTracksQa.cxx:167
CbmFitGlobalTracksQa::fh_first_resy
TH1F * fh_first_resy
Definition: CbmFitGlobalTracksQa.h:26
CbmFitGlobalTracksQa::fh_first_restx
TH1F * fh_first_restx
Definition: CbmFitGlobalTracksQa.h:27
CbmFitGlobalTracksQa::~CbmFitGlobalTracksQa
virtual ~CbmFitGlobalTracksQa()
Definition: CbmFitGlobalTracksQa.cxx:106
CbmFitGlobalTracksQa::fh_last_resz
TH1F * fh_last_resz
Definition: CbmFitGlobalTracksQa.h:34
CbmFitGlobalTracksQa::CbmFitGlobalTracksQa
CbmFitGlobalTracksQa()
Definition: CbmFitGlobalTracksQa.cxx:36
CbmFitGlobalTracksQa::fh_last_pulltx
TH1F * fh_last_pulltx
Definition: CbmFitGlobalTracksQa.h:41
CbmFitGlobalTracksQa::fArrayStsHit
TClonesArray * fArrayStsHit
Definition: CbmFitGlobalTracksQa.h:19
CbmFitGlobalTracksQa::fh_last_restx
TH1F * fh_last_restx
Definition: CbmFitGlobalTracksQa.h:32
CbmFitGlobalTracksQa::CreateHistogramms
void CreateHistogramms()
Definition: CbmFitGlobalTracksQa.cxx:389
CbmFitGlobalTracksQa::ClassDef
ClassDef(CbmFitGlobalTracksQa, 1)
CbmFitGlobalTracksQa::fh_first_pulltx
TH1F * fh_first_pulltx
Definition: CbmFitGlobalTracksQa.h:37
CbmFitGlobalTracksQa::operator=
CbmFitGlobalTracksQa & operator=(const CbmFitGlobalTracksQa &)
CbmFitGlobalTracksQa::fh_first_resty
TH1F * fh_first_resty
Definition: CbmFitGlobalTracksQa.h:28
CbmFitGlobalTracksQa::fh_first_pully
TH1F * fh_first_pully
Definition: CbmFitGlobalTracksQa.h:36
CbmFitGlobalTracksQa::WriteHistogramms
void WriteHistogramms()
Definition: CbmFitGlobalTracksQa.cxx:444
CbmFitGlobalTracksQa::fh_last_pullx
TH1F * fh_last_pullx
Definition: CbmFitGlobalTracksQa.h:39
CbmFitGlobalTracksQa::fh_last_resy
TH1F * fh_last_resy
Definition: CbmFitGlobalTracksQa.h:31
CbmFitGlobalTracksQa::fh_first_pullx
TH1F * fh_first_pullx
Definition: CbmFitGlobalTracksQa.h:35
CbmFitGlobalTracksQa::Init
virtual InitStatus Init()
Definition: CbmFitGlobalTracksQa.cxx:113
CbmFitGlobalTracksQa::fEvents
Int_t fEvents
Definition: CbmFitGlobalTracksQa.h:24
CbmFitGlobalTracksQa::fh_last_resx
TH1F * fh_last_resx
Definition: CbmFitGlobalTracksQa.h:30
CbmFitGlobalTracksQa::fArrayTrdTrack
TClonesArray * fArrayTrdTrack
Definition: CbmFitGlobalTracksQa.h:22
CbmFitGlobalTracksQa::CbmFitGlobalTracksQa
CbmFitGlobalTracksQa(const CbmFitGlobalTracksQa &)
CbmFitGlobalTracksQa::fh_last_pully
TH1F * fh_last_pully
Definition: CbmFitGlobalTracksQa.h:40
CbmFitGlobalTracksQa::Finish
virtual void Finish()
Definition: CbmFitGlobalTracksQa.cxx:381
CbmFitGlobalTracksQa::fArrayStsPoint
TClonesArray * fArrayStsPoint
Definition: CbmFitGlobalTracksQa.h:17
CbmFitGlobalTracksQa::fh_chi2ndf
TH1F * fh_chi2ndf
Definition: CbmFitGlobalTracksQa.h:43
CbmFitGlobalTracksQa::fArrayStsTrack
TClonesArray * fArrayStsTrack
Definition: CbmFitGlobalTracksQa.h:21
CbmFitGlobalTracksQa::fh_first_resx
TH1F * fh_first_resx
Definition: CbmFitGlobalTracksQa.h:25
CbmFitGlobalTracksQa::fh_first_pullty
TH1F * fh_first_pullty
Definition: CbmFitGlobalTracksQa.h:38
CbmFitGlobalTracksQa::fArrayTrdHit
TClonesArray * fArrayTrdHit
Definition: CbmFitGlobalTracksQa.h:20
CbmFitGlobalTracksQa::fh_last_pullty
TH1F * fh_last_pullty
Definition: CbmFitGlobalTracksQa.h:42