AliPhysics  6cf2591 (6cf2591)
 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 
20 
22  public:
23 
24  // Struct to store all relevant info of a di-jet pair
25  struct Dijet_t {
27  assJet(0), assJetPt(0), assJetPhi(0), assJetEta(0), isAccepted(kFALSE), deltaPhi(0), deltaEta(0), AJ(0), xJ(0), kTy(0) {}
28 
32 
37 
42 
44 
50 
52  assJet=0; assJetPt=0; assJetPhi=0; assJetEta=0; isAccepted=kFALSE; deltaPhi=0; deltaEta=0; AJ=0; xJ=0; kTy=0;}
53  };
54 
56  AliAnalysisTaskEmcalDijetImbalance(const char *name) ;
58 
60 
61  // Setters
63  void SetMaxPt(Double_t d) { fMaxPt = d; }
68  void SetDoGeometricalMatching(Bool_t b, Double_t r, Double_t trackThresh, Double_t clusThresh)
71  void SetMinTrigJetPt(Double_t* arr) { fMinTrigJetPt = arr; }
72  void SetMinAssJetPt(Double_t* arr) { fMinAssJetPt = arr; }
74 
75  protected:
76  void ExecOnce() ;
78  Bool_t Run() ;
79 
80  // Analysis and plotting functions
81  void GenerateHistoBins() ;
82  void AllocateJetHistograms() ;
87  void FindDijet(AliJetContainer* jetCont, Int_t leadingHadronCutBin, Int_t trigJetMinPtBin, Int_t assJetMinPtBin);
88  void DoMomentumBalance(TString histname) ;
89  void DoGeometricalMatching();
90  void FindMatchingDijet(AliJetContainer* jetCont, Int_t assJetMinPtBin);
91  void FillJetHistograms() ;
92  void FillDijetJetHistograms(TString histname, Int_t isAccepted, Int_t IsAssJet, Double_t jetPt, Double_t jetPhi,
93  Double_t jetEta, Int_t nTracksJet, Double_t jetArea);
94  void FillDijetImbalanceHistograms(TString histname) ;
95  void FillMomentumBalanceHistograms(TString histname, Double_t deltaPhi, Double_t trackPt, Double_t balancePt);
97 
98  // Utility functions
101 
102  // Analysis parameters
105  Double_t* fMinTrigJetPt; //[fNDijetPtThresholds] array of leading jet min pT's in a dijet pair
106  Double_t* fMinAssJetPt; //[fNDijetPtThresholds] array of subleading jet min pT's in a dijet pair
113 
114  // Analysis configuration and plotting options
120 
121  // Plotting parameters
125 
127 
128  private:
131 
135 };
136 #endif
double Double_t
Definition: External.C:58
void FindMatchingDijet(AliJetContainer *jetCont, Int_t assJetMinPtBin)
Bool_t fPlotJetHistograms
Set whether to enable inclusive jet 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.
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:43
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)