]>
Commit | Line | Data |
---|---|---|
d87c9c78 | 1 | #ifndef ALIANALYSISTASKCLQA_H |
2 | #define ALIANALYSISTASKCLQA_H | |
3 | ||
4 | // $Id: AliAnalysisTaskCLQA.h 58847 2012-09-30 18:11:49Z loizides $ | |
5 | ||
6 | class TClonesArray; | |
7 | class TString; | |
8 | class TH1F; | |
9 | class TH2F; | |
10 | class TH3F; | |
96a87a98 | 11 | class TNtuple; |
12 | class TNtupleD; | |
13 | class TTree; | |
d87c9c78 | 14 | |
15 | #include "AliAnalysisTaskEmcalJet.h" | |
16 | ||
96a87a98 | 17 | class AliNtupCumInfo; |
36adefe1 | 18 | class AliNtupZdcInfo; |
96a87a98 | 19 | |
d87c9c78 | 20 | class AliAnalysisTaskCLQA : public AliAnalysisTaskEmcalJet { |
21 | public: | |
22 | AliAnalysisTaskCLQA(); | |
23 | AliAnalysisTaskCLQA(const char *name); | |
24 | virtual ~AliAnalysisTaskCLQA(); | |
25 | ||
26 | void UserCreateOutputObjects(); | |
96a87a98 | 27 | void SetDoCumulants(Bool_t b) { fDoCumulants = b; } |
28 | void SetCumParams(Double_t Mmin, Double_t ptmin, Double_t ptmax, Double_t etamin, Double_t etamax); | |
d87c9c78 | 29 | |
30 | protected: | |
96a87a98 | 31 | Bool_t FillHistograms(); |
32 | Bool_t RetrieveEventObjects(); | |
33 | Bool_t Run(); | |
34 | void RunCumulants(Double_t Mmin, Double_t ptmin, Double_t ptmax, Double_t etamin, Double_t etamax); | |
d87c9c78 | 35 | |
96a87a98 | 36 | Bool_t fDoCumulants; // if true run cumulant analysis |
37 | Double_t fCumPtMin; // minimum pt for cumulants | |
38 | Double_t fCumPtMax; // maximum pt for cumulants | |
39 | Double_t fCumEtaMin; // minimum eta for cumulants | |
40 | Double_t fCumEtaMax; // maximum eta for cumulants | |
41 | Double_t fCumMmin; // minimum number of tracks for cumulants | |
42 | TTree *fNtupCum; //!ntuple for cumulant analysis | |
43 | AliNtupCumInfo *fNtupCumInfo; //!object holding cumulant results | |
36adefe1 | 44 | AliNtupZdcInfo *fNtupZdcInfo; //!object holding zdc info |
d87c9c78 | 45 | |
46 | private: | |
47 | AliAnalysisTaskCLQA(const AliAnalysisTaskCLQA&); // not implemented | |
48 | AliAnalysisTaskCLQA &operator=(const AliAnalysisTaskCLQA&); // not implemented | |
49 | ||
36adefe1 | 50 | ClassDef(AliAnalysisTaskCLQA, 2) // Constantin's Task |
d87c9c78 | 51 | }; |
96a87a98 | 52 | |
53 | class AliNtupCumInfo { | |
54 | public: | |
36adefe1 | 55 | AliNtupCumInfo() : fTrig(0), fRun(0), fVz(0), fIsFEC(0), fIsVSel(0), fIsP(0), |
56 | fMall(0), fMall2(0), fPtMaxall(0), fMPtall(0), | |
57 | fMPt2all(0), fMPtall2(0), fTSall(0), | |
58 | fM(0), fQ2abs(0), fQ4abs(0), fQ42re(0), fCos2phi(0), fSin2phi(0), | |
59 | fPtMax(0), fMPt(0), fMPt2(0), fTS(0), fMV0M(0), | |
60 | fCl1(0), fV0M(0), fV0MEq(0), fV0A(0), fV0AEq(0), fZNA(0) {;} | |
96a87a98 | 61 | virtual ~AliNtupCumInfo() {;} |
62 | ||
63 | public: | |
64 | UInt_t fTrig; // trigger selection | |
65 | Int_t fRun; // run number | |
66 | Double_t fVz; // vertex z | |
67 | Bool_t fIsFEC; // is first event in chunk | |
68 | Bool_t fIsVSel; // is vertex selected | |
69 | Bool_t fIsP; // is SPD pileup | |
70 | Int_t fMall; // multiplicity (tracks in eta range) | |
45009c60 | 71 | Int_t fMall2; // multiplicity (tracks above 1 GeV/c in eta range) |
96a87a98 | 72 | Double32_t fPtMaxall; //[0,0,16] maximum pT |
73 | Double32_t fMPtall; //[0,0,16] mean pT | |
74 | Double32_t fMPt2all; //[0,0,16] mean pT2 | |
45009c60 | 75 | Double32_t fMPtall2; //[0,0,16] mean pT truncated above 1 GeV/c |
96a87a98 | 76 | Double32_t fTSall; //[0,0,16] transverse sphericity |
77 | Int_t fM; // multiplicity (tracks in pT range) | |
36adefe1 | 78 | Double32_t fQ2abs; // Q2 absolute |
79 | Double32_t fQ4abs; // Q4 absolute | |
80 | Double32_t fQ42re; // Re(Q2Q*Q*) | |
81 | Double32_t fCos2phi; // Cos(2phi) | |
82 | Double32_t fSin2phi; // Sin(2phi) | |
96a87a98 | 83 | Double32_t fPtMax; //[0,0,16] maximum pT |
84 | Double32_t fMPt; //[0,0,16] mean pT | |
85 | Double32_t fMPt2; //[0,0,16] mean pT2 | |
86 | Double32_t fTS; //[0,0,16] transverse sphericity | |
87 | Double32_t fMV0M; // V0M amplitude | |
88 | Double32_t fCl1; //[0,0,16] class CL1 | |
89 | Double32_t fV0M; //[0,0,16] class V0M | |
90 | Double32_t fV0MEq; //[0,0,16] class V0M Eq | |
91 | Double32_t fV0A; //[0,0,16] class V0A | |
92 | Double32_t fV0AEq; //[0,0,16] class V0A Eq | |
93 | Double32_t fZNA; //[0,0,16] class ZNA | |
36adefe1 | 94 | |
95 | ClassDef(AliNtupCumInfo,3) // Cumulant storage class | |
96 | }; | |
97 | ||
98 | class AliNtupZdcInfo { | |
99 | public: | |
100 | AliNtupZdcInfo() : fZna0(0), fZna1(0), fZna2(0), fZna3(0), fZna4(0) {;} | |
101 | virtual ~AliNtupZdcInfo() {;} | |
102 | ||
103 | public: | |
104 | Double32_t fZna0; // ZNA energy 0 | |
105 | Double32_t fZna1; // ZNA energy 1 | |
106 | Double32_t fZna2; // ZNA energy 2 | |
107 | Double32_t fZna3; // ZNA energy 3 | |
108 | Double32_t fZna4; // ZNA energy 4 | |
109 | ||
110 | ClassDef(AliNtupZdcInfo,1) // ZDC storage class | |
96a87a98 | 111 | }; |
112 | ||
36adefe1 | 113 | |
d87c9c78 | 114 | #endif |