add delta-pT jet embedding task
[u/mrichter/AliRoot.git] / PWGJE / EMCALJetTasks / UserTasks / AliAnalysisTaskDeltaPtJEmb.h
CommitLineData
3a02e8fb 1#ifndef ALIANALYSISTASKDELTAPTJEMB_H
2#define ALIANALYSISTASKDELTAPTJEMB_H
3
4// $Id$
5
6class TClonesArray;
7class TString;
8class TH1;
9class TH2;
10class TH3;
11class AliJetContainer;
12class AliParticleContainer;
13class AliClusterContainer;
14
15#include "AliAnalysisTaskEmcalJet.h"
16
17class AliAnalysisTaskDeltaPtJEmb : public AliAnalysisTaskEmcalJet {
18 public:
19
20 AliAnalysisTaskDeltaPtJEmb();
21 AliAnalysisTaskDeltaPtJEmb(const char *name);
22 virtual ~AliAnalysisTaskDeltaPtJEmb() {;}
23
24 void UserCreateOutputObjects();
25
26 void SetMinFractionShared(Double_t f) { fMinFractionShared = f ; }
27
28
29 protected:
30 void ExecOnce() ;
31 Bool_t FillHistograms() ;
32
33 AliJetContainer *fJetsCont; //!Jets
34 AliParticleContainer *fTracksCont; //!Tracks
35 AliClusterContainer *fCaloClustersCont; //!Clusters
36
37
38 Double_t fMinFractionShared; // only fill histos for jets if shared fraction larger than X
39
40 // Jet embedding
41 TH3 **fHistEmbJetsPtArea; //!Pt vs. area of embedded jets
42 TH3 **fHistEmbJetsCorrPtArea; //!Pt-rho*A vs. area of embedded jets
43 TH2 **fHistEmbPartPtvsJetPt; //!MC jet pt total jet pt
44 TH2 **fHistEmbPartPtvsJetCorrPt; //!MC jet pt total jet pt - rho*A
45 TH2 **fHistJetPtvsJetCorrPt; //!Pt vs jet pt - rho*A
46 TH1 **fHistDistLeadPart2JetAxis; //!Distance between leading particle and jet axis
47 TH2 **fHistEmbBkgArea; //!Pt(embjet) - Pt(embtrack) vs. area of embedded jets
48 TH2 **fHistRhoVSEmbBkg; //!Area(embjet) * rho vs. Pt(embjet) - Pt(embtrack)
49 TH2 **fHistDeltaPtEmbArea; //!deltaPt = Pt(embjet) - Area(embjet) * rho - Pt(embtrack) vs. Area(embjet)
50 TH2 **fHistDeltaPtEmbvsEP; //!deltaPt = Pt(embjet) - Area(embjet) * rho - Pt(embtrack) vs. event plane
51 TH2 **fHistDeltaPtEmbPtProbe; //!deltaPt = Pt(embjet) - Area(embjet) * rho - Pt(embtrack) vs. Pt(probe)
52 TH2 *fHistEmbJetsPhiEta; //!Phi-Eta distribution of embedded jets
53 TH2 *fHistLeadPartPhiEta; //!Phi-Eta distribution of the leading particle of embedded jets
54
55 private:
56 AliAnalysisTaskDeltaPtJEmb(const AliAnalysisTaskDeltaPtJEmb&); // not implemented
57 AliAnalysisTaskDeltaPtJEmb &operator=(const AliAnalysisTaskDeltaPtJEmb&); // not implemented
58
59 ClassDef(AliAnalysisTaskDeltaPtJEmb, 1) // deltaPt jet embedding analysis task
60};
61#endif