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