Changeset 7773 for trunk/MagicSoft


Ignore:
Timestamp:
06/29/06 12:45:02 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/Changelog

    r7764 r7773  
    11                                                                  -*-*- END -*-*-
     2 2006/06/29 Thomas Bretz
     3
     4   * main/MStarguider.cc:
     5     - fixed a bug which gave a starguider mispointing which was wrong
     6       by the pointing position.
     7
     8   * catalog/StarCatalog.cc:
     9     - replaced some Float_t by Int_t
     10
     11
     12
    213 2006/06/28 Thomas Bretz
    314
  • trunk/MagicSoft/Cosy/catalog/StarCatalog.cc

    r7767 r7773  
    159159    // Offsets to shift [-n/2;n/2] to [0;n] and to
    160160    // move the stars in the counterdirection of the LEDs
    161     const Float_t offx = 768/2 + xo;
    162     const Float_t offy = 576/2 + yo;
     161    const Int_t offx = 768/2 + xo;
     162    const Int_t offy = 576/2 + yo;
    163163
    164164    // Allow catalog stars to be a bit outside [0.2deg] of the
  • trunk/MagicSoft/Cosy/main/MStarguider.cc

    r7769 r7773  
    13681368#endif
    13691369
    1370     //AltAz pos0 = fSao->CalcAltAzFromPix(768/2,    576/2)*kRad2Deg;
     1370    AltAz pos0 = fSao->CalcAltAzFromPix(768/2,    576/2)*kRad2Deg;
    13711371    AltAz pos1 = fSao->CalcAltAzFromPix(768/2+mx, 576/2+my)*kRad2Deg;
    13721372/*
     
    13761376        fout1 << fCosy->GetPointingPos() << " ";
    13771377    fout1 << -pos1.Alt() << " " << pos1.Az() << endl;
    1378 
     1378 */
    13791379    pos1 -= pos0;
    1380 
     1380/*
    13811381    ofstream fout2("tracking_error.txt", ios::app);
    13821382    fout2 << setprecision(10) << fSao->GetMjd()-52000 << " ";
Note: See TracChangeset for help on using the changeset viewer.