Index: trunk/MagicSoft/Mars/msimcamera/MSimCamera.cc
===================================================================
--- trunk/MagicSoft/Mars/msimcamera/MSimCamera.cc	(revision 9322)
+++ trunk/MagicSoft/Mars/msimcamera/MSimCamera.cc	(revision 9323)
@@ -172,7 +172,8 @@
     for (int i=0; i<fElectronicNoise->GetSize(); i++)
     {
+        // 64 -> Dynamic range 12 bit left
         MPedestalPix &ped = (*fElectronicNoise)[i];
-        ped.SetPedestal(15*256); // Baseline at 15 like in MAGIC
-        ped.SetPedestalRms(1.5*256);//2.0); // 1.5 bit noise for a gain of 64
+        ped.SetPedestal(15*64);     // Baseline at 15 like in MAGIC
+        ped.SetPedestalRms(1.5*64); //2.0); // 1.5 bit noise for a gain of 64
         ped.SetPedestalABoffset(0);
         ped.SetNumEvents(0);
@@ -181,6 +182,6 @@
         // 8 signal height of one phe
         MPedestalPix &gain = (*fGain)[i];
-        gain.SetPedestal(8*256);
-        gain.SetPedestalRms(0); 
+        gain.SetPedestal(4*64);     // This allows a maximum of 200phe/pix
+        gain.SetPedestalRms(0);
         gain.SetPedestalABoffset(0);
         gain.SetNumEvents(0);
