Index: trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 2452)
+++ trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 2453)
@@ -21,7 +21,7 @@
 //
 // $RCSfile: camera.cxx,v $
-// $Revision: 1.65 $
+// $Revision: 1.66 $
 // $Author: blanch $ 
-// $Date: 2003-10-26 19:43:00 $
+// $Date: 2003-11-03 12:58:40 $
 //
 ////////////////////////////////////////////////////////////////////////
@@ -1319,4 +1319,6 @@
 	     FADC_response_ampl,FADC_response_fwhm);
 
+  lons.SetSeed(Int_t(get_seeds(1)/get_seeds(0))+1);
+
   lons.SetPath(nsbpathname);
 
@@ -1324,4 +1326,6 @@
   MLons lons_outer(Trigger_response_ampl, Trigger_response_fwhm,
 		   FADC_resp_ampl_out,FADC_resp_fwhm_out);
+
+  lons_outer.SetSeed(Int_t(get_seeds(1)/get_seeds(0))+2);
 
   lons_outer.SetPath(nsbpath_outer);
@@ -1739,7 +1743,9 @@
 	}
 
-	// Read first and last time and put inumphe_CT[0] to 0
-	float tm=0, tM=9E+50;
+	inumphe=0;
+
 	for(int ict=0;ict<ct_Number;ict++){
+	 
+	  // Read first and last time and put inumphe_CT[0] to 0
 
 	  if (reflector_file_version<6)
@@ -1747,14 +1753,4 @@
 	  else
 	    mcevth_2[ict].get_times(&arrtmin_ns,&arrtmax_ns);
-	  
-	  tm=(tm<arrtmin_ns)?tm:arrtmin_ns;
-	  tM=(tM<arrtmax_ns)?tM:arrtmax_ns;
-	    
-	}
-	arrtmin_ns=tm;arrtmax_ns=tM;
-
-	inumphe=0;
-
-	for(int ict=0;ict<ct_Number;ict++){
 	  
 	  inumphe_CT[ict]=0;
@@ -4218,4 +4214,11 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.65  2003/10/26 19:43:00  blanch
+// - The screen output information has been improved to prevent some
+// non-desired running conditions just looking at the output screen.
+// - One MMcEvt for each Telscope is stored in the output file.
+// - 500 empty events are simualted to get a more precise estimation of the
+// pedestal Sigma for each pixel.
+//
 // Revision 1.64  2003/10/21 07:42:50  blanch
 // A factor 2.35 to transform the fwhm into the sigma of gaussian was missing
