Index: trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 908)
+++ trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 922)
@@ -21,7 +21,7 @@
 //
 // $RCSfile: camera.cxx,v $
-// $Revision: 1.26 $
+// $Revision: 1.27 $
 // $Author: blanch $ 
-// $Date: 2001-07-19 09:29:53 $
+// $Date: 2001-09-05 10:04:33 $
 //
 ////////////////////////////////////////////////////////////////////////
@@ -491,8 +491,9 @@
   //@'
 
-  for(i=0;i<iMAXNUMPIX;i++)
+  for(i=0;i<iMAXNUMPIX;i++){
+    nsb_phepns[i]=0;
     for(j=0;j<iNUMWAVEBANDS;j++)
       nsbrate_phepns[i][j]=0.0;    //@< Starlight rates initialised at 0.0
-
+  }
   /*!@'
 
@@ -3247,4 +3248,7 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.26  2001/07/19 09:29:53  blanch
+// Different threshold for each pixel can be used.
+//
 // Revision 1.25  2001/05/08 08:07:54  blanch
 // New numbering for branches from different trigger conditions has been
@@ -3310,4 +3314,7 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.26  2001/07/19 09:29:53  blanch
+// Different threshold for each pixel can be used.
+//
 // Revision 1.25  2001/05/08 08:07:54  blanch
 // New numbering for branches from different trigger conditions has been
