1 #ifndef AliTRDtrackingAnalysis_H
2 #define AliTRDtrackingAnalysis_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 ////////////////////////////////////////////////////////////////////
11 // Fills a set of QA histograms to check the correctness of //
12 // the TRD reconstruction //
14 ////////////////////////////////////////////////////////////////////
30 class AliTRDtrackingAnalysis : public TObject {
34 AliTRDtrackingAnalysis();
35 AliTRDtrackingAnalysis(const AliTRDtrackingAnalysis &t);
36 virtual ~AliTRDtrackingAnalysis() {}
37 AliTRDtrackingAnalysis &operator=(const AliTRDtrackingAnalysis &/*t*/) { return *this; }
39 void SetPath(const char *path) {fPath = path;}
41 void DrawResolutionPt(int startEvent, int stopEvent);
42 void DrawRecPointResolution(int startEvent, int stopEvent);
43 //void DrawTrackletResolution(int startEvent, int stopEvent);
48 void LoadRecPointsFile();
50 Int_t GetReference(Int_t label);
51 Int_t GetMCPosition(Int_t label, Double_t x, Double_t &Y, Double_t &Z, Double_t &tgphi);
53 Int_t GetPhiBin(Double_t phi) const;
54 Double_t GetPhi(Int_t bin) const;
56 const char *fPath; // Path to data directory
58 TObjArray *fRefTPC; // TPC track references
59 TObjArray *fRefTRD; // TRD track references
60 Int_t fLabels[100000]; // Track lables
62 AliRunLoader *fLoader; // AliRunLoader instance
63 TTree *fEsdTree; // ESD tree
64 AliESDEvent *fESD; // ESD
66 AliTRDtracker *fTracker; // TRD tracker instance
69 TH1D *fDeltaPt; // Histogram for the pt resolution
70 TH1D *fDeltaZ; // Histogram for the cluster z deviation
71 TH1D *fDeltaX; // Histogram for the cluster x deviation
72 TH1D *fDeltaYPos; // Histogram for the cluster y deviation (positives)
73 TH1D *fDeltaYNeg; // Histogram for the cluster y deviation (negatives)
75 TH1D *fNPoints; // Histogram for the number of points
76 TH1D *fNGood; // Histogram for the number of good points
78 TH2D *fRefSpace; // Histogram for reference space
80 AliTRDgeometry *fGeo; // TRD geometry
82 TH1D *fClY2; // Histogram for cluster studies Y
83 TH1D *fClY3; // Histogram for cluster studies Y
85 TH1D *fTgPhi; // Histogram for tangens(phi)
86 TH1D *fClYTgPhi[12]; // Histogram cluster Y tangen phi
88 TGraphErrors *fGrResTgPhi; // Graph resolution tangens phi
89 TGraphErrors *fGrMeanTgPhi; // Graph mean tangens phi
94 TH1D *fTrklY; // QA histogram
95 TH1D *fTrklZ; // QA histogram
97 TH1D *fClZ; // QA histogram
98 TH2D *fClZZ; // QA histogram
99 TH2D *fClYY; // QA histogram
100 TH2D *fClYX; // QA histogram
101 TH1D *fNLabels; // QA histogram
102 TH1D *fTestBits; // QA histogram
103 TH1D *fRefDx; // QA histogram
105 TH2D *fClZXref; // QA histogram
106 TH2D *fClZXcl; // QA histogram
108 TH2D *fClPos; // QA histogram
110 ClassDef(AliTRDtrackingAnalysis,1) // qa for Digits