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