]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG1/AliComparisonDraw.h
Use new include to the splitted header files (Marian)
[u/mrichter/AliRoot.git] / PWG1 / AliComparisonDraw.h
CommitLineData
06f2c0e2 1
2#ifndef AliComparisonDraw_h
3#define AliComparisonDraw_h
4
5#include <iostream>
6#include <fstream>
7using namespace std;
8#include <TSelector.h>
9
10#include <TROOT.h>
11#include <TChain.h>
12#include <TFile.h>
76472f75 13#include "AliMCInfo.h"
2f396646 14#include "AliESDRecInfo.h"
15#include "AliESDRecV0Info.h"
16#include "AliESDRecKinkInfo.h"
06f2c0e2 17
18class AliESDEvent;
19class AliESD;
20class AliESDfriend;
21class TH1I;
2f396646 22class TH3F;
23class TH3;
24class TProfile;
25class TProfile2D;
26class TGraph2D;
27class TGraph;
06f2c0e2 28
06f2c0e2 29class AliComparisonDraw : public TObject {
30public :
31 AliComparisonDraw();
32 virtual Bool_t IsFolder(){return kTRUE;}
2f396646 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
06f2c0e2 46 //TH1F GetPtResol(Float_t pt0, Float_t pt1);
2f396646 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
06f2c0e2 52public:
2f396646 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 //
06f2c0e2 82 TH2F* fPtResolLPT; // pt resolution - low pt
83 TH2F* fPtResolHPT; // pt resolution - high pt
2f396646 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
06f2c0e2 103protected:
104 ClassDef(AliComparisonDraw,1);
105};
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121#endif