Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 3989)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 3990)
@@ -26,4 +26,6 @@
    * mcalib/MCalibrationChargePix.cc
      - loosened the limits somewhat for calibration with the low-gain
+     - introduced different electronic noise for inner and outer pixels
+       (like seen in the data)
 
    * mpedestal/MPedCalcPedRun.cc
Index: /trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.cc
===================================================================
--- /trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.cc	(revision 3989)
+++ /trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.cc	(revision 3990)
@@ -79,6 +79,7 @@
 using namespace std;
 
-const Float_t MCalibrationChargePix::gkElectronicPedRms         = 1.5;
-const Float_t MCalibrationChargePix::gkElectronicPedRmsErr      = 0.1;
+const Float_t MCalibrationChargePix::gkElectronicPedRmsInner    = 1.5;
+const Float_t MCalibrationChargePix::gkElectronicPedRmsOuter    = 1.8;
+const Float_t MCalibrationChargePix::gkElectronicPedRmsErr      = 0.35;
 const Float_t MCalibrationChargePix::gkFFactor                  = 1.15;
 const Float_t MCalibrationChargePix::gkFFactorErr               = 0.02;
@@ -87,5 +88,5 @@
 const Float_t MCalibrationChargePix::fgConversionHiLoErr        = 2.5;
 const Float_t MCalibrationChargePix::fgPheFFactorMethodLimit    = 5.;
-const Float_t MCalibrationChargePix::fgConvFFactorRelErrLimit   = 0.5;
+const Float_t MCalibrationChargePix::fgConvFFactorRelErrLimit   = 0.75;
 // --------------------------------------------------------------------------
 //
@@ -605,4 +606,5 @@
   //
   fRSigmaSquare = sigmaSquare - pedRmsSquare;
+
   if (fRSigmaSquare <= 0.)
     {
@@ -690,6 +692,7 @@
   // 
   const Float_t convrelvar = ffactorsquareRelVar + GetMeanRelVar() + rsigmaSquareRelVar;
-
-  if (convrelvar > fConvFFactorRelVarLimit || convrelvar < 0.)
+  const Float_t limit      = IsHiGainSaturation() ? fConvFFactorRelVarLimit * 4. : fConvFFactorRelVarLimit;
+
+  if (convrelvar > limit || convrelvar < 0.)
     {
       *fLog << warn << GetDescriptor() << ": Conversion F-Factor Method Rel. Variance: " 
@@ -771,5 +774,5 @@
 //   Var (Low Gain Ped RMS Square) = Var(LoGain NSB square) + Var(elec.ped. square)
 //
-void MCalibrationChargePix::CalcLoGainPedestal(Float_t logainsamples)
+void MCalibrationChargePix::CalcLoGainPedestal(Float_t logainsamples, const Int_t aidx)
 {
 
@@ -780,5 +783,6 @@
     return;
 
-  const Float_t elecPedRms     = gkElectronicPedRms    * TMath::Sqrt(logainsamples);
+  const Float_t elecPedRms     = (aidx > 0 ? gkElectronicPedRmsOuter : gkElectronicPedRmsInner ) 
+                               * TMath::Sqrt(logainsamples);
   const Float_t elecPedRmsVar  = gkElectronicPedRmsErr * gkElectronicPedRmsErr * logainsamples;
   
