Ignore:
Timestamp:
03/14/07 19:12:17 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/catalog
Files:
3 edited

Legend:

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

    r3897 r8376  
    11#include "SlaPlanets.h"
    22
    3 #include <iostream.h>
     3#include <iostream>
    44
    55#include "slalib.h"
    66
    77ClassImp(SlaPlanets);
     8
     9using namespace std;
    810
    911SlaPlanets::SlaPlanets(MObservatory::LocationName_t key) : Slalib(key), fDt(slaDt(2000.0)/60./60./24.)
  • trunk/MagicSoft/Cosy/catalog/Slalib.cc

    r4104 r8376  
    22
    33#include <time.h>
    4 #include <iostream.h>  // cout
     4#include <iostream>  // cout
    55
    66#include "coord.h"
     
    99
    1010ClassImp(Slalib);
     11
     12using namespace std;
    1113
    1214Slalib::Slalib(MObservatory::LocationName_t key) : MObservatory(key)
  • trunk/MagicSoft/Cosy/catalog/StarCatalog.cc

    r7787 r8376  
    11#include "StarCatalog.h"
    22
    3 #include <iomanip.h>   // cout
    4 #include <iostream.h>  // cout
     3#include <iomanip>   // cout
     4#include <iostream>  // cout
    55
    66#include <TSystem.h>
     
    1515
    1616ClassImp(StarCatalog);
     17
     18using namespace std;
    1719
    1820StarCatalog::StarCatalog(MObservatory::LocationName_t key) : SlaStars(key), fW(768), fH(576), fAstro(0), /*fSao(NULL), fSrt(NULL), fEntries(0),*/ fSinAngle(0), fCosAngle(1), fBox(768)
     
    136138    {
    137139        const int mag = (10 - (star->GetMag()>1 ? (int)star->GetMag() : 1))/2;
    138         Double_t color = 0xf0; //0x0f;       
     140        Int_t color = 0xf0; //0x0f;
    139141        // DrawStars flips the picture in X defaultwise now
    140142        DrawCircle(color, img, 768-(int)star->GetX(), (int)star->GetY(), mag);
     
    155157{
    156158    // For an apropriate unit conversion to pixels [pix/rad]
    157     const Double_t scale = TMath::RadToDeg()*sqrt(768*768 + 576*576)/(fAstro->GetRadiusFOV()*2);
     159    const Double_t scale = TMath::RadToDeg()*TMath::Sqrt(768*768 + 576*576)/(fAstro->GetRadiusFOV()*2);
    158160
    159161    // Offsets to shift [-n/2;n/2] to [0;n] and to
Note: See TracChangeset for help on using the changeset viewer.