Changeset 8377 for trunk/MagicSoft


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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/Changelog

    r8376 r8377  
    88     catalog/StarCatalog.cc, gui/MGAccuracy.cc, gui/MGCoordinate.cc,
    99     gui/MGCoordinates.cc, gui/MGCosy.cc, gui/MGNumStars.cc,
    10      gui/MGSkyPosition.cc, main/MBending.cc, main/MStargHistograms.cc:
     10     gui/MGSkyPosition.cc, main/MBending.cc, main/MStargHistograms.cc,
     11     base/coord.h, main/MCaos.cc, main/MCosy.cc, main/MPointing.cc,
     12     main/MStarguider.cc, main/MTracking.cc:
    1113     - replaced obsolete .h by C++ headers
    1214     - added namespace std
     
    1517     - fixed warnings about overwriting of Delete
    1618
    17    * base/MStopwatch.h, gui/MGCoordinate.h, gui/MGCoordinates.h:
     19   * base/MStopwatch.h, gui/MGCoordinate.h, gui/MGCoordinates.h,
     20     main/MStarguider.h:
    1821     - fixed warning about overwriting of Print()
    1922
     
    2124     - fixed default argument is declaration
    2225
    23    * catalog/StarCatalog.cc, gui/MGAccuracy.cc:
     26   * catalog/StarCatalog.cc, gui/MGAccuracy.cc, main/MCaos.[h,cc],
     27     main/MCosy.cc, main/MPointing.cc, main/MStarguider.cc,
     28     main/MTracking.cc:
    2429     - fixed a type problem (int instead of double)
    2530
  • 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());
  • trunk/MagicSoft/Cosy/videodev/FilterLed.cc

    r7794 r8377  
    22
    33#include <memory.h>   // memset
    4 #include <iostream.h> // cout
     4#include <iostream> // cout
    55
    66#include "Led.h"
     
    1111
    1212ClassImp(FilterLed);
     13
     14using namespace std;
    1315
    1416class ClusterFinder
Note: See TracChangeset for help on using the changeset viewer.