1 #ifndef AliAnalysisTaskEmcalDijetImbalance_H 2 #define AliAnalysisTaskEmcalDijetImbalance_H 17 class AliPHOSGeometry;
21 #include "AliEventCuts.h" 53 void clear() {leadingHadronCutType=0; trigJet=0; trigJetPt=0; trigJetPhi=0; trigJetEta=0;
54 assJet=0; assJetPt=0; assJetPhi=0; assJetEta=0; isAccepted=kFALSE; deltaPhi=0; deltaEta=0; AJ=0; xJ=0; kTy=0;}
69 const char *nclusters =
"usedefault",
70 const Double_t deltaPhiMin = 2*TMath::Pi()/3,
71 const Bool_t doGeomMatching = kFALSE,
72 const Double_t minTrPtHardCore = 3.0,
73 const Double_t minClPtHardCore = 3.0,
75 const Bool_t includePHOS = kTRUE,
81 void LoadBackgroundScalingHistogram(
const char* path =
"alien:///alice/cern.ch/user/j/jmulliga/scaleFactorEMCalLHC15o.root",
const char* name1 =
"hEtaPhiSFCorrection",
const char* name2 =
"hEtaPhiJetPtCorrection");
Double_t fMatchingJetR
jet R for matching study
void AllocateDijetImbalanceHistograms()
AliEmcalJet * GetLeadingJet(AliJetContainer *jetCont)
void SetDeltaPhiCut(Double_t d)
Int_t fNPhiBins
Number of phi bins in DCal region (for background/correction)
Int_t fNPtHistBins
! number of variable pt bins
void UserCreateOutputObjects()
Float_t fMaxPt
Histogram pt limit.
Double_t * fPtHistBins
! variable pt bins
Bool_t fUseManualEventCuts
Flag to use manual event cuts.
Bool_t fUseAliEventCuts
Flag to use AliEventCuts (otherwise AliAnalysisTaskEmcal will be used)
Int_t fNEtaBins
Number of eta bins in DCal region (for background/correction)
void AllocateGeometricalMatchingHistograms()
void DoMomentumBalance(TString histname)
void SetNPhiBins(Int_t n)
void SetPlotDijetImbalanceHistograms(Bool_t b)
TList * fEventCutList
! Output list for event cut histograms
TH2D * fGapJetScalingWeights
Histogram storing eta-phi weights scaling jets near the gap region.
Double_t fDijetLeadingHadronPt
leading hadron pT threshold for leading jet in dijet
void FillDijetCandHistograms(AliJetContainer *jets)
void SetComputeMBDownscaling(Bool_t b)
void AllocateBackgroundHistograms()
AliAnalysisTaskEmcalDijetImbalance()
void SetDoGeometricalMatching(Bool_t b, Double_t r, Double_t trackThresh, Double_t clusThresh)
Bool_t fkEMCEJE
! flag telling whether the event is "triggered" or not in "simulation"
Double_t fMedianEMCal
! median patch energy in EMCal, per event
Double_t fMedianDCal
! median patch energy in DCal, per event
void SetMaxPt(Double_t d)
void FillGeometricalMatchingHistograms()
Double_t fMinAssJetPt
subleading jet min pT in a dijet pair, for it to be accepted
TString part
use mixed event to constrain combinatorial background
void SetLoadBackgroundScalingWeights(Bool_t b)
QA Class for EMCal Embedding Framework.
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)
void SetMinTrigJetPt(Double_t p)
void FillDijetImbalanceHistograms(AliJetContainer *jets)
Double_t GetJetType(AliEmcalJet *jet)
Double_t GetDeltaR(AliEmcalJet *jet1, AliEmcalJet *jet2)
Double_t fClusterConstituentThreshold
constituent threshold for matching study
void DoTriggerSimulation()
Bool_t fDoTriggerSimulation
Set whether to perform a simple trigger simulation.
Int_t leadingHadronCutType
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.
void LoadBackgroundScalingHistogram(const char *path="alien:///alice/cern.ch/user/j/jmulliga/scaleFactorEMCalLHC15o.root", const char *name1="hEtaPhiSFCorrection", const char *name2="hEtaPhiJetPtCorrection")
Double_t GetJetPt(AliJetContainer *jetCont, AliEmcalJet *jet)
void AllocateDijetCandHistograms()
void RunChanged(Int_t run)
void FillMomentumBalanceHistograms(TString histname, Double_t deltaPhi, Double_t trackPt, Double_t balancePt)
void SetDijetLeadingHadronPt(Double_t pt)
THistManager fHistManager
Histogram manager.
void SetNEtaBins(Int_t n)
void SetPlotDijetCandHistograms(Bool_t b)
Bool_t fComputeMBDownscaling
Set whether to compute and plot MB downscaling factors.
void FillTriggerSimHistograms()
AliAnalysisTaskEmcalDijetImbalance & operator=(const AliAnalysisTaskEmcalDijetImbalance &)
void SetUseManualEvtCuts(Bool_t input)
Bool_t fLoadBackgroundScalingWeights
Flag to load eta-phi weights for full-jet background scale factors.
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.
Container class for histograms.
void SetDoMomentumBalance(Bool_t b)
Dijet_t fMatchingDijet
! low-threshold matching dijet, for matching study
TH2D * fBackgroundScalingWeights
Histogram storing eta-phi weights for full-jet background scale factors.
void SetMinAssJetPt(Double_t p)
AliEmcalEmbeddingQA fEmbeddingQA
! QA hists for embedding (will only be added if embedding)
Double_t fTrackConstituentThreshold
constituent threshold for matching study
Double_t * fCentHistBins
! cent bins
static AliAnalysisTaskEmcalDijetImbalance * AddTaskEmcalDijetImbalance(const char *ntracks="usedefault", const char *nclusters="usedefault", const Double_t deltaPhiMin=2 *TMath::Pi()/3, const Bool_t doGeomMatching=kFALSE, const Double_t minTrPtHardCore=3.0, const Double_t minClPtHardCore=3.0, const Double_t jetR=0.2, const Bool_t includePHOS=kTRUE, const Double_t minTrPt=0.15, const Double_t minClPt=0.30, const char *suffix="")
void FindMatchingDijet(AliJetContainer *jetCont)
Int_t fNCentHistBins
! number of cent bins
Double_t fMinTrigJetPt
leading jet min pT in a dijet pair
void SetUseAliEventCuts(Bool_t b)
void SetComputeBackground(Bool_t b)
virtual ~AliAnalysisTaskEmcalDijetImbalance()
Container for jet within the EMCAL jet framework.
void DoGeometricalMatching()
Bool_t fPlotDijetCandHistograms
Set whether to enable dijet pair histograms.
void AllocateMomentumBalanceHistograms()
void AllocateTriggerSimHistograms()
void SetDoTriggerSimulation(Bool_t b)