Ignore:
Timestamp:
11/15/02 15:41:29 (22 years ago)
Author:
bigongia
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Simulation/Detector/ReflectorII
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/ReflectorII/Changelog

    r1621 r1622  
    22
    3315/11/2002 A. Moralejo
     4
     5reflector.c: in the wavelength range check, changed the range limits to
     6the fixed values 290 and 600 nm. The StarFieldAdder cer files could not be
     7processed otherwise, because the w range is not written in their headers.
     8
    49ph2cph.c: changed sign of phi angle to make it positive. This was necessary
    510since now the vector indicating the reflected photon trajectory has also
  • 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.