]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG1/AliComparisonDraw.h
Made valid calibrations w/range 0-999999 - note oversampling is 4
[u/mrichter/AliRoot.git] / PWG1 / AliComparisonDraw.h
1
2 #ifndef AliComparisonDraw_h
3 #define AliComparisonDraw_h
4
5
6 class TFile;
7 class AliMCInfo;
8 class AliESDRecInfo;
9 class AliESDEvent; 
10 class AliESD;
11 class AliESDfriend;
12 class TH1I;
13 class TH3F;
14 class TH3;
15 class TProfile;
16 class TProfile2D;
17 class TGraph2D;
18 class TGraph; 
19
20 class AliComparisonDraw : public TObject {
21 public :
22   AliComparisonDraw(); 
23   ~AliComparisonDraw();
24   virtual Bool_t    IsFolder(){return kTRUE;}
25   void      InitHisto();
26   void      Process(AliMCInfo* infoMC, AliESDRecInfo *infoRC);
27   
28   //
29   //
30   void      ProcessEff(AliMCInfo* infoMC, AliESDRecInfo *infoRC);
31   void      ProcessResolConstrained(AliMCInfo* infoMC, AliESDRecInfo *infoRC);
32   void      ProcessTPCdedx(AliMCInfo* infoMC, AliESDRecInfo *infoRC);
33   void      ProcessDCA(AliMCInfo* infoMC, AliESDRecInfo *infoRC);
34
35   void MakePlots();
36
37
38   //TH1F            GetPtResol(Float_t pt0, Float_t pt1);
39   static TH1F*       MakeResol(TH2F * his, Int_t integ, Bool_t type); 
40   static TGraph2D *  MakeStat2D(TH3 * his, Int_t delta0, Int_t delta1, Int_t type);
41   static TGraph *  MakeStat1D(TH3 * his, Int_t delta1, Int_t type);
42
43
44 protected:
45   //
46   // efficiency 
47   //
48   static    Bool_t    fgBDraw;         //option draw temporary results
49   TProfile* fEffTPCPt;      // TPC efficiency as function of Pt (tan+-1)
50   TProfile* fEffTPCPtMC;    // MC -TPC efficiency as function of Pt (tan+-1)
51   TProfile* fEffTPCPtF;     // efficiency for findable tracks
52   //
53   TProfile* fEffTPCTan;   // TPC efficiency as function of Tan (pt>0.15
54   TProfile* fEffTPCTanMC; // MC -TPC efficiency as function of Tan (pt>0.15)
55   TProfile* fEffTPCTanF;  // efficiency for findable tracks Tan (pt>0.15)
56   //
57   TProfile2D* fEffTPCPtTan;    // TPC efficiency as function of Pt and tan
58   TProfile2D* fEffTPCPtTanMC;  // MC -TPC efficiency as function of Pt and tan
59   TProfile2D* fEffTPCPtTanF;  // TPC efficiency as function of Pt and tan
60   //
61   // dEdx resolution
62   //
63   TH2F* fTPCSignalNormTan; // tpc signal normalized to the mean signal - MC
64   TH2F* fTPCSignalNormSPhi;   // tpc signal normalized to the mean signal - MC
65   TH2F* fTPCSignalNormTPhi;   // tpc signal normalized to the mean signal - MC
66   //
67   TH3F* fTPCSignalNormTanSPhi;   // tpc signal normalized to the mean signal - MC
68   TH3F* fTPCSignalNormTanTPhi;   // tpc signal normalized to the mean signal - MC
69   TH3F* fTPCSignalNormTanSPt;   // tpc signal normalized to the mean signal - MC
70
71
72   //
73   //
74   TH2F* fPtResolLPT;        // pt resolution - low pt
75   TH2F* fPtResolHPT;        // pt resolution - high pt 
76   TH2F* fPtPullLPT;         // pt resolution - low pt
77   TH2F* fPtPullHPT;         // pt resolution - high pt 
78   //
79   // Resolution constrained param
80   //
81   TH2F   *fCPhiResolTan;   // angular resolution -  constrained
82   TH2F   *fCTanResolTan;   // angular resolution -  constrained
83   TH2F   *fCPtResolTan;    // pt resolution      -  constrained
84   TH2F   *fCPhiPullTan;   // angular resolution -  constrained
85   TH2F   *fCTanPullTan;   // angular resolution -  constrained
86   TH2F   *fCPtPullTan;    // pt resolution      -  constrained
87   //
88   // DCA resolution
89   //
90   TH3F  *fD0TanSPtB1;   // distance to vertex y  
91   TH3F  *fD1TanSPtB1;   // distance to vertex z  
92   TH3F  *fD0TanSPtL1;   // distance to vertex y  
93   TH3F  *fD1TanSPtL1;   // distance to vertex z  
94
95 protected:
96    ClassDef(AliComparisonDraw,1);
97 };
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113 #endif