8 #include <TClonesArray.h> 12 #include "AliVTrack.h" 26 fHistRhoNearVsCent(0),
27 fHistDeltaRhoNearVsCent(0),
28 fHistRhoAwayVsCent(0),
29 fHistDeltaRhoAwayVsCent(0),
30 fHistRhoPerp1VsCent(0),
31 fHistDeltaRhoPerp1VsCent(0),
32 fHistRhoPerp2VsCent(0),
33 fHistDeltaRhoPerp2VsCent(0)
36 SetAttachToEvent(kFALSE);
46 fHistRhoNearVsCent(0),
47 fHistDeltaRhoNearVsCent(0),
48 fHistRhoAwayVsCent(0),
49 fHistDeltaRhoAwayVsCent(0),
50 fHistRhoPerp1VsCent(0),
51 fHistDeltaRhoPerp1VsCent(0),
52 fHistRhoPerp2VsCent(0),
53 fHistDeltaRhoPerp2VsCent(0)
97 if (!tracks)
return kFALSE;
103 AliVParticle *track = 0;
104 tracks->ResetCurrentID();
107 if (track->Pt() > maxTrackPt) {
108 maxTrackPt = track->Pt();
109 maxTrackPhi = track->Phi();
117 minPhi = maxTrackPhi + TMath::Pi() - TMath::Pi()/4 + jetRadius;
118 maxPhi = maxTrackPhi + TMath::Pi() + TMath::Pi()/4 + jetRadius;
119 if (maxPhi > TMath::Pi() * 2) {
120 minPhi -= TMath::Pi() * 2;
121 maxPhi -= TMath::Pi() * 2;
129 minPhi = maxTrackPhi + TMath::Pi()/2 - TMath::Pi()/4 + jetRadius;
130 maxPhi = maxTrackPhi + TMath::Pi()/2 + TMath::Pi()/4 + jetRadius;
131 if (maxPhi > TMath::Pi() * 2) {
132 minPhi -= TMath::Pi() * 2;
133 maxPhi -= TMath::Pi() * 2;
141 minPhi = maxTrackPhi - TMath::Pi()/2 - TMath::Pi()/4 + jetRadius;
142 maxPhi = maxTrackPhi - TMath::Pi()/2 + TMath::Pi()/4 + jetRadius;
143 if (maxPhi > TMath::Pi() * 2) {
144 minPhi -= TMath::Pi() * 2;
145 maxPhi -= TMath::Pi() * 2;
153 minPhi = maxTrackPhi - TMath::Pi()/4 + jetRadius;
154 maxPhi = maxTrackPhi + TMath::Pi()/4 + jetRadius;
155 if (maxPhi > TMath::Pi() * 2) {
156 minPhi -= TMath::Pi() * 2;
157 maxPhi -= TMath::Pi() * 2;
AliRhoParameter * fCompareRho
output scaled rho object
TH2F * fHistRhoNearVsCent
Rho in the perpendicular side 2.
TH2F * fHistRhoAwayVsCent
Rho - rho_near vs. centrality.
Bool_t FillHistograms()
Function filling histograms.
virtual AliVParticle * GetNextAcceptParticle()
TH2F * fHistDeltaRhoAwayVsCent
Away side rho vs. centrality.
TH2F * fHistDeltaRhoPerp2VsCent
Perpendicualr side 2 rho vs. centrality.
Double_t fRhoPerpSide2
Rho in the perpendicular side 1.
Double_t fMinBinPt
min pt in histograms
Double_t fRhoAwaySide
Rho in the near side.
Container for particles within the EMCAL framework.
Double_t GetJetRadius(Int_t i=0) const
AliParticleContainer * GetParticleContainer(Int_t i=0) const
Get particle container attached to this task.
Double_t fCent
!event centrality
TH2F * fHistDeltaRhoPerp1VsCent
Perpendicualr side 1 rho vs. centrality.
void SetJetPhiLimits(Float_t min, Float_t max, Int_t c=0)
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.
AliEmcalList * fOutput
!output list
Double_t fMaxBinPt
max pt in histograms
void UserCreateOutputObjects()
TH2F * fHistRhoPerp1VsCent
Rho - rho_away vs. centrality.
TH2F * fHistRhoPerp2VsCent
Rho - rho_perp1 vs. centrality.
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.
void UserCreateOutputObjects()
Main initialization function on the worker.
TH2F * fHistDeltaRhoNearVsCent
Near side rho vs. centrality.
AliRhoParameter * fOutRho
Int_t fNbins
no. of pt bins
Double_t fRhoPerpSide1
Rho in the away side.
void SetAttachToEvent(Bool_t a)