Ignore:
Timestamp:
02/13/09 17:46:02 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msimcamera/MSimGeomCam.cc

    r9308 r9332  
    148148        {
    149149            // FIXME: Improve search algorithm (2D Binary search?)
    150             if (!(*fGeom)[idx].IsInside(ph.GetPosX()*10, ph.GetPosY()*10))
     150            // Here we convert the photons from the ceres-coordinate
     151            // system which is viewed from the camera to the mirror
     152            // into the camera coordinates which are viewed from
     153            // the mirror to the camera.
     154            // (x on the right, y upwards, right-handed)
     155            if (!(*fGeom)[idx].IsInside(-ph.GetPosX()*10, ph.GetPosY()*10))
    151156                continue;
    152157
Note: See TracChangeset for help on using the changeset viewer.