Changeset 336 for trunk/MagicSoft/Simulation/Detector/Reflector
- Timestamp:
- 01/03/00 12:41:26 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Reflector/reflector.cxx
r301 r336 20 20 // 21 21 // $RCSfile: reflector.cxx,v $ 22 // $Revision: 1. 2$22 // $Revision: 1.3 $ 23 23 // $Author: harald $ 24 // $Date: 1999-11-01 11:05:54$24 // $Date: 2000-01-03 12:41:26 $ 25 25 // 26 26 //////////////////////////////////////////////////////////////////////// … … 1986 1986 // the photon actually hit the mirror!! 1987 1987 1988 t = t - sqrt( SQR(xm[0] - xcut[0]) +1989 SQR(xm[1] - xcut[1]) +1990 SQR(xm[2] - xcut[2]) ) / Speed_of_Light_air_cmns;1991 1988 t = t + ((( xm[2] > 0. ) ? -1.0 : +1.0) * 1989 sqrt( SQR(xm[0] - xcut[0]) + 1990 SQR(xm[1] - xcut[1]) + 1991 SQR(xm[2] - xcut[2]) ) / Speed_of_Light_air_cmns); 1992 1992 // add path from the mirror till the camera 1993 1993 … … 3531 3531 // 3532 3532 // $Log: not supported by cvs2svn $ 3533 // Revision 1.2 1999/11/01 11:05:54 harald 3534 // Small changes to comile the reflector program under linux. 3535 // (Different use of NULL on DECalphas-osf1 and on linux) 3536 // 3533 3537 // Revision 1.1.1.1 1999/10/29 07:00:33 harald 3534 3538 // This is the startpoint for the futher development of the Reflector program
Note:
See TracChangeset
for help on using the changeset viewer.