Charged jets (pPb): Improved trackcut analysis
[u/mrichter/AliRoot.git] / PWGJE / EMCALJetTasks / UserTasks / AliAnalysisTaskEmcalJetHadCorQA.h
CommitLineData
6d9675ae 1#ifndef AliAnalysisTaskEmcalJetHadCorQA_h
2#define AliAnalysisTaskEmcalJetHadCorQA_h
3
4class TH1F;
5class TH2F;
6class TH3F;
7class THnSparse;
8
9239b066 9#include "AliAnalysisTaskEmcalJet.h"
6d9675ae 10
9239b066 11class AliAnalysisTaskEmcalJetHadCorQA : public AliAnalysisTaskEmcalJet {
6d9675ae 12 public:
13 AliAnalysisTaskEmcalJetHadCorQA();
14 AliAnalysisTaskEmcalJetHadCorQA(const char *name);
15 virtual ~AliAnalysisTaskEmcalJetHadCorQA() {}
16
17
18 virtual void UserCreateOutputObjects();
19 void SetCalo2Name(const char *n) {fCalo2Name = n;}
ba03cebd 20 void SetMCName(const char *n) {fMCParticlesName = n;}
6d9675ae 21
22 protected:
23 Bool_t Run();
24 void ExecOnce();
25 virtual Int_t GetCentBin(Double_t cent) const;
26 Float_t RelativePhi(Double_t mphi,Double_t vphi) const;
27
28 private:
fb99636c 29 TString fCalo2Name; // calo cluster name
30 TClonesArray *fCaloClusters2; //!
31 TString fMCParticlesName; // mc particles name
32 TClonesArray *fMCParticles; //!
33 TH2F *fHistRhovsCent; //!rho vs cent
34 TH2F *fHistNjetvsCent; //!number of jets versus Centrality
35 TH2F *fHistNEFvsPt[3]; //!
36 TH2F *fHistNTMatchvsPt[3]; //!
37 TH2F *fHistNCMatchvsPt[3]; //!
38 TH2F *fHistHadCorvsPt[3]; //!
39 TH2F *fHistNconvsPt[3]; //!
40 TH2F *fHistNtvsPt[3]; //!
41 TH2F *fHistNcvsPt[3]; //!
42 TH2F *fHistNEFvsPtBias[3]; //!
43 TH2F *fHistNTMatchvsPtBias[3]; //!
44 TH2F *fHistNCMatchvsPtBias[3]; //!
45 TH2F *fHistHadCorvsPtBias[3]; //!
46 TH2F *fHistNconvsPtBias[3]; //!
47 TH2F *fHistNtvsPtBias[3]; //!
48 TH2F *fHistNcvsPtBias[3]; //!
49 TH3F *fHistNTMatchvsPtvsNtack0; //!
6d9675ae 50
51
52 AliAnalysisTaskEmcalJetHadCorQA(const AliAnalysisTaskEmcalJetHadCorQA&); // not implemented
53 AliAnalysisTaskEmcalJetHadCorQA& operator=(const AliAnalysisTaskEmcalJetHadCorQA&); // not implemented
54
ba03cebd 55 ClassDef(AliAnalysisTaskEmcalJetHadCorQA, 2); // Hadronic Correction for jet task
6d9675ae 56};
57#endif