Index: trunk/MagicSoft/Simulation/Detector/ReflectorII/Changelog
===================================================================
--- trunk/MagicSoft/Simulation/Detector/ReflectorII/Changelog	(revision 1621)
+++ trunk/MagicSoft/Simulation/Detector/ReflectorII/Changelog	(revision 1622)
@@ -2,4 +2,9 @@
 
 15/11/2002 A. Moralejo
+
+reflector.c: in the wavelength range check, changed the range limits to 
+the fixed values 290 and 600 nm. The StarFieldAdder cer files could not be 
+processed otherwise, because the w range is not written in their headers.
+
 ph2cph.c: changed sign of phi angle to make it positive. This was necessary
 since now the vector indicating the reflected photon trajectory has also 
Index: trunk/MagicSoft/Simulation/Detector/ReflectorII/reflector.c
===================================================================
--- trunk/MagicSoft/Simulation/Detector/ReflectorII/reflector.c	(revision 1621)
+++ trunk/MagicSoft/Simulation/Detector/ReflectorII/reflector.c	(revision 1622)
@@ -288,11 +288,13 @@
 	       is not in the expected range, which we now take from the corsika
 	       event header (just in case we would change it in the future).
+
+	       AM Nov 2002: Changed the w range to the fixed values 290 and 
+	       600 nm. The StarFieldAdder cer files cannot be read otherwise,
+	       because the w range is not written in their headers.
 	    */
 
-	       if (wlen < cheadp->CWaveLower || wlen > cheadp->CWaveUpper)
-		 {
-		   printf("Warning: skipped one photon with strange wavelength: %f nm\n", wlen);
-		   continue;
-		 }
+	    if (wlen < 290 || wlen > 600)
+	      continue;
+
 
 	    /* ADDED AM May 2002: now we take into account the telescope
