]>
Commit | Line | Data |
---|---|---|
0b777a09 | 1 | #ifndef ALIHADCORRTASK_H |
2 | #define ALIHADCORRTASK_H | |
3 | ||
4 | // $Id$ | |
5 | ||
6 | class TClonesArray; | |
7 | class AliESDtrackCuts; | |
8 | class TList; | |
9 | class TH1; | |
10 | class TH2; | |
11 | ||
12 | #include "AliAnalysisTaskSE.h" | |
13 | ||
14 | class AliHadCorrTask : public AliAnalysisTaskSE { | |
15 | public: | |
16 | AliHadCorrTask(const char *name); | |
17 | AliHadCorrTask(); | |
18 | virtual ~AliHadCorrTask(); | |
19 | ||
20 | void UserCreateOutputObjects(); | |
21 | void UserExec(Option_t *option); | |
22 | void Terminate(Option_t *option); | |
23 | ||
24 | void SetClusName(const char *n) { fCaloName = n; } | |
25 | void SetHadCorr(Double_t c) { fHadCorr = c; } | |
26 | void SetTracksName(const char *n) { fTracksName = n; } | |
27 | void SetMinPt(Double_t min) { fMinPt = min; } | |
28 | void SetOutClusName(const char *n) { fOutCaloName = n;} | |
29 | ||
30 | protected: | |
31 | void FindJets(TObjArray *tracks, TObjArray *clus, Int_t algo, Double_t radius, Float_t fCent); | |
32 | ||
33 | TString fTracksName; // name of track collection | |
34 | TString fCaloName; // name of calo cluster collection | |
35 | ||
36 | Double_t fHadCorr; // hadronic correction | |
37 | TClonesArray *fJets; //!jet collection | |
38 | Double_t fMinPt; | |
39 | TString fOutCaloName; //name of output clusters | |
40 | TClonesArray *fOutClusters; //output cluster collection | |
41 | ||
4711c521 | 42 | TH2 *fHistMatchEtaPhi[4][5]; |
0b777a09 | 43 | TList *fOutputList; |
44 | TH2 *fHistMatchEvsP[4]; | |
45 | TH2 *fHistMatchdRvsEP[4]; | |
46 | TH1 *fHistNclusvsCent; | |
47 | TH1 *fHistNclusMatchvsCent; | |
48 | TH1 *fHistEbefore; | |
49 | TH1 *fHistEafter; | |
4711c521 | 50 | TH2 *fHistEoPCent; |
51 | TH2 *fHistNMatchCent; | |
0b777a09 | 52 | |
53 | private: | |
54 | AliHadCorrTask(const AliHadCorrTask&); // not implemented | |
55 | AliHadCorrTask &operator=(const AliHadCorrTask&); // not implemented | |
56 | ||
57 | ClassDef(AliHadCorrTask, 1) | |
58 | }; | |
59 | #endif |