Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 2140)
+++ trunk/MagicSoft/Mars/Changelog	(revision 2141)
@@ -1,3 +1,16 @@
                                                  -*-*- END OF LINE -*-*-
+
+ 2003/05/26: Wolfgang Wittek
+
+   * mfileio/MCT1ReadPreProc.cc
+     - put back :  if (event.spixsig_10thphot[i]==0)
+                         continue;
+ 
+   * Manalysis/MPadSchweizer.cc
+     - add pixels to MCerPhotEvt which are not yet in;
+       set their number of photons equal to zero
+
+
+
  2003/05/23: Abelardo Moralejo
 
@@ -75,4 +88,7 @@
        seem to work well. Any other kind of ordering might be harmful 
        as well (in theta, phi or whatever).
+
+
+
 
 
Index: trunk/MagicSoft/Mars/manalysis/MPadSchweizer.cc
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MPadSchweizer.cc	(revision 2140)
+++ trunk/MagicSoft/Mars/manalysis/MPadSchweizer.cc	(revision 2141)
@@ -268,4 +268,33 @@
   //*fLog << "Entry MPadSchweizer::Process();" << endl;
 
+  //------------------------------------------------
+  // add pixels to MCerPhotEvt which are not yet in;
+  // set their numnber of photons equal to zero
+
+  UInt_t imaxnumpix = fCam->GetNumPixels();
+
+  for (UInt_t i=0; i<imaxnumpix; i++)
+  {
+    Bool_t alreadythere = kFALSE;
+    UInt_t npix = fEvt->GetNumPixels();
+    for (UInt_t j=0; j<npix; j++)
+    {
+      MCerPhotPix &pix = (*fEvt)[j];
+      UInt_t id = pix.GetPixId();
+      if (i==id)
+      {
+        alreadythere = kTRUE;
+        break;
+      }
+    }
+    if (alreadythere)
+      continue;
+
+    fEvt->AddPixel(i, 0.0, (*fPed)[i].GetMeanRms());
+  }
+
+
+
+  //-----------------------------------------
   Int_t rc=0;
 
Index: trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc
===================================================================
--- trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc	(revision 2140)
+++ trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc	(revision 2141)
@@ -920,7 +920,8 @@
     for (Int_t i=0; i<iMAXNUMPIX; i++)
     {
-        // next 2 statements commented out by WW
-        //if (event.spixsig_10thphot[i]==0)
-        //      continue;
+      //*fLog << event.spixsig_10thphot[i] << " ";
+
+      if (event.spixsig_10thphot[i]==0)
+            continue;
 
         fNphot->AddPixel(i, 0.1*event.spixsig_10thphot[i],
