Changeset 1622
- Timestamp:
- 11/15/02 15:41:29 (22 years ago)
- Location:
- trunk/MagicSoft/Simulation/Detector/ReflectorII
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/ReflectorII/Changelog
r1621 r1622 2 2 3 3 15/11/2002 A. Moralejo 4 5 reflector.c: in the wavelength range check, changed the range limits to 6 the fixed values 290 and 600 nm. The StarFieldAdder cer files could not be 7 processed otherwise, because the w range is not written in their headers. 8 4 9 ph2cph.c: changed sign of phi angle to make it positive. This was necessary 5 10 since now the vector indicating the reflected photon trajectory has also -
trunk/MagicSoft/Simulation/Detector/ReflectorII/reflector.c
r1614 r1622 288 288 is not in the expected range, which we now take from the corsika 289 289 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. 290 294 */ 291 295 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 297 299 298 300 /* ADDED AM May 2002: now we take into account the telescope
Note:
See TracChangeset
for help on using the changeset viewer.