Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 8646)
+++ trunk/MagicSoft/Mars/Changelog	(revision 8647)
@@ -42,4 +42,9 @@
    * mranforest/MRanForestCalc.cc:
      - set fTitle as eventloop name instead of fName
+
+   * mimage/MNewImagePar.[h,cc]:
+     - removed the fInner-stuff. It was never good for anything
+       only for space- and time-consumption
+     - increased class-version number by one
 
 
Index: trunk/MagicSoft/Mars/mimage/MNewImagePar.cc
===================================================================
--- trunk/MagicSoft/Mars/mimage/MNewImagePar.cc	(revision 8646)
+++ trunk/MagicSoft/Mars/mimage/MNewImagePar.cc	(revision 8647)
@@ -32,7 +32,4 @@
 //    Float_t fLeakage1;             // (photons in most outer ring of pixels) over fSize
 //    Float_t fLeakage2;             // (photons in the 2 outer rings of pixels) over fSize
-//    Float_t fInnerLeakage1;        // (photons in most outer rings of inner pixels) over fInnerSize
-//    Float_t fInnerLeakage2;        // (photons in the 2 outer rings of inner pixels) over fInnerSize
-//    Float_t fInnerSize;            //
 //
 //    Float_t fConc;                 // [ratio] concentration ratio: sum of the two highest pixels / fSize
@@ -72,4 +69,9 @@
 //  - added fConcCore
 //
+// Version 6:
+// ----------
+//  - removed fInnerLeakage1
+//  - removed fInnerLeakage2
+//  - removed fInnerSize
 //
 /////////////////////////////////////////////////////////////////////////////
@@ -109,8 +111,4 @@
     fLeakage1 = -1;
     fLeakage2 = -1;
-
-    fInnerLeakage1 = -1;
-    fInnerLeakage2 = -1;
-    fInnerSize     = -1;
 
     fConc     = -1;
@@ -139,12 +137,8 @@
     fCoreArea = 0;
 
-    fInnerSize = 0;
     fConcCore  = 0;
 
     Double_t edgepix1 = 0;
     Double_t edgepix2 = 0;
-
-    Double_t edgepixin1 = 0;
-    Double_t edgepixin2 = 0;
 
     Float_t maxpix1 = 0;                                 // [#phot]
@@ -157,9 +151,4 @@
     const Double_t rl = 1./(hillas.GetLength()*hillas.GetLength());
     const Double_t rw = 1./(hillas.GetWidth() *hillas.GetWidth());
-
-    const Bool_t ismagiclike =
-        geom.GetNumPixels() == 577 &&
-        geom.GetNumAreas()  == 2   &&
-        geom.GetPixRatio(396) > geom.GetPixRatio(397);
 
     UInt_t npix = evt.GetNumPixels();
@@ -245,23 +234,4 @@
            edgepix2 += nphot;
 
-        const Double_t ratio = geom.GetPixRatio(i);
-        if (TMath::Nint(ratio)==1) // Means this is a small (= inner pixel)
-        {
-            fInnerSize += nphot;
-
-            // Do calculation of "inner leakage" only for MAGIC-like geometry,
-            // i.e., 577 pixels, pixels of 2 different areas, inner part
-            // from pixel 0 to 396:
-            if (ismagiclike)
-            {
-                if(i > 270) // last two "rings" of inner pixels
-                {
-                    edgepixin2 += nphot;
-                    if(i > 330)  // last "ring" of inner pixels
-                        edgepixin1 += nphot;
-                }
-            }
-        }
-
         //
         // Now convert nphot from absolute number of photons or phe to signal
@@ -269,5 +239,5 @@
         // density:
         //
-        nphot *= ratio;
+        nphot *= geom.GetPixRatio(i);
 
  	// Look for signal density in two highest pixels:
@@ -282,7 +252,4 @@
     }
 
-    fInnerLeakage1 = edgepixin1 / fInnerSize;
-    fInnerLeakage2 = edgepixin2 / fInnerSize;
-
     fLeakage1 = edgepix1 / hillas.GetSize();
     fLeakage2 = edgepix2 / hillas.GetSize();
@@ -318,7 +285,4 @@
     *fLog << " - Leakage1         [1] = " << fLeakage1      << endl;
     *fLog << " - Leakage2         [1] = " << fLeakage2      << endl;
-    *fLog << " - InnerLeakage1    [1] = " << fInnerLeakage1 << endl;
-    *fLog << " - InnerLeakage2    [1] = " << fInnerLeakage2 << endl;
-    *fLog << " - InnerSize      [phe] = " << fInnerSize     << endl;
     *fLog << " - Conc             [1] = " << fConc          << endl;
     *fLog << " - Conc1            [1] = " << fConc1         << endl;
@@ -342,7 +306,4 @@
     *fLog << " - Leakage1         [1] = " << fLeakage1      << endl;
     *fLog << " - Leakage2         [1] = " << fLeakage2      << endl;
-    *fLog << " - InnerLeakage1    [1] = " << fInnerLeakage1 << endl;
-    *fLog << " - InnerLeakage2    [1] = " << fInnerLeakage2 << endl;
-    *fLog << " - InnerSize      [phe] = " << fInnerSize     << endl;
     *fLog << " - Conc             [1] = " << fConc          << endl;
     *fLog << " - Conc1            [1] = " << fConc1         << endl;
Index: trunk/MagicSoft/Mars/mimage/MNewImagePar.h
===================================================================
--- trunk/MagicSoft/Mars/mimage/MNewImagePar.h	(revision 8646)
+++ trunk/MagicSoft/Mars/mimage/MNewImagePar.h	(revision 8647)
@@ -17,7 +17,4 @@
     Float_t fLeakage1;             // (photons in most outer ring of pixels) over fSize
     Float_t fLeakage2;             // (photons in the 2 outer rings of pixels) over fSize
-    Float_t fInnerLeakage1;        // (photons in most outer rings of inner pixels) over fInnerSize
-    Float_t fInnerLeakage2;        // (photons in the 2 outer rings of inner pixels) over fInnerSize
-    Float_t fInnerSize;            //
 
     Float_t fConc;                 // [ratio] concentration ratio: sum of the two highest pixels / fSize
@@ -39,8 +36,4 @@
     Float_t GetLeakage2() const { return fLeakage2; }
 
-    Float_t GetInnerLeakage1() const { return fInnerLeakage1; }
-    Float_t GetInnerLeakage2() const { return fInnerLeakage2; }
-    Float_t GetInnerSize()     const { return fInnerSize; }
-
     Float_t GetConc() const     { return fConc;     }
     Float_t GetConc1() const    { return fConc1;    }
@@ -60,5 +53,5 @@
               const MHillas &hillas, Int_t island=-1);
 
-    ClassDef(MNewImagePar, 5) // Container to hold new image parameters
+    ClassDef(MNewImagePar, 6) // Container to hold new image parameters
 };
 
