From 41e886c8f0728b8545ddecedd6d3a23481195eb0 Mon Sep 17 00:00:00 2001 From: gconesab Date: Tue, 25 Aug 2009 15:58:55 +0000 Subject: [PATCH] rearrange the x-y input of histograms for CORRFW requierements --- PWG4/PartCorrDep/AliAnaPhoton.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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); -- 2.39.3