]>
Commit | Line | Data |
---|---|---|
06f2c0e2 | 1 | |
2 | #ifndef AliComparisonDraw_h | |
3 | #define AliComparisonDraw_h | |
4 | ||
06f2c0e2 | 5 | |
21486ec3 | 6 | class TFile; |
7 | class AliMCInfo; | |
8 | class AliESDRecInfo; | |
06f2c0e2 | 9 | class AliESDEvent; |
10 | class AliESD; | |
11 | class AliESDfriend; | |
12 | class TH1I; | |
2f396646 | 13 | class TH3F; |
14 | class TH3; | |
15 | class TProfile; | |
16 | class TProfile2D; | |
17 | class TGraph2D; | |
18 | class TGraph; | |
06f2c0e2 | 19 | |
028f957f | 20 | #include "TNamed.h" |
21 | ||
22 | class AliComparisonDraw : public TNamed { | |
06f2c0e2 | 23 | public : |
24 | AliComparisonDraw(); | |
cd875161 | 25 | // |
26 | AliComparisonDraw(const AliComparisonDraw& recinfo); | |
27 | AliComparisonDraw& operator=(const AliComparisonDraw& info); | |
28 | ||
08b29244 | 29 | ~AliComparisonDraw(); |
cd875161 | 30 | virtual Bool_t IsFolder() const {return kTRUE;} |
2f396646 | 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 | ||
06f2c0e2 | 44 | //TH1F GetPtResol(Float_t pt0, Float_t pt1); |
2f396646 | 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 | ||
21486ec3 | 50 | protected: |
2f396646 | 51 | // |
52 | // efficiency | |
53 | // | |
21486ec3 | 54 | static Bool_t fgBDraw; //option draw temporary results |
028f957f | 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 | |
2f396646 | 58 | // |
028f957f | 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) | |
2f396646 | 62 | // |
028f957f | 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 | |
2f396646 | 66 | // |
67 | // dEdx resolution | |
68 | // | |
028f957f | 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 | |
2f396646 | 72 | // |
028f957f | 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 | |
2f396646 | 76 | |
77 | ||
78 | // | |
79 | // | |
028f957f | 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 | |
2f396646 | 84 | // |
85 | // Resolution constrained param | |
86 | // | |
028f957f | 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 | |
2f396646 | 93 | // |
94 | // DCA resolution | |
95 | // | |
028f957f | 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 | |
2f396646 | 100 | |
06f2c0e2 | 101 | protected: |
028f957f | 102 | ClassDef(AliComparisonDraw,2); |
06f2c0e2 | 103 | }; |
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ||
112 | ||
113 | ||
114 | ||
115 | ||
116 | ||
117 | ||
118 | ||
119 | #endif |