]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG1/AliComparisonDraw.h
Moved from Reve to Alieve.
[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
06f2c0e2 20class AliComparisonDraw : public TObject {
21public :
22 AliComparisonDraw();
08b29244 23 ~AliComparisonDraw();
06f2c0e2 24 virtual Bool_t IsFolder(){return kTRUE;}
2f396646 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
06f2c0e2 38 //TH1F GetPtResol(Float_t pt0, Float_t pt1);
2f396646 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
21486ec3 44protected:
2f396646 45 //
46 // efficiency
47 //
21486ec3 48 static Bool_t fgBDraw; //option draw temporary results
2f396646 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 //
06f2c0e2 74 TH2F* fPtResolLPT; // pt resolution - low pt
75 TH2F* fPtResolHPT; // pt resolution - high pt
2f396646 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
06f2c0e2 95protected:
96 ClassDef(AliComparisonDraw,1);
97};
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113#endif