- Timestamp:
- 04/30/03 08:32:17 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/ReflectorII/Changelog
r2046 r2047 8 8 a wrong mirror was chosen, which was actually further away from the impact 9 9 point than the mirror size, and therefore the photon was discarded later as 10 "not hitting any mirror" . Now we measure the distance on the paraboloid. The11 new code is:10 "not hitting any mirror" (about 20% loss for eco1000) Now we measure the 11 distance on the paraboloid. The new code is: 12 12 13 13 /* calculate the mirror to be used */ … … 24 24 } 25 25 } 26 27 Now the "distance" we calculate on the paraboloid is not a real distance, 28 because sx,sy are measured along the cut between the paraboloid and planes 29 containing the paraboloid axis and the x or y axis... but this should not 30 matter much with such "flat" paraboloids. What cannot be done, as was before, 31 is check the distance in the x,y,z space and then check whether the photon 32 is inside the mirror in the sx,sy space, because then we lose photons for 33 which a nearest mirror is chosen which in sx,sy is not close enough to 34 contain the photon. 26 35 27 36 geometry.c:
Note:
See TracChangeset
for help on using the changeset viewer.