Changeset 19159


Ignore:
Timestamp:
08/13/18 22:58:18 (6 years ago)
Author:
Daniela Dorner
Message:
fixed abberation correction
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mimage/MHillasSrc.cc

    r18751 r19159  
    117117
    118118     // The abberation value corrects for the average shift of
    119      // the CoG of a light distirbution in the camera by the optics.
    120      // The FACT refelctor for example reflects the CoG to a point
     119     // the CoG of a light distribution in the camera by the optics.
     120     // The FACT reflector for example reflects the CoG to a point
    121121     // 2% further away than the master ray. This could be corrected
    122122     // moving all pixels (in the image parameter calculation) 2%
    123      // outwards. Instead, simply the source position 'reflected'
    124      // (as if it were the master ray) is moved 2% inwards in the
     123     // inwards. Instead, simply the source position 'reflected'
     124     // (as if it were the master ray) is moved 2% outwards in the
    125125     // camera.
    126      const Double_t sx = mx - fSrcPos->GetX()/abberation;  // [mm]
    127      const Double_t sy = my - fSrcPos->GetY()/abberation;  // [mm]
     126     const Double_t sx = mx - fSrcPos->GetX()*abberation;  // [mm]
     127     const Double_t sy = my - fSrcPos->GetY()*abberation;  // [mm]
    128128
    129129     const Double_t sd = hillas.GetSinDelta();  // [1]
Note: See TracChangeset for help on using the changeset viewer.