Ignore:
Timestamp:
03/14/07 19:16:34 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/main/MStarguider.h

    r7792 r8377  
    103103    AltAz         fAltAzOffsetFromTp;
    104104
    105     Double_t fNumStarsDetected;
    106     Double_t fNumStarsCorrelated;
     105    Int_t          fNumStarsDetected;
     106    Int_t          fNumStarsCorrelated;
    107107
    108108    StarCatalog   *fSao;
     
    146146
    147147    XY FindRoqueLamp(FilterLed &f, FilterLed &f2, Ring &CameraCenter, MTime &t,
    148                      Double_t cut, Double_t box, XY SearchCenter);
     148                     Double_t cut, Int_t box, XY SearchCenter);
    149149
    150150    ZdAz FindStar(FilterLed &f, FilterLed &f2, Ring &center, MTime &t,
    151                   Double_t cut, Double_t box, Double_t scalefactor);
     151                  Double_t cut, Int_t box, Double_t scalefactor);
    152152
    153153    //void InitHists();
     
    191191
    192192    void Print(TString &str, Double_t deg) const;
     193    void Print(Option_t *o) const { }
    193194
    194195    ClassDef(MStarguider, 0)
  • trunk/MagicSoft/Cosy/main/MTracking.cc

    r7313 r8377  
    1010
    1111ClassImp(MTracking);
     12
     13using namespace std;
    1214
    1315//#define EXPERT
     
    358360    // Estimate Offset before starting to track
    359361    ZdAz repos = fCosy->GetRePos();
    360     fCosy->fZd1->SetOffset(repos.Zd());
    361     fCosy->fZd2->SetOffset(repos.Zd());
    362     fCosy->fAz->SetOffset(repos.Az());
     362    fCosy->fZd1->SetOffset(TMath::Nint(repos.Zd()));
     363    fCosy->fZd2->SetOffset(TMath::Nint(repos.Zd()));
     364    fCosy->fAz->SetOffset(TMath::Nint(repos.Az()));
    363365
    364366    fCosy->SetTrackingPosRE(GetPointingPosRE());
Note: See TracChangeset for help on using the changeset viewer.