Changeset 1624


Ignore:
Timestamp:
11/15/02 17:11:39 (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

    r1622 r1624  
    22
    3315/11/2002 A. Moralejo
     4
     5ph2cph.c: Fixed BUG in timing calculation!!! The time to be subtracted
     6(mirror till ground) had the wrong sign!!!
    47
    58reflector.c: in the wavelength range check, changed the range limits to
  • trunk/MagicSoft/Simulation/Detector/ReflectorII/ph2cph.c

    r1621 r1624  
    672672   the photon actually hit the mirror!!
    673673  */
    674  
    675   t = (float) (t + ((( xm[2] > 0. ) ? -1.0 : +1.0) *
     674  /* AM 15/11/2002  Fixed BUG in timing!!! The time to be subtracted
     675   * (mirror till ground) had the wrong sign!!!
     676   */     
     677  t = (float) (t + ((( xm[2] > 0. ) ? +1.0 : -1.0) *
    676678              sqrt( SQR(xm[0] - xcut[0]) +
    677679                    SQR(xm[1] - xcut[1]) +
Note: See TracChangeset for help on using the changeset viewer.