First attempt to use AliAnalisysTask (Marian)
[u/mrichter/AliRoot.git] / PWG1 / AliComparisonDraw.h
CommitLineData
06f2c0e2 1
2#ifndef AliComparisonDraw_h
3#define AliComparisonDraw_h
4
06f2c0e2 5
21486ec3 6class TFile;
7class AliMCInfo;
8class AliESDRecInfo;
06f2c0e2 9class AliESDEvent;
10class AliESD;
11class AliESDfriend;
12class TH1I;
2f396646 13class TH3F;
14class TH3;
15class TProfile;
16class TProfile2D;
17class TGraph2D;
18class TGraph;
06f2c0e2 19
028f957f 20#include "TNamed.h"
21
22class AliComparisonDraw : public TNamed {
06f2c0e2 23public :
24 AliComparisonDraw();
08b29244 25 ~AliComparisonDraw();
06f2c0e2 26 virtual Bool_t IsFolder(){return kTRUE;}
2f396646 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
06f2c0e2 40 //TH1F GetPtResol(Float_t pt0, Float_t pt1);
2f396646 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
21486ec3 46protected:
2f396646 47 //
48 // efficiency
49 //
21486ec3 50 static Bool_t fgBDraw; //option draw temporary results
028f957f 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
2f396646 54 //
028f957f 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)
2f396646 58 //
028f957f 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
2f396646 62 //
63 // dEdx resolution
64 //
028f957f 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
2f396646 68 //
028f957f 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
2f396646 72
73
74 //
75 //
028f957f 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
2f396646 80 //
81 // Resolution constrained param
82 //
028f957f 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
2f396646 89 //
90 // DCA resolution
91 //
028f957f 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
2f396646 96
06f2c0e2 97protected:
028f957f 98 ClassDef(AliComparisonDraw,2);
06f2c0e2 99};
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115#endif