f3050824 |
1 | #ifndef __AliAnaESDSpectraQA_hh__ |
2 | #define __AliAnaESDSpectraQA_hh__ |
3 | |
4 | #include "AliAnalysisTask.h" |
5 | |
6 | class TH1F; |
7 | class TH2F; |
8 | class TH3F; |
9 | class TList; |
10 | class TDirectory; |
11 | class AliESDEvent; |
12 | class AliESDtrackCuts; |
13 | |
14 | class AliAnaESDSpectraQA: public AliAnalysisTask { |
15 | |
16 | public: |
17 | AliAnaESDSpectraQA(); |
18 | AliAnaESDSpectraQA(const char *name); |
19 | ~AliAnaESDSpectraQA() {;} |
20 | |
21 | virtual void ConnectInputData(Option_t *); |
22 | virtual void CreateOutputObjects(); |
23 | virtual void Exec(Option_t *option); |
24 | |
25 | |
26 | |
27 | private: |
28 | |
29 | void InitHistPointers(); |
30 | AliAnaESDSpectraQA(const AliAnaESDSpectraQA&); |
31 | AliAnaESDSpectraQA& operator=(const AliAnaESDSpectraQA&); |
32 | |
33 | |
34 | AliESDEvent *fESD; //! ESD object |
35 | AliESDtrackCuts *fTrackCuts; |
36 | |
37 | enum {kNegA,kPosA,kNegC,kPosC}; |
38 | struct hists { |
39 | TH3F *PhiPtNPointTPC; |
40 | TH3F *PhiPtNPointITS; |
41 | TH3F *PhiPtChisqC; |
42 | TH3F *PhiPtChisqTPC; |
43 | TH3F *PhiPtDCAR; |
44 | TH3F *PhiPtDCAZ; |
45 | TH3F *PhiPtSigmaToVertex; |
46 | }; |
47 | |
48 | hists fHists[4]; //! Internal pointers to hists, do not stream |
49 | |
50 | TH1F *fNEvent; |
51 | TH1F *fPtAll; |
52 | TH1F *fPtSel; |
53 | |
54 | static const Int_t fgkNPtBins; |
55 | static const Float_t fgkPtMin; |
56 | static const Float_t fgkPtMax; |
57 | static const Int_t fgkNPhiBins; |
58 | |
59 | TList *fHistList; |
60 | |
61 | ClassDef(AliAnaESDSpectraQA,1) |
62 | |
63 | }; |
64 | #endif |