21 fhEtaPhiConeCentre(0),
28 SetMakeGeneralHistograms(kTRUE);
40 fhEtaPhiConeCentre(0),
67 fNInOut =
new TH1F(
"fNInOut",
"In = 1 out = 2 of cone", 2, 0.5, 2.5);
70 fhMasspTInCone =
new TH2F(
"fhMasspTInCone",
"In Cone mass and pT distribution; M ; #it{p}_{T};", nBinsM, minM, maxM, nBinspT, minpT, maxpT);
73 fhNConstituents =
new TH1F(
"fhNConstituents",
"Constituents of the random cone jet; #it{N}_{constituents}", 21, 0., 20.);
76 fhDeltapT =
new TH1F(
"fhDeltapT",
"#Delta #it{p}_{T}; #it{p}_{T} - A#rho", nBinspT, minpT-20, maxpT-20);
84 fPhi =
fRnd.Uniform(0, TMath::TwoPi());
117 if(rhopar) rhovalue = rhopar->GetVal();
TH2F * fhMasspTInCone
!<! Count track in and out of cone per event
Bool_t FillHistograms()
Function filling histograms.
TH1F * fhNConstituents
!<! Mass and pT of particles in the cone
TH1F * fhDeltapT
!<! Number of constituents in random cone
AliAnalysisTaskBackFlucRandomCone()
void UserCreateOutputObjects()
Container for particles within the EMCAL framework.
TString fRhoName
Name of rho run previously in the event.
AliParticleContainer * GetParticleContainer(Int_t i=0) const
Get particle container attached to this task.
TRandom3 fRnd
Random number generator.
AliRhoParameter * GetRhoFromEvent(const char *name)
void Terminate(Option_t *option)
Double_t fPhi
!<! Eta coordinate of the cone centre
virtual AliVParticle * GetParticle(Int_t i=-1) const
virtual ~AliAnalysisTaskBackFlucRandomCone()
TH1F * fNInOut
!<! Cone centre
Study background fluctuations with random cones.
Double_t fRCone
!<! Phi coordinate of the cone centre
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.
Double_t fEtaMax
Maximum eta limit (consider the R!), default 0.5.
AliEmcalList * fOutput
!output list
Double_t fEtaMin
Minimum eta limit (consider the R!), default -0.5.
void SetMakeGeneralHistograms(Bool_t g)
Base task in the EMCAL jet framework.
TH2F * fhEtaPhiConeCentre
void UserCreateOutputObjects()
Main initialization function on the worker.
Int_t GetNAcceptedParticles() const