2 #include <TLorentzVector.h>
6 #include <AliAnalysisManager.h>
18 fMinFractionShared(-1),
27 fhFractionSharedpT(0),
33 SetMakeGeneralHistograms(kTRUE);
35 DefineOutput(2, TTree::Class());
41 fMinFractionShared(-1),
50 fhFractionSharedpT(0),
58 AliInfo(
"standard constructor");
59 DefineOutput(2, TTree::Class());
85 const Int_t nBinsPt = 40;
86 const Int_t nBinsFraction = 101;
87 const Int_t nBinsfineM = 200;
88 const Int_t nBinsfinePt = 200;
97 fNumberOfJets =
new TH1F(
"fNumberOfJets",
"Number of Jets", 6, -0.5, 5.5);
100 fhFractionSharedpT =
new TH2F(
"fhFractionSharedpT",
"Reco/particle shared #it{p}_{T} fraction;#it{p}_{T} (GeV/c); Fraction shared #it{p}_{T}", nBinsPt, minPt, maxPt, nBinsFraction, minFraction, maxFraction);
103 fNAccJets =
new TH1F(
"fNAccJets",
"fNAccJets;N/ev",11,-0.5, 9.5);
107 Int_t nBins[dim] = {nBinsfineM, nBinsfineM, nBinsfinePt, nBinsfinePt, 40};
108 Double_t xmin[dim] = {minM, minM, minPt, minPt, 0.};
109 Double_t xmax[dim] = {maxM, maxM, maxPt, maxPt, 2.};
110 TString hsptitle =
"Mass-pT response; #it{M}_{part}; #it{M}_{det}; #it{p}_{T,part}; #it{p}_{T,det}; #it{N}_{const}^{det}/#it{N}_{const}^{part}";
111 fhResponse =
new THnSparseF(
"hResponse", hsptitle.Data(), dim, nBins, xmin, xmax);
144 AliError(Form(
"Container position %d (area based) not found",
fContainer));
152 jetCont->ResetCurrentID();
155 UInt_t rejectionReason = 0;
163 fJetDet ->SetPtEtaPhiM(0,0,0,0);
AliEmcalJet * GetTaggedJet() const
AliEmcalJet * ClosestJet() const
AliJetContainer * GetJetContainer(Int_t i=0) const
Int_t GetTagStatus() const
virtual Bool_t AcceptJet(Int_t i, UInt_t &rejectionReason) const
UShort_t GetNumberOfConstituents() const
AliEmcalJet * GetNextJet()
AliEmcalList * fOutput
!output list
void SetMakeGeneralHistograms(Bool_t g)
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
Double_t GetFractionSharedPt(const AliEmcalJet *jet, AliParticleContainer *cont2=0x0) const
void UserCreateOutputObjects()
Container for jet within the EMCAL jet framework.