AliPhysics  6a0d37d (6a0d37d)
 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 
33 
38 
43 
45 
51 
53  assJet=0; assJetPt=0; assJetPhi=0; assJetEta=0; isAccepted=kFALSE; deltaPhi=0; deltaEta=0; AJ=0; xJ=0; kTy=0;}
54  };
55 
57  AliAnalysisTaskEmcalDijetImbalance(const char *name) ;
59 
61 
62  // Setters
64  void SetMaxPt(Double_t d) { fMaxPt = d; }
69  void SetDoGeometricalMatching(Bool_t b, Double_t r, Double_t trackThresh, Double_t clusThresh)
72  void SetMinTrigJetPt(Double_t* arr) { fMinTrigJetPt = arr; }
73  void SetMinAssJetPt(Double_t* arr) { fMinAssJetPt = arr; }
76 
77  protected:
78  void ExecOnce() ;
80  Bool_t Run() ;
82 
83  // Analysis and plotting functions
84  void GenerateHistoBins() ;
85  void AllocateJetHistograms() ;
90  void FindDijet(AliJetContainer* jetCont, Int_t leadingHadronCutBin, Int_t trigJetMinPtBin, Int_t assJetMinPtBin);
91  void DoMomentumBalance(TString histname) ;
92  void DoGeometricalMatching();
93  void FindMatchingDijet(AliJetContainer* jetCont, Int_t assJetMinPtBin);
94  void FillJetHistograms() ;
95  void FillDijetJetHistograms(TString histname, Int_t isAccepted, Int_t IsAssJet, Double_t jetPt, Double_t jetPhi,
96  Double_t jetEta, Int_t nTracksJet, Double_t jetArea);
97  void FillDijetImbalanceHistograms(TString histname) ;
98  void FillMomentumBalanceHistograms(TString histname, Double_t deltaPhi, Double_t trackPt, Double_t balancePt);
100 
101  // Utility functions
104 
105  // Analysis parameters
108  Double_t* fMinTrigJetPt; //[fNDijetPtThresholds] array of leading jet min pT's in a dijet pair
109  Double_t* fMinAssJetPt; //[fNDijetPtThresholds] array of subleading jet min pT's in a dijet pair
116 
117  // Analysis configuration and plotting options
123 
124  // Plotting parameters
128 
129  // Event selection
130  AliEventCuts fEventCuts;
133 
134  // Hist manager
136 
137  private:
140 
144 };
145 #endif
double Double_t
Definition: External.C:58
void FindMatchingDijet(AliJetContainer *jetCont, Int_t assJetMinPtBin)
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)
Bool_t fDoMomentumBalance
Set whether to enable momentum balance study.
Bool_t fPlotDijetImbalanceHistograms
Set whether to enable dijet imbalance histograms.
AliEventCuts fEventCuts
event selection utility
Int_t fNDijetPtThresholds
number of pT thresholds on leading/subleading jets
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 GetJetPt(AliJetContainer *jetCont, AliEmcalJet *jet)
void FillMomentumBalanceHistograms(TString histname, Double_t deltaPhi, Double_t trackPt, Double_t balancePt)
Bool_t fPlotDijetJetHistograms
Set whether to enable dijet pair histograms.
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
void FillDijetJetHistograms(TString histname, Int_t isAccepted, Int_t IsAssJet, Double_t jetPt, Double_t jetPhi, Double_t jetEta, Int_t nTracksJet, Double_t jetArea)
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
Container for jet within the EMCAL jet framework.
void FindDijet(AliJetContainer *jetCont, Int_t leadingHadronCutBin, Int_t trigJetMinPtBin, Int_t assJetMinPtBin)