X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=PWG4%2FPartCorrDep%2FAliAnaPhoton.cxx;h=9f110a9b9508384b8d16f3eb4c5e2158c57ed412;hp=4ccf74300ebf0732f54ba3353b9bbd9168314f09;hb=41e886c8f0728b8545ddecedd6d3a23481195eb0;hpb=523388253db0c0e468d426cc3b2f1905b6ec71b1 diff --git a/PWG4/PartCorrDep/AliAnaPhoton.cxx b/PWG4/PartCorrDep/AliAnaPhoton.cxx index 4ccf74300eb..9f110a9b950 100755 --- a/PWG4/PartCorrDep/AliAnaPhoton.cxx +++ b/PWG4/PartCorrDep/AliAnaPhoton.cxx @@ -205,13 +205,13 @@ TList * AliAnaPhoton::GetCreateOutputObjects() outputContainer->Add(fhRatioPt); fh2E = new TH2F ("h2E","E distribution, reconstructed vs generated", nptbins,ptmin,ptmax,nptbins,ptmin,ptmax); - fh2E->SetYTitle("E_{rec} (GeV)"); - fh2E->SetXTitle("E_{gen} (GeV)"); + fh2E->SetXTitle("E_{rec} (GeV)"); + fh2E->SetYTitle("E_{gen} (GeV)"); outputContainer->Add(fh2E); fh2Pt = new TH2F ("h2Pt","p_T distribution, reconstructed vs generated", nptbins,ptmin,ptmax,nptbins,ptmin,ptmax); - fh2Pt->SetYTitle("p_{T,rec} (GeV/c)"); - fh2Pt->SetXTitle("p_{T,gen} (GeV/c)"); + fh2Pt->SetXTitle("p_{T,rec} (GeV/c)"); + fh2Pt->SetYTitle("p_{T,gen} (GeV/c)"); outputContainer->Add(fh2Pt); fhPtMCPhoton = new TH1F("hPtMCPhoton","Number of #gamma over calorimeter",nptbins,ptmin,ptmax); @@ -726,8 +726,8 @@ void AliAnaPhoton::MakeAnalysisFillHistograms() } - fh2E ->Fill(eprim,ecluster); - fh2Pt ->Fill(ptprim, ptcluster); + fh2E ->Fill(ecluster, eprim); + fh2Pt ->Fill(ptcluster, ptprim); fhDeltaE ->Fill(eprim-ecluster); fhDeltaPt->Fill(ptprim-ptcluster); if(eprim > 0) fhRatioE ->Fill(ecluster/eprim);