]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDtrackingAnalysis.h
Clean up database files
[u/mrichter/AliRoot.git] / TRD / AliTRDtrackingAnalysis.h
CommitLineData
50f3bbf4 1
2
3#ifndef AliTRDtrackingAnalysis_H
4#define AliTRDtrackingAnalysis_H
5
6#include "TObject.h"
7
8class TH1D;
9class TH2D;
10class TTree;
11class TObjArray;
12class TGraphErrors;
13
14class AliRunLoader;
15class AliTRDgeometry;
16class AliESD;
17class AliTRDcluster;
18class AliTRDtracker;
19
20class AliTRDtrackingAnalysis : public TObject {
21
22 const char *fPath;
23
24 TObjArray *fRefTPC;
25 TObjArray *fRefTRD;
26 Int_t fLabels[100000];
27
28 AliRunLoader *fLoader;
29 TTree *fEsdTree;
30 AliESD *fESD;
31
32 AliTRDtracker *fTracker;
33
34 // histograms
35 TH1D *fDeltaPt;
36 TH1D *fDeltaZ;
37 TH1D *fDeltaX;
38 TH1D *fDeltaYPos;
39 TH1D *fDeltaYNeg;
40
41 TH1D *fNPoints;
42 TH1D *fNGood;
43
44 TH2D *fRefSpace;
45
46 AliTRDgeometry *fGeo;
47
48 TH1D *fClY2;
49 TH1D *fClY3;
50
51 TH1D *fTgPhi;
52 TH1D *fClYTgPhi[12];
53
54 TGraphErrors *fGrResTgPhi;
55 TGraphErrors *fGrMeanTgPhi;
56
57
58 //TH1D *fPullY2;
59 //TH1D *fPullY3;
60
61 TH1D *fTrklY;
62 TH1D *fTrklZ;
63
64 TH1D *fClZ;
65 TH2D *fClZZ;
66 TH2D *fClYY;
67 TH2D *fClYX;
68 TH1D *fNLabels;
69 TH1D *fBits;
70 TH1D *fRefDx;
71
72 TH2D *fClZXref;
73 TH2D *fClZXcl;
74
75 TH2D *fClPos;
76
77 void CheckFiles();
78 void LoadRecPointsFile();
79 void LoadRefs();
80 Int_t GetReference(Int_t label);
81 Int_t GetMCPosition(Int_t label, Double_t x, Double_t &Y, Double_t &Z, Double_t &tgphi);
82
83 Int_t GetPhiBin(Double_t phi);
84 Double_t GetPhi(Int_t bin);
85
86 public:
87
88 AliTRDtrackingAnalysis();
89 virtual ~AliTRDtrackingAnalysis() {}
90
91 void SetPath(const char *path) {fPath = path;}
92
93 void DrawResolutionPt(int startEvent, int stopEvent);
94 void DrawRecPointResolution(int startEvent, int stopEvent);
95 //void DrawTrackletResolution(int startEvent, int stopEvent);
96
97 ClassDef(AliTRDtrackingAnalysis,1) // qa for Digits
98};
99
100#endif
101
102