Changeset 7767 for trunk


Ignore:
Timestamp:
06/28/06 14:08:10 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/catalog/StarCatalog.cc

    r7764 r7767  
    231231        // Check if the resulting star is in the
    232232        // search box for the real stars
    233         if (rx<x0 || rx>=x1 || ry<y0 || ry>=y1)
     233        if (xx<x0 || xx>=x1 || yy<y0 || yy>=y1)
    234234            continue;
    235235
    236236        // Store pixel coordinates of star in list
    237         list.Add(rx, ry, -2.5*log10(mag));
     237        list.Add(xx, yy, -2.5*log10(mag));
    238238    }
    239239}
  • trunk/MagicSoft/Cosy/main/MStargHistograms.cc

    r7764 r7767  
    7171        tree->Branch("CenterY.",    &fCenterY,       "fCenterY/D");
    7272        // Center of Camera, offset from arb coords, in Zd, Az, deg
    73         tree->Branch("CenterZd.",    &fCenterZd,        "fCenterZd/D");
    74         tree->Branch("CenterAz.",    &fCenterAz,       "fCenterAz/D");
     73//        tree->Branch("CenterZd.",    &fCenterZd,        "fCenterZd/D");
     74//        tree->Branch("CenterAz.",    &fCenterAz,       "fCenterAz/D");
    7575        // Position of Star in Camera in Zd, Az
    7676        tree->Branch("StarZd.",    &fStarZd,        "fStarZd/D");
  • trunk/MagicSoft/Cosy/main/MStarguider.cc

    r7766 r7767  
    19871987        const Bool_t centerisvalid = sgcenter.GetX()>0 && sgcenter.GetY()>0;
    19881988        if (centerisvalid)
    1989             skycenter.SetXY(sgcenter.GetX() - offset.GetX(),
    1990                             sgcenter.Y() - offset.Y());
     1989            skycenter.SetXY(sgcenter.GetX() - offset.X(),
     1990                            sgcenter.GetY() - offset.Y());
    19911991
    19921992        // we obtain stars in the effective star FOV and draw them.
Note: See TracChangeset for help on using the changeset viewer.