CbmRoot
Loading...
Searching...
No Matches
CbmFitGlobalTracksQa.h
Go to the documentation of this file.
1/* Copyright (C) 2006-2012 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Dmytro Kresan, Denis Bertini [committer] */
4
5//-------------------------------------------------------------------------
6//----- CbmFitGlobalTracksQa -----
7//----- Created 07/03/06 by D. Kresan -----
8//-------------------------------------------------------------------------
9#ifndef CBMFITGLOBALTRACKSQA
10#define CBMFITGLOBALTRACKSQA
11
12#include "FairTask.h"
13
14class TClonesArray;
15class TH1F;
16
17
18class CbmFitGlobalTracksQa : public FairTask {
19
20 private:
21 TClonesArray* fArrayStsPoint; // STS points
22 TClonesArray* fArrayTrdPoint; // TRD points
23 TClonesArray* fArrayStsHit; // STS hits
24 TClonesArray* fArrayTrdHit; // TRD hits
25 TClonesArray* fArrayStsTrack; // STS tracks
26 TClonesArray* fArrayTrdTrack; // TRD tracks
27 TClonesArray* fArrayGlbTrack; // Global tracks
28 Int_t fEvents; // Number of events processed
29 TH1F* fh_first_resx; // X resolution at first plane
30 TH1F* fh_first_resy; // Y resolution at first plane
31 TH1F* fh_first_restx; // Tx resolution at first plane
32 TH1F* fh_first_resty; // Ty resolution at first plane
33 TH1F* fh_first_resz; // Z resolution at first plane
34 TH1F* fh_last_resx; // X resolution at last plane
35 TH1F* fh_last_resy; // Y resolution at last plane
36 TH1F* fh_last_restx; // Tx resolution at last plane
37 TH1F* fh_last_resty; // Ty resolution at last plane
38 TH1F* fh_last_resz; // Z resolution at last plane
39 TH1F* fh_first_pullx; // X pull at first plane
40 TH1F* fh_first_pully; // Y pull at first plane
41 TH1F* fh_first_pulltx; // Tx pull at first plane
42 TH1F* fh_first_pullty; // Ty pull at first plane
43 TH1F* fh_last_pullx; // X pull at last plane
44 TH1F* fh_last_pully; // Y pull at last plane
45 TH1F* fh_last_pulltx; // Tx pull at last plane
46 TH1F* fh_last_pullty; // Ty pull at last plane
47 TH1F* fh_chi2ndf; // Chi2/NDF of fitted tracks
48
49 void CreateHistogramms();
50
53
54 public:
56 CbmFitGlobalTracksQa(const char* name, Int_t verbose = 1);
57 virtual ~CbmFitGlobalTracksQa();
58
59 virtual InitStatus Init();
60 virtual void Exec(Option_t* option = "");
61 virtual void Finish();
62
63 void WriteHistogramms();
64
66};
67
68
69#endif
ClassDef(CbmFitGlobalTracksQa, 1)
CbmFitGlobalTracksQa & operator=(const CbmFitGlobalTracksQa &)
CbmFitGlobalTracksQa(const CbmFitGlobalTracksQa &)
virtual InitStatus Init()
virtual void Exec(Option_t *option="")