17 #ifndef ALIANALYSISTASKJETSHAPEBASE_H
18 #define ALIANALYSISTASKJETSHAPEBASE_H
TString fBranchJDetName
name of the detector level jet branch in the TTree
TTree * fTreeEmb
! tree with the TLorentzVector of the jet detector and particle level
TH3F ** fh3PtTrueDeltaMLeadPt
! true jet pT vs (Msub - Mtrue) vs LeadPt for matched jets
Bool_t fSmallSyst
flag for the axes ranges in pPb
Bool_t fUseSumw2
activate sumw2 for output histograms
void SetRemoveOverlapTrackJet(Bool_t b, Double_t r)
THnSparse * fhnDeltaMassAndBkgInfo
! DeltaM, DeltapT bkg-unsubtracted M and pT, rho and rhom
Int_t fThisEntry
current entry in the embedded TTree
void SetJetContainerBase(Int_t c)
TH3F * fhJetSubMatchEtaPhiPt
! eta, phi, pt distribution of jet subtracted and matched
void SetCreateTree(Bool_t b)
void SetMinFractionShared(Double_t f)
TH3F ** fh3MSubPtTrueLeadPt
! subtracted jet mass vs true jet pT vs LeadPt for matched jets for matched jets
TH2F * fhJetEtaPhiOvl
! eta-phi distribution of the selected signal jets
Int_t fContainerOverlap
jets (jetO) with a pT cut selection to reject overlapping embedded single track (used only in single ...
virtual ~AliAnalysisTaskJetShapeBase()
TLorentzVector * fVecD
! vector with detector level jet
Int_t fMaxLabelEmb
max label of embedded particles
AliAnalysisTaskJetShapeBase & operator=(const AliAnalysisTaskJetShapeBase &)
void SetTreeFromFile(TString filenameM, TString treename)
void Terminate(Option_t *option)
void SetUseSumw2(Bool_t b)
AliAnalysisTaskJetShapeBase()
Double_t fRadius
Radius that define overlap.
TLorentzVector * fJet1Vec
jet1(AA) vector
Int_t MatchEmbeddedConstituentWithParticleLevel()
TString fBranchJParName
name of the detector level jet branch in the TTree
ResponseReference fResponseReference
true axis of response matrix
void SetNamesForTree(TString path, TString treename, TString branchnameD, TString branchnameP)
TH3F ** fh3MSubPtRawDRMatch
! subtracted jet mass vs subtracted jet pT vs distance to leading Pb-Pb jet
void SetJetContainerNoEmb(Int_t c)
THnSparse ** fhnMassResponse
! Msub vs Mtrue vs PtCorr vs PtTrue vs DR
Double_t fMinFractionShared
only fill histos for jets if shared fraction larger than X
TH1F * fhNJetsSelEv
! number of selected signal jets per event
Bool_t fOverlap
activate the check on overlap between single particle embedded and jetO (jet with a pT of at least 5 ...
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 ** fh3MTruePtTrueLeadPt
! true jet mass vs true jet pT vs LeadPt for matched jets for matched jets
void SetSmallSystRanges(Bool_t small=kTRUE)
JetMassVarType fJetMassVarType
observable to use
TH2F ** fh2MSubMatch
! subtracted jet mass vs match index (0: no match; 1:match)
THnSparse * fhnResolution
! Contains mass and pT resolution
Int_t fMatch
1: matched to MC jet; 0: no match
void SetJetMassVarType(JetMassVarType t)
TTree * fTreeJetBkg
! tree with jet and bkg variables
TH2F ** fh2MSubPtRawAll
! subtracted jet mass vs subtracted jet pT
void SetJetContainerOverlap(Int_t c)
Int_t fMaxTreeEntries
number of entries in the TTree
Int_t fMinLabelEmb
min label of embedded particles
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
AliVParticle * GetEmbeddedConstituent(AliEmcalJet *jet)
Int_t fNConst
N constituents in jet1.
TH2F * fhRjetTrvspTj
! distance in R between each jetO and embedded single track (those below fRadius are rejected) ...
void SetSingleTrackEmbedding(Bool_t b, Int_t min=99999, Int_t max=999999)
TString fPathTreeinputFile
path to the file where the external input Tree is (can be from alien)
Int_t fContainerSub
subtracted jets to be analyzed
Bool_t RetrieveEventObjects()
Retrieve common objects from event.
Bool_t fFromTree
Input embedding from tree.
TLorentzVector * fJetSubVec
subtracted AA jet vector
void SetResponseReference(ResponseReference r)
TLorentzVector * fJet2Vec
jet2(probe) vector
TLorentzVector * fVecP
! vector with particle level jet
Bool_t fCreateTree
create output tree
TString fTreeinputName
name of the external input Tree
Int_t fContainerNoEmb
subtracted jets from Pb-Pb only events
Bool_t fSingleTrackEmb
single track embedding
void UserCreateOutputObjects()
Background fluctuation studies: dMdpT spectrum for PYTHIA and single track embedding.
Container for jet within the EMCAL jet framework.
Int_t fContainerBase
jets to be analyzed
TH3F ** fh3PtTrueDeltaMRelLeadPt
! true jet pT vs (Msub - Mtrue)/Mtrue vs LeadPt for matched jets
void SetTree(TTree *tree)
TH1F * fhptjetSMinusSingleTrack
! pT distribution of jets subtracting the pT of the embedded track