Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 2239)
+++ trunk/MagicSoft/Mars/Changelog	(revision 2240)
@@ -2,4 +2,7 @@
 
  2003/06/26: Abelardo Moralejo
+
+  * mhistmc/MHMcEnergyMigration.cc
+    - exchanged axes of E_est and E_MC in the 3-d histograms.
 
   * mfileio/MCT1ReadAscii.cc, MCT1ReadPreProc.cc
Index: trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc
===================================================================
--- trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc	(revision 2239)
+++ trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc	(revision 2240)
@@ -66,13 +66,13 @@
 
     fHist.SetDirectory(NULL);
-    fHist.SetTitle("3D-plot   E_{TRUE} E_{EST} \\Theta");
-    fHist.SetXTitle("E_{TRUE} [GeV]");
-    fHist.SetYTitle("E_{EST} [GeV]");
+    fHist.SetTitle("3D-plot  E_{EST}  E_{TRUE}  \\Theta");
+    fHist.SetXTitle("E_{EST} [GeV]");
+    fHist.SetYTitle("E_{TRUE} [GeV]");
     fHist.SetZTitle("\\Theta [\\circ]");
 
     fHist2.SetDirectory(NULL);
-    fHist2.SetTitle("3D-plot \\Delta E / E vs E_{TRUE} E_{EST}");
-    fHist2.SetXTitle("E_{TRUE} [GeV]");
-    fHist2.SetYTitle("E_{EST} [GeV]");
+    fHist2.SetTitle("3D-plot \\Delta E / E  vs E_{EST} E_{TRUE}");
+    fHist2.SetXTitle("E_{EST} [GeV]");
+    fHist2.SetYTitle("E_{TRUE} [GeV]");
     fHist2.SetZTitle("\\frac{E_{EST} - E_{TRUE}}{E_{TRUE}}");
 
@@ -145,5 +145,5 @@
     gPad->SetBorderMode(0);
     gPad->SetLogx();
-    h = fHist.Project3D("ex_pro");
+    h = fHist.Project3D("ey_pro");
     h->SetTitle("Distribution of E_{TRUE}");
     h->SetXTitle("E_{TRUE} [GeV]");
@@ -155,5 +155,5 @@
     gPad->SetBorderMode(0);
     gPad->SetLogx();
-    h = fHist.Project3D("ey_pro");
+    h = fHist.Project3D("ex_pro");
     h->SetTitle("Distribution of E_{EST}");
     h->SetXTitle("E_{est} [GeV]");
@@ -200,5 +200,5 @@
     gPad->SetLogx();
     gPad->SetLogy();
-    h2 = (TH2D*) fHist.Project3D("xy");
+    h2 = (TH2D*) fHist.Project3D("yx");
 
     TProfile* h2pfx;
@@ -227,5 +227,5 @@
     gPad->SetLogx();
     gPad->SetLeftMargin(0.15);
-    h2 = (TH2D*) fHist2.Project3D("zx");
+    h2 = (TH2D*) fHist2.Project3D("zy");
     h2->SetBit(kCanDelete);
     h2pfx = h2->ProfileX("_pfx", 1, h2->GetNbinsY(),"S");
@@ -250,5 +250,5 @@
     gPad->SetLogx();
     gPad->SetLeftMargin(0.15);
-    h2 = (TH2D*) fHist2.Project3D("zy");
+    h2 = (TH2D*) fHist2.Project3D("zx");
     h2->SetBit(kCanDelete);
     h2pfx = h2->ProfileX("_pfx", 1, h2->GetNbinsY(),"S");
