Ignore:
Timestamp:
11/15/02 15:41:29 (22 years ago)
Author:
bigongia
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/ReflectorII/reflector.c

    r1614 r1622  
    288288               is not in the expected range, which we now take from the corsika
    289289               event header (just in case we would change it in the future).
     290
     291               AM Nov 2002: Changed the w range to the fixed values 290 and
     292               600 nm. The StarFieldAdder cer files cannot be read otherwise,
     293               because the w range is not written in their headers.
    290294            */
    291295
    292                if (wlen < cheadp->CWaveLower || wlen > cheadp->CWaveUpper)
    293                  {
    294                    printf("Warning: skipped one photon with strange wavelength: %f nm\n", wlen);
    295                    continue;
    296                  }
     296            if (wlen < 290 || wlen > 600)
     297              continue;
     298
    297299
    298300            /* ADDED AM May 2002: now we take into account the telescope
Note: See TracChangeset for help on using the changeset viewer.