,fh1VertexZ(0)
,fh1EvtMult(0)
,fh1EvtCent(0)
+ ,fh2TrackPtVsDCAXY(0)
+ ,fh2TrackPtVsDCAZ(0)
,fh1Xsec(0)
,fh1Trials(0)
,fh1PtHard(0)
,fQABckgHisto2Gen(0)
,fQABckgHisto3RecCuts(0)
,fQABckgHisto3Gen(0)
+ ,fQABckgHisto4RecCuts(0)
+ ,fQABckgHisto4Gen(0)
,fFFBckgHisto0RecCuts(0)
,fFFBckgHisto0RecLeading(0)
,fFFBckgHisto0Gen(0)
,fFFBckgHisto3RecLeading(0)
,fFFBckgHisto3Gen(0)
,fFFBckgHisto3GenLeading(0)
+ ,fFFBckgHisto4RecCuts(0)
+ ,fFFBckgHisto4RecLeading(0)
+ ,fFFBckgHisto4Gen(0)
+ ,fFFBckgHisto4GenLeading(0)
,fIJBckgHisto0RecCuts(0)
,fIJBckgHisto0RecLeading(0)
,fIJBckgHisto0Gen(0)
,fIJBckgHisto3RecLeading(0)
,fIJBckgHisto3Gen(0)
,fIJBckgHisto3GenLeading(0)
+ ,fIJBckgHisto4RecCuts(0)
+ ,fIJBckgHisto4RecLeading(0)
+ ,fIJBckgHisto4Gen(0)
+ ,fIJBckgHisto4GenLeading(0)
,fRandom(0)
,fBckgSubMethod(0)
{
fBckgType[1] = 0;
fBckgType[2] = 0;
fBckgType[3] = 0;
+ fBckgType[4] = 0;
}
//__________________________________________________________________________________________
,fh1VertexZ(0)
,fh1EvtMult(0)
,fh1EvtCent(0)
+ ,fh2TrackPtVsDCAXY(0)
+ ,fh2TrackPtVsDCAZ(0)
,fh1Xsec(0)
,fh1Trials(0)
,fh1PtHard(0)
,fQABckgHisto2Gen(0)
,fQABckgHisto3RecCuts(0)
,fQABckgHisto3Gen(0)
+ ,fQABckgHisto4RecCuts(0)
+ ,fQABckgHisto4Gen(0)
,fFFBckgHisto0RecCuts(0)
,fFFBckgHisto0RecLeading(0)
,fFFBckgHisto0Gen(0)
,fFFBckgHisto3RecLeading(0)
,fFFBckgHisto3Gen(0)
,fFFBckgHisto3GenLeading(0)
+ ,fFFBckgHisto4RecCuts(0)
+ ,fFFBckgHisto4RecLeading(0)
+ ,fFFBckgHisto4Gen(0)
+ ,fFFBckgHisto4GenLeading(0)
,fIJBckgHisto0RecCuts(0)
,fIJBckgHisto0RecLeading(0)
,fIJBckgHisto0Gen(0)
,fIJBckgHisto3RecLeading(0)
,fIJBckgHisto3Gen(0)
,fIJBckgHisto3GenLeading(0)
+ ,fIJBckgHisto4RecCuts(0)
+ ,fIJBckgHisto4RecLeading(0)
+ ,fIJBckgHisto4Gen(0)
+ ,fIJBckgHisto4GenLeading(0)
,fRandom(0)
,fBckgSubMethod(0)
{
fBckgType[1] = 0;
fBckgType[2] = 0;
fBckgType[3] = 0;
+ fBckgType[4] = 0;
DefineOutput(1,TList::Class());
,fh1VertexZ(copy.fh1VertexZ)
,fh1EvtMult(copy.fh1EvtMult)
,fh1EvtCent(copy.fh1EvtCent)
+ ,fh2TrackPtVsDCAXY(copy.fh2TrackPtVsDCAXY)
+ ,fh2TrackPtVsDCAZ(copy.fh2TrackPtVsDCAXY)
,fh1Xsec(copy.fh1Xsec)
,fh1Trials(copy.fh1Trials)
,fh1PtHard(copy.fh1PtHard)
,fQABckgHisto2Gen(copy.fQABckgHisto2Gen)
,fQABckgHisto3RecCuts(copy.fQABckgHisto3RecCuts)
,fQABckgHisto3Gen(copy.fQABckgHisto3Gen)
+ ,fQABckgHisto4RecCuts(copy.fQABckgHisto4RecCuts)
+ ,fQABckgHisto4Gen(copy.fQABckgHisto4Gen)
,fFFBckgHisto0RecCuts(copy.fFFBckgHisto0RecCuts)
,fFFBckgHisto0RecLeading(copy.fFFBckgHisto0RecLeading)
,fFFBckgHisto0Gen(copy.fFFBckgHisto0Gen)
,fFFBckgHisto3RecLeading(copy.fFFBckgHisto3RecLeading)
,fFFBckgHisto3Gen(copy.fFFBckgHisto3Gen)
,fFFBckgHisto3GenLeading(copy.fFFBckgHisto3GenLeading)
+ ,fFFBckgHisto4RecCuts(copy.fFFBckgHisto4RecCuts)
+ ,fFFBckgHisto4RecLeading(copy.fFFBckgHisto4RecLeading)
+ ,fFFBckgHisto4Gen(copy.fFFBckgHisto4Gen)
+ ,fFFBckgHisto4GenLeading(copy.fFFBckgHisto4GenLeading)
,fIJBckgHisto0RecCuts(copy.fIJBckgHisto0RecCuts)
,fIJBckgHisto0RecLeading(copy.fIJBckgHisto0RecLeading)
,fIJBckgHisto0Gen(copy.fIJBckgHisto0Gen)
,fIJBckgHisto3RecLeading(copy.fIJBckgHisto3RecLeading)
,fIJBckgHisto3Gen(copy.fIJBckgHisto3Gen)
,fIJBckgHisto3GenLeading(copy.fIJBckgHisto3GenLeading)
+ ,fIJBckgHisto4RecCuts(copy.fIJBckgHisto4RecCuts)
+ ,fIJBckgHisto4RecLeading(copy.fIJBckgHisto4RecLeading)
+ ,fIJBckgHisto4Gen(copy.fIJBckgHisto4Gen)
+ ,fIJBckgHisto4GenLeading(copy.fIJBckgHisto4GenLeading)
,fRandom(copy.fRandom)
,fBckgSubMethod(copy.fBckgSubMethod)
{
fBckgType[1] = copy.fBckgType[1];
fBckgType[2] = copy.fBckgType[2];
fBckgType[3] = copy.fBckgType[3];
+ fBckgType[4] = copy.fBckgType[4];
}
// _________________________________________________________________________________________________________________________________
fBckgType[1] = o.fBckgType[1];
fBckgType[2] = o.fBckgType[2];
fBckgType[3] = o.fBckgType[3];
+ fBckgType[4] = o.fBckgType[4];
fUseRecEffRecJetPtBins = o.fUseRecEffRecJetPtBins;
fUseResponseRecJetPtBins = o.fUseResponseRecJetPtBins;
fAvgTrials = o.fAvgTrials;
fh1VertexZ = o.fh1VertexZ;
fh1EvtMult = o.fh1EvtMult;
fh1EvtCent = o.fh1EvtCent;
+ fh2TrackPtVsDCAXY = o.fh2TrackPtVsDCAXY;
+ fh2TrackPtVsDCAZ = o.fh2TrackPtVsDCAXY;
fh1Xsec = o.fh1Xsec;
fh1Trials = o.fh1Trials;
fh1PtHard = o.fh1PtHard;
fQABckgHisto2Gen = o.fQABckgHisto2Gen;
fQABckgHisto3RecCuts = o.fQABckgHisto3RecCuts;
fQABckgHisto3Gen = o.fQABckgHisto3Gen;
+ fQABckgHisto4RecCuts = o.fQABckgHisto4RecCuts;
+ fQABckgHisto4Gen = o.fQABckgHisto4Gen;
fFFBckgHisto0RecCuts = o.fFFBckgHisto0RecCuts;
fFFBckgHisto0RecLeading = o.fFFBckgHisto0RecLeading;
fFFBckgHisto0Gen = o.fFFBckgHisto0Gen;
fFFBckgHisto3RecLeading = o.fFFBckgHisto3RecLeading;
fFFBckgHisto3Gen = o.fFFBckgHisto3Gen;
fFFBckgHisto3GenLeading = o.fFFBckgHisto3GenLeading;
+ fFFBckgHisto4RecCuts = o.fFFBckgHisto4RecCuts;
+ fFFBckgHisto4RecLeading = o.fFFBckgHisto4RecLeading;
+ fFFBckgHisto4Gen = o.fFFBckgHisto4Gen;
+ fFFBckgHisto4GenLeading = o.fFFBckgHisto4GenLeading;
fIJBckgHisto0RecCuts = o.fIJBckgHisto0RecCuts;
fIJBckgHisto0RecLeading = o.fIJBckgHisto0RecLeading;
fIJBckgHisto0Gen = o.fIJBckgHisto0Gen;
fIJBckgHisto2GenLeading = o.fIJBckgHisto2GenLeading;
fIJBckgHisto3Gen = o.fIJBckgHisto3Gen;
fIJBckgHisto3GenLeading = o.fIJBckgHisto3GenLeading;
+ fIJBckgHisto4Gen = o.fIJBckgHisto4Gen;
+ fIJBckgHisto4GenLeading = o.fIJBckgHisto4GenLeading;
fRandom = o.fRandom;
fBckgSubMethod = o.fBckgSubMethod;
}
if(fJetsGen) delete fJetsGen;
if(fJetsRecEff) delete fJetsRecEff;
if(fBckgMode &&
- (fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters ||
- fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading ||
- fBckgType[2]==kBckgClustersOutLeading || fBckgType[3]==kBckgClustersOutLeading)){
+ (fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters || fBckgType[4]==kBckgClusters ||
+ fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading || fBckgType[2]==kBckgClustersOutLeading ||
+ fBckgType[3]==kBckgClustersOutLeading || fBckgType[4]==kBckgClustersOutLeading)){
if(fBckgJetsRec) delete fBckgJetsRec;
if(fBckgJetsRecCuts) delete fBckgJetsRecCuts;
// Added for proper normalization of FF background estimation
// when zero track are found in the background region
- if(trackPt==-1.) return;
+ if((int)trackPt==-1) return;
if(norm)fh2TrackPt->Fill(jetPt,trackPt,1/norm);
else fh2TrackPt->Fill(jetPt,trackPt);
fh2EtaPhi = new TH2F(Form("fh2TrackQAEtaPhi%s", fNameQAT.Data()), Form("%s: #eta - #phi distribution", fNameQAT.Data()), fNBinsEta, fEtaMin, fEtaMax, fNBinsPhi, fPhiMin, fPhiMax);
fh2HighPtEtaPhi = new TH2F(Form("fh2TrackQAHighPtEtaPhi%s", fNameQAT.Data()), Form("%s: #eta - #phi distribution for high-p_{T}", fNameQAT.Data()), fNBinsEta, fEtaMin, fEtaMax, fNBinsPhi, fPhiMin, fPhiMax);
fh1Pt = new TH1F(Form("fh1TrackQAPt%s", fNameQAT.Data()), Form("%s: p_{T} distribution", fNameQAT.Data()), fNBinsPt, fPtMin, fPtMax);
- fh2PhiPt = new TH2F(Form("fh2TrackQAPhiPt%s", fNameQAT.Data()), Form("%s: #phi - #p_{T} distribution", fNameQAT.Data()), fNBinsPhi, fPhiMin, fPhiMax, fNBinsPt, fPtMin, fPtMax);
+ fh2PhiPt = new TH2F(Form("fh2TrackQAPhiPt%s", fNameQAT.Data()), Form("%s: #phi - p_{T} distribution", fNameQAT.Data()), fNBinsPhi, fPhiMin, fPhiMax, fNBinsPt, fPtMin, fPtMax);
AliAnalysisTaskFragmentationFunction::SetProperties(fh2EtaPhi, "#eta", "#phi");
AliAnalysisTaskFragmentationFunction::SetProperties(fh2HighPtEtaPhi, "#eta", "#phi");
// fJetsKine->SetOwner(kTRUE); // delete AOD jets using mom from Kine Tree via TList::Clear()
if(fBckgMode &&
- (fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters ||
- fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading ||
- fBckgType[2]==kBckgClustersOutLeading || fBckgType[3]==kBckgClustersOutLeading)){
+ (fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters || fBckgType[4]==kBckgClusters ||
+ fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading || fBckgType[2]==kBckgClustersOutLeading ||
+ fBckgType[3]==kBckgClustersOutLeading || fBckgType[4]==kBckgClustersOutLeading)){
fBckgJetsRec = new TList();
fBckgJetsRec->SetOwner(kFALSE);
fh1VertexZ = new TH1F("fh1VertexZ", "Vertex z distribution", 30, -15., 15.);
fh1EvtMult = new TH1F("fh1EvtMult","Event multiplicity, track pT cut > 150 MeV/c, |#eta| < 0.9",120,0.,12000.);
fh1EvtCent = new TH1F("fh1EvtCent","centrality",100,0.,100.);
+ fh2TrackPtVsDCAXY = new TH2F("fh2TrackPtVsDCAXY","",400,-0.02,0.02,100,0.,10.);
+ fh2TrackPtVsDCAZ = new TH2F("fh2TrackPtVsDCAZ","",100,-0.050,0.050,100,0.,10.);
+
fh1Xsec = new TProfile("fh1Xsec","xsec from pyxsec.root",1,0,1);
fh1Xsec->GetXaxis()->SetBinLabel(1,"<#sigma>");
fh1Trials = new TH1F("fh1Trials","trials from pyxsec.root",1,0,1);
// Background
if(fBckgMode) {
- if(fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters ||
- fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading ||
- fBckgType[2]==kBckgClustersOutLeading || fBckgType[3]==kBckgClustersOutLeading){
+ if(fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters || fBckgType[4]==kBckgClusters ||
+ fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading || fBckgType[2]==kBckgClustersOutLeading ||
+ fBckgType[3]==kBckgClustersOutLeading || fBckgType[4]==kBckgClustersOutLeading){
fh1nRecBckgJetsCuts = new TH1F("fh1nRecBckgJetsCuts","reconstructed background jets per event",10,-0.5,9.5);
fh1nGenBckgJets = new TH1F("fh1nGenBckgJets","generated background jets per event",10,-0.5,9.5);
}
- if(fBckgType[0]==kBckgPerp || fBckgType[1]==kBckgPerp || fBckgType[2]==kBckgPerp || fBckgType[3]==kBckgPerp)
+ if(fBckgType[0]==kBckgPerp || fBckgType[1]==kBckgPerp || fBckgType[2]==kBckgPerp || fBckgType[3]==kBckgPerp || fBckgType[4]==kBckgPerp )
fh1PerpMult = new TH1F("fh1PerpMult","Background multiplicity - Cone perpendicular to leading jet axis",500,0.,500.);
- if(fBckgType[0]==kBckgASide || fBckgType[1]==kBckgASide || fBckgType[2]==kBckgASide || fBckgType[3]==kBckgASide)
+ if(fBckgType[0]==kBckgASide || fBckgType[1]==kBckgASide || fBckgType[2]==kBckgASide || fBckgType[3]==kBckgASide || fBckgType[4]==kBckgASide)
fh1ASideMult = new TH1F("fh1ASideMult","Background multiplicity - Cone in the away side of leading jet axis",500,0.,500.);
- if(fBckgType[0]==kBckgASideWindow || fBckgType[1]==kBckgASideWindow || fBckgType[2]==kBckgASideWindow || fBckgType[3]==kBckgASideWindow)
+ if(fBckgType[0]==kBckgASideWindow || fBckgType[1]==kBckgASideWindow || fBckgType[2]==kBckgASideWindow || fBckgType[3]==kBckgASideWindow || fBckgType[4]==kBckgASideWindow)
fh1ASideWindowMult = new TH1F("fh1ASideWindowMult","Background multiplicity - Cone in the away side of leading jet axis",500,0.,500.);
- if(fBckgType[0]==kBckgPerpWindow || fBckgType[1]==kBckgPerpWindow || fBckgType[2]==kBckgPerpWindow || fBckgType[3]==kBckgPerpWindow)
+ if(fBckgType[0]==kBckgPerpWindow || fBckgType[1]==kBckgPerpWindow || fBckgType[2]==kBckgPerpWindow || fBckgType[3]==kBckgPerpWindow || fBckgType[4]==kBckgPerpWindow)
fh1PerpWindowMult = new TH1F("fh1PerpWindowMult","Background multiplicity - Cone in the perp direction of leading jet axis",500,0.,500.);
- if(fBckgType[0]==kBckgOutLJ || fBckgType[1]==kBckgOutLJ || fBckgType[2]==kBckgOutLJ || fBckgType[3]==kBckgOutLJ)
+ if(fBckgType[0]==kBckgOutLJ || fBckgType[1]==kBckgOutLJ || fBckgType[2]==kBckgOutLJ || fBckgType[3]==kBckgOutLJ || fBckgType[4]==kBckgOutLJ)
fh1OutLeadingMult = new TH1F("fh1OutLeadingMult","Background multiplicity - Cone outside leading jet",500,0,500.);
- if(fBckgType[0]==kBckgOutLJStat || fBckgType[1]==kBckgOutLJStat || fBckgType[2]==kBckgOutLJStat || fBckgType[3]==kBckgOutLJStat)
+ if(fBckgType[0]==kBckgOutLJStat || fBckgType[1]==kBckgOutLJStat || fBckgType[2]==kBckgOutLJStat || fBckgType[3]==kBckgOutLJStat || fBckgType[4]==kBckgOutLJStat)
fh1OutLeadingStatMult = new TH1F("fh1OutLeadingStatMult","Background multiplicity - Cone outside leading jet",3000,0,3000.);
- if(fBckgType[0]==kBckgOut2J || fBckgType[1]==kBckgOut2J || fBckgType[2]==kBckgOut2J || fBckgType[3]==kBckgOut2J)
+ if(fBckgType[0]==kBckgOut2J || fBckgType[1]==kBckgOut2J || fBckgType[2]==kBckgOut2J || fBckgType[3]==kBckgOut2J || fBckgType[4]==kBckgOut2J)
fh1Out2JetsMult = new TH1F("fh1Out2JetsMult","Background multiplicity - Cone outside 2 jets",500,0.,500.);
- if(fBckgType[0]==kBckgOut3J || fBckgType[1]==kBckgOut3J || fBckgType[2]==kBckgOut3J || fBckgType[3]==kBckgOut3J)
+ if(fBckgType[0]==kBckgOut3J || fBckgType[1]==kBckgOut3J || fBckgType[2]==kBckgOut3J || fBckgType[3]==kBckgOut3J || fBckgType[4]==kBckgOut3J)
fh1Out3JetsMult = new TH1F("fh1Out3JetsMult","Background multiplicity - Cone outside 3 jets",500,0.,500.);
- if(fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters)
+ if(fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters || fBckgType[4]==kBckgClusters)
fh1MedianClustersMult = new TH1F("fh1MedianClustersMult","Background multiplicity - median cluster",500,0.,500.);
- if(fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading || fBckgType[2]==kBckgClustersOutLeading || fBckgType[3]==kBckgClustersOutLeading)
+ if(fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading || fBckgType[2]==kBckgClustersOutLeading || fBckgType[3]==kBckgClustersOutLeading
+ || fBckgType[4]==kBckgClustersOutLeading)
fh1OutClustersMult = new TH1F("fh1OutClustersMult","Background multiplicity - clusters outside leading jet",3000,0.,3000.);
}
// Background
if(fBckgMode){
// Track QA
- TString title[4];
- for(Int_t i=0; i<4; i++){
+ TString title[5];
+ for(Int_t i=0; i<5; i++){
if(fBckgType[i]==kBckgPerp) title[i]="Perp";
else if(fBckgType[i]==kBckgPerpWindow) title[i]="PerpW";
else if(fBckgType[i]==kBckgASide) title[i]="ASide";
fQATrackNBinsEta, fQATrackEtaMin, fQATrackEtaMax,
fQATrackNBinsPhi, fQATrackPhiMin, fQATrackPhiMax,
fQATrackHighPtThreshold);
+ fQABckgHisto4RecCuts = new AliFragFuncQATrackHistos("Bckg"+title[4]+"RecCuts", fQATrackNBinsPt, fQATrackPtMin, fQATrackPtMax,
+ fQATrackNBinsEta, fQATrackEtaMin, fQATrackEtaMax,
+ fQATrackNBinsPhi, fQATrackPhiMin, fQATrackPhiMax,
+ fQATrackHighPtThreshold);
+ fQABckgHisto4Gen = new AliFragFuncQATrackHistos("Bckg"+title[4]+"Gen", fQATrackNBinsPt, fQATrackPtMin, fQATrackPtMax,
+ fQATrackNBinsEta, fQATrackEtaMin, fQATrackEtaMax,
+ fQATrackNBinsPhi, fQATrackPhiMin, fQATrackPhiMax,
+ fQATrackHighPtThreshold);
+
+
} // end: background QA
if(fFFMode){
fFFNBinsPt, fFFPtMin, fFFPtMax,
fFFNBinsXi, fFFXiMin, fFFXiMax,
fFFNBinsZ , fFFZMin , fFFZMax);
+ fFFBckgHisto4RecCuts = new AliFragFuncHistos("Bckg"+title[4]+"RecCuts", fFFNBinsJetPt, fFFJetPtMin, fFFJetPtMax,
+ fFFNBinsPt, fFFPtMin, fFFPtMax,
+ fFFNBinsXi, fFFXiMin, fFFXiMax,
+ fFFNBinsZ , fFFZMin , fFFZMax);
+ fFFBckgHisto4RecLeading = new AliFragFuncHistos("Bckg"+title[4]+"RecLeading", fFFNBinsJetPt, fFFJetPtMin, fFFJetPtMax,
+ fFFNBinsPt, fFFPtMin, fFFPtMax,
+ fFFNBinsXi, fFFXiMin, fFFXiMax,
+ fFFNBinsZ , fFFZMin , fFFZMax);
+ fFFBckgHisto4Gen = new AliFragFuncHistos("Bckg"+title[4]+"Gen", fFFNBinsJetPt, fFFJetPtMin, fFFJetPtMax,
+ fFFNBinsPt, fFFPtMin, fFFPtMax,
+ fFFNBinsXi, fFFXiMin, fFFXiMax,
+ fFFNBinsZ , fFFZMin , fFFZMax);
+ fFFBckgHisto4GenLeading = new AliFragFuncHistos("Bckg"+title[4]+"GenLeading", fFFNBinsJetPt, fFFJetPtMin, fFFJetPtMax,
+ fFFNBinsPt, fFFPtMin, fFFPtMax,
+ fFFNBinsXi, fFFXiMin, fFFXiMax,
+ fFFNBinsZ , fFFZMin , fFFZMax);
+
} // end: background FF
if(fIJMode){
fFFBckgHisto3RecLeading->DefineHistos();
fFFBckgHisto3Gen->DefineHistos();
fFFBckgHisto3GenLeading->DefineHistos();
+ fFFBckgHisto4RecCuts->DefineHistos();
+ fFFBckgHisto4RecLeading->DefineHistos();
+ fFFBckgHisto4Gen->DefineHistos();
+ fFFBckgHisto4GenLeading->DefineHistos();
}
if(fIJMode){
fQABckgHisto2Gen->DefineHistos();
fQABckgHisto3RecCuts->DefineHistos();
fQABckgHisto3Gen->DefineHistos();
+ fQABckgHisto4RecCuts->DefineHistos();
+ fQABckgHisto4Gen->DefineHistos();
}
} // end: background
fCommonHistList->Add(fh1EvtSelection);
fCommonHistList->Add(fh1EvtMult);
fCommonHistList->Add(fh1EvtCent);
+ fCommonHistList->Add(fh2TrackPtVsDCAXY);
+ fCommonHistList->Add(fh2TrackPtVsDCAZ);
fCommonHistList->Add(fh1VertexNContributors);
fCommonHistList->Add(fh1VertexZ);
fCommonHistList->Add(fh1nRecJetsCuts);
fFFBckgHisto2RecLeading->AddToOutput(fCommonHistList);
fFFBckgHisto3RecCuts->AddToOutput(fCommonHistList);
fFFBckgHisto3RecLeading->AddToOutput(fCommonHistList);
+ fFFBckgHisto4RecCuts->AddToOutput(fCommonHistList);
+ fFFBckgHisto4RecLeading->AddToOutput(fCommonHistList);
+
if(genJets && genTracks){
fFFBckgHisto0Gen->AddToOutput(fCommonHistList);
fFFBckgHisto0GenLeading->AddToOutput(fCommonHistList);
fFFBckgHisto2GenLeading->AddToOutput(fCommonHistList);
fFFBckgHisto3Gen->AddToOutput(fCommonHistList);
fFFBckgHisto3GenLeading->AddToOutput(fCommonHistList);
+ fFFBckgHisto4Gen->AddToOutput(fCommonHistList);
+ fFFBckgHisto4GenLeading->AddToOutput(fCommonHistList);
}
}
fQABckgHisto1RecCuts->AddToOutput(fCommonHistList);
fQABckgHisto2RecCuts->AddToOutput(fCommonHistList);
fQABckgHisto3RecCuts->AddToOutput(fCommonHistList);
+ fQABckgHisto4RecCuts->AddToOutput(fCommonHistList);
if(genJets && genTracks){
fQABckgHisto0Gen->AddToOutput(fCommonHistList);
fQABckgHisto1Gen->AddToOutput(fCommonHistList);
fQABckgHisto2Gen->AddToOutput(fCommonHistList);
fQABckgHisto3Gen->AddToOutput(fCommonHistList);
+ fQABckgHisto4Gen->AddToOutput(fCommonHistList);
}
}
- if(fBckgType[0]==kBckgOutLJ || fBckgType[1]==kBckgOutLJ || fBckgType[2]==kBckgOutLJ || fBckgType[3]==kBckgOutLJ)
+ if(fBckgType[0]==kBckgOutLJ || fBckgType[1]==kBckgOutLJ || fBckgType[2]==kBckgOutLJ || fBckgType[3]==kBckgOutLJ || fBckgType[4]==kBckgOutLJ)
fCommonHistList->Add(fh1OutLeadingMult);
- if(fBckgType[0]==kBckgOutLJStat || fBckgType[1]==kBckgOutLJStat || fBckgType[2]==kBckgOutLJStat || fBckgType[3]==kBckgOutLJStat)
+ if(fBckgType[0]==kBckgOutLJStat || fBckgType[1]==kBckgOutLJStat || fBckgType[2]==kBckgOutLJStat || fBckgType[3]==kBckgOutLJStat || fBckgType[4]==kBckgOutLJStat)
fCommonHistList->Add(fh1OutLeadingStatMult);
- if(fBckgType[0]==kBckgPerp || fBckgType[1]==kBckgPerp || fBckgType[2]==kBckgPerp || fBckgType[3]==kBckgPerp )
+ if(fBckgType[0]==kBckgPerp || fBckgType[1]==kBckgPerp || fBckgType[2]==kBckgPerp || fBckgType[3]==kBckgPerp || fBckgType[4]==kBckgPerp)
fCommonHistList->Add(fh1PerpMult);
- if(fBckgType[0]==kBckgASide || fBckgType[1]==kBckgASide || fBckgType[2]==kBckgASide || fBckgType[3]==kBckgASide)
+ if(fBckgType[0]==kBckgASide || fBckgType[1]==kBckgASide || fBckgType[2]==kBckgASide || fBckgType[3]==kBckgASide || fBckgType[4]==kBckgASide)
fCommonHistList->Add(fh1ASideMult);
- if(fBckgType[0]==kBckgASideWindow || fBckgType[1]==kBckgASideWindow || fBckgType[2]==kBckgASideWindow || fBckgType[3]==kBckgASideWindow)
+ if(fBckgType[0]==kBckgASideWindow || fBckgType[1]==kBckgASideWindow || fBckgType[2]==kBckgASideWindow || fBckgType[3]==kBckgASideWindow || fBckgType[4]==kBckgASideWindow)
fCommonHistList->Add(fh1ASideWindowMult);
- if(fBckgType[0]==kBckgPerpWindow || fBckgType[1]==kBckgPerpWindow || fBckgType[2]==kBckgPerpWindow || fBckgType[3]==kBckgPerpWindow)
+ if(fBckgType[0]==kBckgPerpWindow || fBckgType[1]==kBckgPerpWindow || fBckgType[2]==kBckgPerpWindow || fBckgType[3]==kBckgPerpWindow || fBckgType[4]==kBckgPerpWindow)
fCommonHistList->Add(fh1PerpWindowMult);
- if(fBckgType[0]==kBckgOut2J || fBckgType[1]==kBckgOut2J || fBckgType[2]==kBckgOut2J || fBckgType[3]==kBckgOut2J)
+ if(fBckgType[0]==kBckgOut2J || fBckgType[1]==kBckgOut2J || fBckgType[2]==kBckgOut2J || fBckgType[3]==kBckgOut2J || fBckgType[4]==kBckgOut2J)
fCommonHistList->Add(fh1Out2JetsMult);
- if(fBckgType[0]==kBckgOut3J || fBckgType[1]==kBckgOut3J || fBckgType[2]==kBckgOut3J || fBckgType[3]==kBckgOut3J)
+ if(fBckgType[0]==kBckgOut3J || fBckgType[1]==kBckgOut3J || fBckgType[2]==kBckgOut3J || fBckgType[3]==kBckgOut3J || fBckgType[4]==kBckgOut3J)
fCommonHistList->Add(fh1Out3JetsMult);
- if(fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters)
+ if(fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters || fBckgType[4]==kBckgClusters)
fCommonHistList->Add(fh1MedianClustersMult);
- if(fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading || fBckgType[2]==kBckgClustersOutLeading || fBckgType[3]==kBckgClustersOutLeading)
+ if(fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading || fBckgType[2]==kBckgClustersOutLeading
+ || fBckgType[3]==kBckgClustersOutLeading || fBckgType[4]==kBckgClustersOutLeading)
fCommonHistList->Add(fh1OutClustersMult);
}
}
if(fBckgMode &&
- (fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters ||
- fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading ||
- fBckgType[2]==kBckgClustersOutLeading || fBckgType[3]==kBckgClustersOutLeading)) {
+ (fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters || fBckgType[4]==kBckgClusters ||
+ fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading || fBckgType[2]==kBckgClustersOutLeading ||
+ fBckgType[3]==kBckgClustersOutLeading || fBckgType[4]==kBckgClustersOutLeading)) {
fCommonHistList->Add(fh1nRecBckgJetsCuts);
if(genJets) fCommonHistList->Add(fh1nGenBckgJets);
}
//____ fetch background jets ___________________________________________________
if(fBckgMode &&
- (fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters ||
- fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading ||
- fBckgType[2]==kBckgClustersOutLeading || fBckgType[3]==kBckgClustersOutLeading)){
+ (fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters || fBckgType[4]==kBckgClusters ||
+ fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading || fBckgType[2]==kBckgClustersOutLeading ||
+ fBckgType[3]==kBckgClustersOutLeading || fBckgType[4]==kBckgClustersOutLeading)){
Int_t nBJ = GetListOfBckgJets(fBckgJetsRec, kJetsRec);
Int_t nRecBckgJets = 0;
AliVParticle *part = dynamic_cast<AliVParticle*>(fTracksGen->At(it));
if(part)fQATrackHistosGen->FillTrackQA( part->Eta(), TVector2::Phi_0_2pi(part->Phi()), part->Pt());
}
+
+ // fill DCA to prim vertex
+ for(Int_t it=0; it<nRecPartCuts; ++it){
+ AliAODTrack *aodtr = dynamic_cast<AliAODTrack*>(fTracksRecCuts->At(it));
+
+ if(!aodtr) continue;
+ if(!primVtx) continue;
+
+ Double_t Bfield = fAOD->GetMagneticField();
+ Double_t dz[2];
+ Double_t cov[3];
+
+ AliAODTrack tmp(*aodtr);
+ tmp.PropagateToDCA(primVtx, Bfield, 5., dz, cov);
+
+ Double_t dcaXY = dz[0];
+ Double_t dcaZ = dz[1];
+
+ fh2TrackPtVsDCAXY->Fill(dcaXY,tmp.Pt());
+ fh2TrackPtVsDCAZ->Fill(dcaZ,tmp.Pt());
+ }
}
+
+
+
// loop over jets
if(fQAMode&2){
fFFBckgHisto3RecCuts, fFFBckgHisto3RecLeading,
fIJBckgHisto3RecCuts, fIJBckgHisto3RecLeading,
fQABckgHisto3RecCuts);
+ if(fBckgType[4]!=-1)
+ FillBckgHistos(fBckgType[4], fTracksRecCuts, fJetsRecCuts, jet, leadTrackPt, leadTrackV,
+ fFFBckgHisto4RecCuts, fFFBckgHisto4RecLeading,
+ fIJBckgHisto4RecCuts, fIJBckgHisto4RecLeading,
+ fQABckgHisto4RecCuts);
} // end if(fBckgMode)
delete leadTrackV;
if (it < jettracklist2->GetSize())
{
- Float_t trackPt2 = (dynamic_cast<AliVParticle*>(jettracklist2->At(it)))->Pt();
+ Float_t trackPt2 = ((AliVParticle*)jettracklist2->At(it))->Pt();
Float_t jetPt2 = jet2->Pt();
Bool_t incrementJetPt = (it==0) ? kTRUE : kFALSE;
fJetsRecEff->Clear();
if(fBckgMode &&
- (fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters ||
- fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading ||
- fBckgType[2]==kBckgClustersOutLeading || fBckgType[3]==kBckgClustersOutLeading)){
+ (fBckgType[0]==kBckgClusters || fBckgType[1]==kBckgClusters || fBckgType[2]==kBckgClusters || fBckgType[3]==kBckgClusters || fBckgType[4]==kBckgClusters ||
+ fBckgType[0]==kBckgClustersOutLeading || fBckgType[1]==kBckgClustersOutLeading || fBckgType[2]==kBckgClustersOutLeading ||
+ fBckgType[3]==kBckgClustersOutLeading || fBckgType[4]==kBckgClustersOutLeading)){
fBckgJetsRec->Clear();
fBckgJetsRecCuts->Clear();
for(Int_t it = 0; it<nTracksJet; it++){
AliVParticle* track = dynamic_cast<AliVParticle*>(bgrCluster->GetTrack(it));
+ if(!track) continue;
Float_t trackPt = track->Pt();
Float_t trackEta = track->Eta();
// using cluster with median density (odd number of clusters)
// or picking randomly one of the two closest to median (even number)
+ normFactor = 0;
+
Int_t nBckgClusters = fBckgJetsRec->GetEntries(); // not 'recCuts': use all clusters in full eta range
+ if(!nBckgClusters) return;
+
Double_t* bgrDensity = new Double_t[nBckgClusters];
Int_t* indices = new Int_t[nBckgClusters];
for(Int_t it = 0; it<nTracksJet; it++){
AliVParticle* track = dynamic_cast<AliVParticle*>(medianCluster->GetTrack(it));
+ if(!track) continue;
Float_t trackPt = track->Pt();
Float_t trackEta = track->Eta();
for(Int_t it=0; it<tracklistoutleading->GetSize(); ++it){
AliVParticle* trackVP = (AliVParticle*)(tracklistoutleading->At(it));
+ if(!trackVP) continue;
TLorentzVector* trackV = new TLorentzVector(trackVP->Px(),trackVP->Py(),trackVP->Pz(),trackVP->P());
Float_t jetPt = jet->Pt();
for(Int_t it=0; it<tracklistoutleadingStat->GetSize(); ++it){
AliVParticle* trackVP = dynamic_cast<AliVParticle*>(tracklistoutleadingStat->At(it));
+ if(!trackVP) continue;
TLorentzVector* trackV = new TLorentzVector(trackVP->Px(),trackVP->Py(),trackVP->Pz(),trackVP->P());
Float_t jetPt = jet->Pt();
for(Int_t it=0; it<tracklistaside->GetSize(); ++it){
AliVParticle* trackVP = (AliVParticle*)(tracklistaside->At(it));
+ if(!trackVP) continue;
TLorentzVector* trackV = new TLorentzVector(trackVP->Px(),trackVP->Py(),trackVP->Pz(),trackVP->P());
Float_t jetPt = jet->Pt();
for(Int_t it=0; it<tracklistasidew->GetSize(); ++it){
AliVParticle* trackVP = dynamic_cast<AliVParticle*>(tracklistasidew->At(it));
+ if(!trackVP) continue;
TLorentzVector* trackV = new TLorentzVector(trackVP->Px(),trackVP->Py(),trackVP->Pz(),trackVP->P());
Float_t jetPt = jet->Pt();
for(Int_t it=0; it<tracklistperpw->GetSize(); ++it){
AliVParticle* trackVP = dynamic_cast<AliVParticle*>(tracklistperpw->At(it));
+ if(!trackVP) continue;
TLorentzVector* trackV = new TLorentzVector(trackVP->Px(),trackVP->Py(),trackVP->Pz(),trackVP->P());
Float_t jetPt = jet->Pt();
for(Int_t it=0; it<tracklistout2jets->GetSize(); ++it){
AliVParticle* trackVP = dynamic_cast<AliVParticle*>(tracklistout2jets->At(it));
+ if(!trackVP) continue;
TLorentzVector* trackV = new TLorentzVector(trackVP->Px(),trackVP->Py(),trackVP->Pz(),trackVP->P());
Float_t jetPt = jet->Pt();
for(Int_t it=0; it<tracklistout2jetsStat->GetSize(); ++it){
AliVParticle* trackVP = dynamic_cast<AliVParticle*>(tracklistout2jetsStat->At(it));
+ if(!trackVP) continue;
TLorentzVector* trackV = new TLorentzVector(trackVP->Px(),trackVP->Py(),trackVP->Pz(),trackVP->P());
Float_t jetPt = jet->Pt();
if(fFFMode) ffbckghistoleading->FillFF( trackPt, leadTrackPt , incrementJetPt, normFactor2Jets);
if(fIJMode) ijbckghistoleading->FillIntraJet( trackV, leadTrackV, normFactor2Jets );
- //if(fQAMode&1) qabckghistocuts->FillTrackQA( trackEta, TVector2::Phi_0_2pi(trackPhi), trackPt);
+ if(fQAMode&1) qabckghistocuts->FillTrackQA( trackV->Eta(), TVector2::Phi_0_2pi(trackV->Phi()), trackPt ); // OB added bgr QA
}
// All cases included
if(fIJMode) ijbckghistoleading->FillIntraJet( trackV, leadTrackV, normFactor2Jets );
if(fQAMode&1) qabckghistocuts->FillTrackQA( trackV->Eta(), TVector2::Phi_0_2pi(trackV->Phi()), trackPt ); // OB added bgr QA
-
}
delete trackV;
}
for(Int_t it=0; it<tracklistout3jets->GetSize(); ++it){
AliVParticle* trackVP = dynamic_cast<AliVParticle*>(tracklistout3jets->At(it));
+ if(!trackVP) continue;
TLorentzVector* trackV = new TLorentzVector(trackVP->Px(),trackVP->Py(),trackVP->Pz(),trackVP->P());
Float_t jetPt = jet->Pt();
for(Int_t it=0; it<tracklistout3jetsStat->GetSize(); ++it){
AliVParticle* trackVP = dynamic_cast<AliVParticle*>(tracklistout3jetsStat->At(it));
+ if(!trackVP) continue;
TLorentzVector* trackV = new TLorentzVector(trackVP->Px(),trackVP->Py(),trackVP->Pz(),trackVP->P());
Float_t jetPt = jet->Pt();
for(Int_t it=0; it<tracklistClustersOutLeading->GetSize(); ++it){
AliVParticle* trackVP = dynamic_cast<AliVParticle*>(tracklistClustersOutLeading->At(it));
+ if(!trackVP) continue;
TLorentzVector* trackV = new TLorentzVector(trackVP->Px(),trackVP->Py(),trackVP->Pz(),trackVP->P());
Float_t trackPt = trackVP->Pt();
GetClusterTracksMedian(tracklistClustersMedian, normFactorClusters);
fh1MedianClustersMult->Fill(tracklistClustersMedian->GetSize());
-
+
for(Int_t it=0; it<tracklistClustersMedian->GetSize(); ++it){
AliVParticle* trackVP = dynamic_cast<AliVParticle*>(tracklistClustersMedian->At(it));
+ if(!trackVP) continue;
TLorentzVector* trackV = new TLorentzVector(trackVP->Px(),trackVP->Py(),trackVP->Pz(),trackVP->P());
Float_t trackPt = trackVP->Pt();
// **************************************
-// used for the correction of determiantion of reconstructed jet spectra
+// used for the correction of determiantion of reconstructed jet spectra
// Compares input (gen) and output (rec) jets
// *******************************************
fh1PtTracksLeadingIn[ij] = 0;
fh2NJetsPt[ij] = 0;
fh2NTracksPt[ij] = 0;
+ fh2TrackEtaPt[ij] = 0;
fh3MultTrackPtRP[ij] = 0;
fh2LeadingTrackPtTrackPhi[ij] = 0;
for(int i = 0;i <= kMaxJets;++i){
fh1PtTracksLeadingIn[ij] = 0;
fh2NJetsPt[ij] = 0;
fh2NTracksPt[ij] = 0;
+ fh2TrackEtaPt[ij] = 0;
fh3MultTrackPtRP[ij] = 0;
fh2LeadingTrackPtTrackPhi[ij] = 0;
for(int i = 0;i <= kMaxJets;++i){
fh1Centrality = new TH1F("fh1Centrality","cent;cent (%)",101,-0.5,100.5);
fHistList->Add(fh1Centrality);
- fh2MultRec = new TH2F("fh2MultRec","multiplicity rec;# tracks;# jetrefs",400,-0.5,4000,400,0.,4000);
+ fh2MultRec = new TH2F("fh2MultRec","multiplicity rec;# tracks;# jetrefs",500,0,5000,500,0.,5000);
fHistList->Add(fh2MultRec);
- fh2MultGen = new TH2F("fh2MultGen","multiplicity gen;# tracks;# jetrefs",400,-0.5,4000,400,0.,4000);
+ fh2MultGen = new TH2F("fh2MultGen","multiplicity gen;# tracks;# jetrefs",400,0,5000,500,0.,5000);
fHistList->Add(fh2MultGen);
fh2RPSubevents = new TH2F("fh2RPSubevents" ,"Reaction Plane Angle" , 180, 0, TMath::Pi(), 180, 0, TMath::Pi());
fh1PtTracksLeadingIn[ij] = new TH1F(Form("fh1PtTracksLeading%sIn",cAdd.Data()),Form("%s track p_T;p_{T} (GeV/c)",cAdd.Data()),nBinPt,binLimitsPt);
fHistList->Add(fh1PtTracksLeadingIn[ij]);
- fh1SumPtTrack[ij] = new TH1F(Form("fh1SumPtTrack%s",cAdd.Data()),Form("Sum %s track p_T;p_{T} (GeV/c)",cAdd.Data()),900,0.,900.);
+ fh1SumPtTrack[ij] = new TH1F(Form("fh1SumPtTrack%s",cAdd.Data()),Form("Sum %s track p_T;p_{T} (GeV/c)",cAdd.Data()),1000,0.,3000.);
fHistList->Add(fh1SumPtTrack[ij]);
fh2NJetsPt[ij] = new TH2F(Form("fh2N%sJetsPt",cAdd.Data()),Form("Number of %s jets above threshhold;p_{T,cut} (GeV/c);N_{jets}",cAdd.Data()),nBinPt,binLimitsPt,50,-0.5,49.5);
fHistList->Add(fh2NJetsPt[ij]);
- fh2NTracksPt[ij] = new TH2F(Form("fh2N%sTracksPt",cAdd.Data()),Form("Number of %s tracks above threshhold;p_{T,cut} (GeV/c);N_{tracks}",cAdd.Data()),nBinPt,binLimitsPt,1000,0.,4000);
+ fh2NTracksPt[ij] = new TH2F(Form("fh2N%sTracksPt",cAdd.Data()),Form("Number of %s tracks above threshhold;p_{T,cut} (GeV/c);N_{tracks}",cAdd.Data()),nBinPt,binLimitsPt,1000,0.,5000);
fHistList->Add(fh2NTracksPt[ij]);
+
+ fh2TrackEtaPt[ij] = new TH2F(Form("fh2TrackEtaPt%s",cAdd.Data()),";#eta;p_{T,track}",nBinPt,binLimitsPt,50,-1.,1.);
+ fHistList->Add(fh2TrackEtaPt[ij]);
+
fh3MultTrackPtRP[ij] = new TH3F(Form("fh3MultTrackPtRP%s",
- cAdd.Data()),Form("%s track p_T;# tracks;;p_{T} (GeV/c)",cAdd.Data()),400,0,4000,nBinPt,0,300,(Int_t)fNRPBins,-0.5,fNRPBins-0.5);
+ cAdd.Data()),Form(";# tracks;%s track p_T;RP Bin",cAdd.Data()),250,0,5000,100.,0.,50.,(Int_t)fNRPBins,-0.5,fNRPBins-0.5);
fHistList->Add(fh3MultTrackPtRP[ij]);
fh2LeadingTrackPtTrackPhi[ij] = new TH2F(Form("fh2Leading%sTrackPtTrackPhi",cAdd.Data()),Form("phi of leading %s track;p_{T};#phi;",cAdd.Data()),
fh2PhiPt[ij][i] = new TH2F(Form("fh2PhiPt%s_j%d",cAdd.Data(),i),Form("pt vs phi %s;#phi;p_{T};",cAdd.Data()),
nBinPhi,binLimitsPhi,nBinPt,binLimitsPt);
- fh3MultPtRP[ij][i] = new TH3F(Form("fh3MultPtRP%s_j%d",cAdd.Data(),i),Form("%s jets p_T;# tracks;;p_{T} (GeV/c)",cAdd.Data()),400,0,4000,nBinPt,0,300,(Int_t)fNRPBins,-0.5,fNRPBins-0.5);
+ fh3MultPtRP[ij][i] = new TH3F(Form("fh3MultPtRP%s_j%d",cAdd.Data(),i),Form("%s jets p_T;# tracks;;p_{T} (GeV/c)",cAdd.Data()),250,0,5000,nBinPt,0,300,(Int_t)fNRPBins,-0.5,fNRPBins-0.5);
fHistList->Add(fh3MultPtRP[ij][i]);
if(tmpPhi<0)tmpPhi+=TMath::Pi()*2.;
Int_t phiBin = GetPhiBin(tmpPhi-fRPAngle);
fh3MultTrackPtRP[iType]->Fill(refMult,tmpPt,phiBin);
-
+ fh2TrackEtaPt[iType]->Fill(tmpTrack->Eta(),tmpPt);
if(tmpTrack==leading){
fh1PtTracksLeadingIn[iType]->Fill(tmpPt);
fh2LeadingTrackPtTrackPhi[iType]->Fill(tmpPt,tmpPhi);
if(fUseAODTrackInput)aod = dynamic_cast<AliAODEvent*>(InputEvent());
else aod = AODEvent();
if(!aod){
- return 100;
+ return 101;
}
return aod->GetHeader()->GetCentrality();
}