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