Ignore:
Timestamp:
02/07/09 20:40:28 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mastro
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mastro/MAstroCamera.cc

    r8106 r9302  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MAstroCamera.cc,v 1.30 2006-10-17 17:15:58 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MAstroCamera.cc,v 1.31 2009-02-07 20:39:55 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    8888#include "MGeomMirror.h"
    8989
     90#include "MString.h"
     91
    9092#include "MTime.h"
    9193#include "MAstroSky2Local.h"
     
    411413        // transform meters into millimeters (camera display works with mm)
    412414        mean *= 1./num;
    413         DrawStar(mean(0), mean(1), *radec, hasmean?kBlack:-1, Form("x=%.1fmm y=%.1fmm", mean(0), mean(1)), resize);
     415        DrawStar(mean(0), mean(1), *radec, hasmean?kBlack:-1, MString::Format("x=%.1fmm y=%.1fmm", mean(0), mean(1)), resize);
    414416        if (hasnull)
    415417        {
     
    417419            vstar *= rot;
    418420            const TVector3 spot = fMirror0->GetReflection(vstar, fGeom->GetCameraDist())*1000;
    419             DrawStar(spot(0), spot(1), *radec, hasmean?kBlack:-1, Form("x=%.1fmm y=%.1fmm", mean(0), mean(1)), resize);
     421            DrawStar(spot(0), spot(1), *radec, hasmean?kBlack:-1, MString::Format("x=%.1fmm y=%.1fmm", mean(0), mean(1)), resize);
    420422            // This can be used to get the abberation...
    421423            //cout << TMath::Hypot(spot(0), spot(1)) << " " << TMath::Hypot(mean(0)-spot(0), mean(1)-spot(1)) << endl;
  • trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc

    r9292 r9302  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MAstroCatalog.cc,v 1.32 2009-02-03 13:27:58 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MAstroCatalog.cc,v 1.33 2009-02-07 20:40:01 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    11981198
    11991199    TString txt;
    1200     txt += Form("\\alpha=%.2fh ",      fmod(ra/15+48, 24));
    1201     txt += Form("\\delta=%.1f\\circ ", fmod(dec+270,180)-90);
    1202     txt += Form("/ FOV=%.1f\\circ",    fRadiusFOV);
     1200    txt += MString::Format("\\alpha=%.2fh ",      fmod(ra/15+48, 24));
     1201    txt += MString::Format("\\delta=%.1f\\circ ", fmod(dec+270,180)-90);
     1202    txt += MString::Format("/ FOV=%.1f\\circ",    fRadiusFOV);
    12031203
    12041204    if (!fTime || !fObservatory)
     
    12141214
    12151215    txt.Prepend("#splitline{");
    1216     txt += Form("  \\theta=%.1f\\circ ", fmod(zd+270,180)-90);
    1217     txt += Form("\\phi=%.1f\\circ ",     fmod(az+720, 360));
    1218     txt += Form(" / \\rho=%.1f\\circ",   rho*TMath::RadToDeg());
     1216    txt += MString::Format("  \\theta=%.1f\\circ ", fmod(zd+270,180)-90);
     1217    txt += MString::Format("\\phi=%.1f\\circ ",     fmod(az+720, 360));
     1218    txt += MString::Format(" / \\rho=%.1f\\circ",   rho*TMath::RadToDeg());
    12191219    txt += "}{<";
    12201220    txt += fTime->GetSqlDateTime();
Note: See TracChangeset for help on using the changeset viewer.