AliPhysics  4e47bdd (4e47bdd)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalDijetImbalance.h
Go to the documentation of this file.
1 #ifndef AliAnalysisTaskEmcalDijetImbalance_H
2 #define AliAnalysisTaskEmcalDijetImbalance_H
3 
14 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
15  * See cxx source for full Copyright notice */
16 
17 #include "THistManager.h"
18 
19 #include "AliEventCuts.h"
21 
23  public:
24 
25  // Struct to store all relevant info of a di-jet pair
26  struct Dijet_t {
28  assJet(0), assJetPt(0), assJetPhi(0), assJetEta(0), isAccepted(kFALSE), deltaPhi(0), deltaEta(0), AJ(0), xJ(0), kTy(0) {}
29 
31 
36 
41 
43 
49 
51  assJet=0; assJetPt=0; assJetPhi=0; assJetEta=0; isAccepted=kFALSE; deltaPhi=0; deltaEta=0; AJ=0; xJ=0; kTy=0;}
52  };
53 
55  AliAnalysisTaskEmcalDijetImbalance(const char *name) ;
57 
59 
60  // Setters
62  void SetMaxPt(Double_t d) { fMaxPt = d; }
68  void SetDoGeometricalMatching(Bool_t b, Double_t r, Double_t trackThresh, Double_t clusThresh)
74 
75  protected:
76  void ExecOnce() ;
78  Bool_t Run() ;
80  void RunChanged(Int_t run) ;
81 
82  // Analysis and plotting functions
83  void GenerateHistoBins() ;
84  void AllocateJetHistograms() ;
89  void FindDijet(AliJetContainer* jetCont, Int_t leadingHadronCutBin);
90  void ComputeBackground(AliJetContainer* jetCont) ;
91  void DoMomentumBalance(TString histname) ;
92  void DoGeometricalMatching();
93  void FindMatchingDijet(AliJetContainer* jetCont) ;
94  void FillJetHistograms() ;
95  void FillDijetCandHistograms(TString histname);
96  void FillDijetImbalanceHistograms(TString histname) ;
97  void FillMomentumBalanceHistograms(TString histname, Double_t deltaPhi, Double_t trackPt, Double_t balancePt);
99 
100  // Utility functions
103  Double_t GetDeltaR(AliTLorentzVector* part, Double_t etaRef, Double_t phiRef);
104 
105  // Analysis parameters
115 
116  // Analysis configuration and plotting options
123 
124  // Plotting parameters
128 
129  // Event selection
130  AliEventCuts fEventCuts;
133 
134  // Trigger parameters
136 
137  // Hist manager
139 
140  private:
143 
147 };
148 #endif
double Double_t
Definition: External.C:58
Bool_t fUseManualEventCuts
Flag to use manual event cuts.
Bool_t fPlotJetHistograms
Set whether to enable inclusive jet histograms.
TList * fEventCutList
! Output list for event cut histograms
Double_t fDijetLeadingHadronPt
leading hadron pT threshold for leading jet in dijet
void SetDoGeometricalMatching(Bool_t b, Double_t r, Double_t trackThresh, Double_t clusThresh)
Double_t fMinAssJetPt
subleading jet min pT in a dijet pair, for it to be accepted
Bool_t fDoMomentumBalance
Set whether to enable momentum balance study.
void FindDijet(AliJetContainer *jetCont, Int_t leadingHadronCutBin)
Bool_t fPlotDijetImbalanceHistograms
Set whether to enable dijet imbalance histograms.
AliEventCuts fEventCuts
event selection utility
Dijet_t fDijet
! dijet candidate (per event)
int Int_t
Definition: External.C:63
Double_t GetDeltaR(AliEmcalJet *jet1, AliEmcalJet *jet2)
float Float_t
Definition: External.C:68
Double_t fClusterConstituentThreshold
constituent threshold for matching study
Double_t fDeltaPhiMin
minimum delta phi between di-jets
Double_t fMBUpscaleFactor
! inverse of downscale factor, for MB trigger
Bool_t fComputeBackground
Set whether to enable study of background.
Double_t GetJetPt(AliJetContainer *jetCont, AliEmcalJet *jet)
void FillMomentumBalanceHistograms(TString histname, Double_t deltaPhi, Double_t trackPt, Double_t balancePt)
AliAnalysisTaskEmcalDijetImbalance & operator=(const AliAnalysisTaskEmcalDijetImbalance &)
Base task in the EMCAL jet framework.
Bool_t fDoGeometricalMatching
Set whether to enable constituent study with geometrical matching.
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:44
Container class for histograms.
Definition: THistManager.h:99
Dijet_t fMatchingDijet
! low-threshold matching dijet, for matching study
bool Bool_t
Definition: External.C:53
Double_t fTrackConstituentThreshold
constituent threshold for matching study
Double_t fMinTrigJetPt
leading jet min pT in a dijet pair
Container for jet within the EMCAL jet framework.
Bool_t fPlotDijetCandHistograms
Set whether to enable dijet pair histograms.