AliPhysics  4ef2867 (4ef2867)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalDiJetAna.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALDIJETANA_H
2 #define ALIANALYSISTASKEMCALDIJETANA_H
3 
4 class TH1;
5 class TH2;
6 class TH3;
7 class TH3F;
8 class THnSparse;
9 class TClonesArray;
10 class TArrayI;
11 class AliAnalysisManager;
12 class AliGenPythiaEventHeader;
13 
14 #include "AliJetContainer.h"
15 
17 
19  public:
21  AliAnalysisTaskEmcalDiJetAna(const char *name);
23 
25  void Terminate(Option_t *option);
26 
27  //Setters
29  void SetNKtBins(Int_t n) { fNKtBins = n; }
31  void SetNAjBins(Int_t n) { fNAjBins = n; }
32 
33  //Getters
35 
36  protected:
37  Bool_t Run() ;
38  void CorrelateJets(const Int_t type);
39  void CorrelateAllJets(const Int_t type);
40  void CorrelateTwoJets(const Int_t type);
41  void CorrelateLeadingSubleadingJets(const Int_t type);
42  AliEmcalJet *GetLeadingJet(const Int_t type);
45 
47  void FillDiJetHistos(const AliEmcalJet *jet1 = 0, const AliEmcalJet *jet2 = 0, const Int_t mode = 0);
48  void FillThreeJetHistos(const AliEmcalJet *jet1 = 0, const AliEmcalJet *jet2 = 0, const AliEmcalJet *jet3 = 0, const Int_t mode = 0);
50 
51  void FillMatchFullChargedHistos(Int_t cFull,Int_t cCharged);
52  Int_t MatchFullAndChargedJets(Int_t cFull, Int_t cCharged);
53 
54  private:
55  Bool_t fDoMatchFullCharged; // do full-charged matching histos
56  Int_t fNKtBins; // nbins on kT axis
57  Int_t fNDiJetEtaBins; // nbins on dijet eta axis
58  Int_t fNAjBins; // nbins on Aj axis
63 
64  THnSparse *fhnDiJetVarsFull;
65  THnSparse *fhnDiJetVarsCh;
68 
70 
73 
76 
79 
82 
85 
88 
89  ClassDef(AliAnalysisTaskEmcalDiJetAna, 11) // dijet analysis task
90 };
91 #endif
TH3F * fh3PtEtaPhiJetFull
cent vs rho scaled
TH3F * fh3PtAssoc1PtAssoc2DPhi23FuCh[4]
ptAssoc1 vs ptAssoc2 vs DPhi23 for 3-jet events
double Double_t
Definition: External.C:58
Definition: External.C:260
Definition: External.C:236
Definition: External.C:244
THnSparse * fhnMatchingFullCharged
sparse with di-jet properties (full-charged)
THnSparse * fhnDiJetVarsFull
pt,eta,phi of charged jets
void FillDiJetHistos(const AliEmcalJet *jet1=0, const AliEmcalJet *jet2=0, const Int_t mode=0)
AliEmcalJet * GetLeadingAssociatedJet(const Int_t type, AliEmcalJet *jetTrig)
Int_t MatchFullAndChargedJets(Int_t cFull, Int_t cCharged)
void CorrelateLeadingSubleadingJets(const Int_t type)
int Int_t
Definition: External.C:63
AliAnalysisTaskEmcalDiJetAna & operator=(const AliAnalysisTaskEmcalDiJetAna &)
TH3F * fh3PtEtaPhiJetCharged
pt,eta,phi of full jets
TH3F * fAjPtAssocCentFuCh[4]
Aj vs pT trigger assoc vs centrality.
void FillMatchFullChargedHistos(Int_t cFull, Int_t cCharged)
TH3F * fAjPtAssocCentCh[4]
default(V0A) vs ZNA centrality vs pT trigger assoc
TH3F * fh3PtTrigKt1Kt2FuCh
ptTrig vs kT1 vs kT2 for 3-jet events
Int_t mode
Definition: anaM.C:41
AliEmcalJet * GetLeadingJet(const Int_t type)
THnSparse * fhnDiJetVarsCh
sparse with di-jet properties (full-full)
AliEmcalJet * GetSecondLeadingAssociatedJet(const Int_t type, AliEmcalJet *jetTrig)
TH3F * fh3PtAssoc1PtAssoc2DPhi23Ch[4]
ptTrig vs DPhi12 vs DPhi13 for 3-jet events
TH3F * fCentCorrPtAssocFuCh[4]
default(V0A) vs ZNA centrality vs pT trigger assoc
THnSparse * fhnDiJetVarsFullCharged
sparse with di-jet properties (charged-charged)
Bool_t RetrieveEventObjects()
Retrieve common objects from event.
Definition: External.C:220
TH3F * fh3PtTrigKt1Kt2Ch
Aj vs pT trigger assoc vs centrality.
void FillThreeJetHistos(const AliEmcalJet *jet1=0, const AliEmcalJet *jet2=0, const AliEmcalJet *jet3=0, const Int_t mode=0)
TH3F * fh3DiJetKtNEFPtAssoc[4]
sparse comparing full with matched charged jet
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
TH3F * fCentCorrPtAssocCh[4]
dijet kt vs NEF vs pTassoc for 4 trigger intervals
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
TH3F * fh3PtTrigDPhi1DPhi2Ch
ptTrig vs kT1 vs kT2 for 3-jet events
Bool_t FillHistograms()
Function filling histograms.
TH2F * fh2CentRhoScaled
cent vs rho charged
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.
TH3F * fh3PtTrigDPhi1DPhi2FuCh
ptTrig vs DPhi12 vs DPhi13 for 3-jet events
Definition: External.C:196