AliPhysics  d497afb (d497afb)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalJetv2QA.h
Go to the documentation of this file.
1 // Jet v2 task using QA method, based on jet sample task (S.Aiola).
2 //
3 // Authors: Jason Mueller (CERN summer student 2014) & Alice Ohlson
4 
5 #ifndef ALIANALYSISTASKEMCALJETVNQA_H
6 #define ALIANALYSISTASKEMCALJETVNQA_H
7 
8 // $Id$
9 
10 class TH1;
11 class TH2;
12 class TH3;
13 class AliJetContainer;
16 
18 
20  public:
21 
23  AliAnalysisTaskEmcalJetv2QA(const char *name);
25 
27  void Terminate(Option_t *option);
28 
29  void SetCentBins(Int_t n, Double_t* bins);
30  void SetJetPtBins(Int_t n, Double_t* bins);
31 
32  Double_t GetJetv2(){return fJetv2;};
33  void SetJetv2(Double_t jetv2){fJetv2 = jetv2;};
36 
37  protected:
40  Double_t* centBins; //[nCentBins1]
43  Double_t* jetPtBins; //[nJetPtBins1]
44  void ExecOnce();
46  Bool_t Run();
49 
50  // General histograms
51  TH1F *fHistTracksPt;
61  TH1F *fDPhiJet;
63  TH1F *fDPhiEP;
64  TH2D *hGx;
75  TH2D *hGy;
76  TH2D *hN;
85  TH2D *hAx;
87  TH2D *hQx;
88  TH2D *hQy;
89  TH1F *hEventData;
100 
104 
105 
106 
107  private:
108  AliAnalysisTaskEmcalJetv2QA(const AliAnalysisTaskEmcalJetv2QA&); // not implemented
110 
111  ClassDef(AliAnalysisTaskEmcalJetv2QA, 3) // jet v2QA analysis task
112 };
113 #endif
void ExecOnce()
Perform steps needed to initialize the analysis.
double Double_t
Definition: External.C:58
Definition: External.C:260
AliAnalysisTaskEmcalJetv2QA & operator=(const AliAnalysisTaskEmcalJetv2QA &)
Definition: External.C:236
void SetCentBins(Int_t n, Double_t *bins)
Definition: External.C:244
Bool_t Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
TH2F * fHistJetsPhiEta
Leading jet pt spectrum, background subtracted.
TH2F * fHistJetsPtArea
Phi-Eta distribution of jets.
Container for particles within the EMCAL framework.
int Int_t
Definition: External.C:63
TH3F * fHistPtDEtaDPhiTrackClus
Jet pt - bkg vs. area.
Definition: External.C:252
Definition: External.C:228
TH2F * fHistJetsPtLeadHad
Jet pt vs. area.
TH3F * fHistPtDEtaDPhiClusTrack
track pt, delta eta, delta phi to matched cluster
Definition: External.C:220
TH1F * fHistClustersPt
Track pt spectrum.
TH1F * fHistLeadingJetPt
Cluster pt spectrum.
Bool_t FillHistograms()
Function filling histograms.
AliParticleContainer * fTracksCont
Jets.
Base task in the EMCAL jet framework.
void SetJetPtBins(Int_t n, Double_t *bins)
TH1F * fDPhiJet
cluster pt, delta eta, delta phi to matched track
const char Option_t
Definition: External.C:48
TH1F * fHistLeadingJetPtCorr
Leading jet pt spectrum.
TH2F * fHistJetsCorrPtArea
Jet pt vs. leading hadron.
bool Bool_t
Definition: External.C:53
Container structure for EMCAL clusters.
AliClusterContainer * fCaloClustersCont
Tracks.
Container for jet within the EMCAL jet framework.
Definition: External.C:196