Index: trunk/MagicSoft/Mars/mreflector/MRflEvtData.cc
===================================================================
--- trunk/MagicSoft/Mars/mreflector/MRflEvtData.cc	(revision 8288)
+++ trunk/MagicSoft/Mars/mreflector/MRflEvtData.cc	(revision 8289)
@@ -175,11 +175,11 @@
 // Fills all photons into a TH2 scaled with scale (default=1)
 //
-void MRflEvtData::Fill(TH3 &hist, Double_t z, Float_t scale) const
-{
-    MRflSinglePhoton *ph=NULL;
-
-    TIter Next(&fList);
-    while ((ph=(MRflSinglePhoton*)Next()))
-        ph->Fill(hist, z, scale);
+void MRflEvtData::Fill(TH3 &hist, Double_t x, Float_t scale) const
+{
+    MRflSinglePhoton *ph=NULL;
+
+    TIter Next(&fList);
+    while ((ph=(MRflSinglePhoton*)Next()))
+        ph->Fill(hist, x, scale);
 }
 
Index: trunk/MagicSoft/Mars/mreflector/MRflEvtData.h
===================================================================
--- trunk/MagicSoft/Mars/mreflector/MRflEvtData.h	(revision 8288)
+++ trunk/MagicSoft/Mars/mreflector/MRflEvtData.h	(revision 8289)
@@ -41,5 +41,5 @@
 
     void FillRad(TH1 &hist, Float_t scale=1) const;
-    void FillRad(TH2 &hist, Double_t z, Float_t scale=1) const;
+    void FillRad(TH2 &hist, Double_t x, Float_t scale=1) const;
     void Fill(TH2 &hist, Float_t scale=1) const;
     void Fill(TH3 &hist, Double_t z, Float_t scale=1) const;
Index: trunk/MagicSoft/Mars/mreflector/MRflSinglePhoton.cc
===================================================================
--- trunk/MagicSoft/Mars/mreflector/MRflSinglePhoton.cc	(revision 8288)
+++ trunk/MagicSoft/Mars/mreflector/MRflSinglePhoton.cc	(revision 8289)
@@ -55,7 +55,7 @@
 // Fill radial photon distance into histogram scaled by scale.
 //
-void MRflSinglePhoton::FillRad(TH2 &hist, Double_t z, Float_t scale) const
+void MRflSinglePhoton::FillRad(TH2 &hist, Double_t x, Float_t scale) const
 {
-    hist.Fill(TMath::Hypot(fX, fY)*scale, z);
+    hist.Fill(x, TMath::Hypot(fX, fY)*scale);
 }
 
Index: trunk/MagicSoft/Mars/mreflector/MRflSinglePhoton.h
===================================================================
--- trunk/MagicSoft/Mars/mreflector/MRflSinglePhoton.h	(revision 8288)
+++ trunk/MagicSoft/Mars/mreflector/MRflSinglePhoton.h	(revision 8289)
@@ -39,5 +39,5 @@
 
     void FillRad(TH1 &hist, Float_t scale=1) const;
-    void FillRad(TH2 &hist, Double_t z, Float_t scale=1) const;
+    void FillRad(TH2 &hist, Double_t x, Float_t scale=1) const;
     void Fill(TH2 &hist, Float_t scale=1) const;
     void Fill(TH3 &hist, Double_t z, Float_t scale=1) const;
