Changeset 9302 for trunk/MagicSoft/Mars/mastro
- Timestamp:
- 02/07/09 20:40:28 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mastro
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mastro/MAstroCamera.cc
r8106 r9302 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MAstroCamera.cc,v 1.3 0 2006-10-17 17:15:58tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MAstroCamera.cc,v 1.31 2009-02-07 20:39:55 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 88 88 #include "MGeomMirror.h" 89 89 90 #include "MString.h" 91 90 92 #include "MTime.h" 91 93 #include "MAstroSky2Local.h" … … 411 413 // transform meters into millimeters (camera display works with mm) 412 414 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); 414 416 if (hasnull) 415 417 { … … 417 419 vstar *= rot; 418 420 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); 420 422 // This can be used to get the abberation... 421 423 //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 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MAstroCatalog.cc,v 1.3 2 2009-02-03 13:27:58tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MAstroCatalog.cc,v 1.33 2009-02-07 20:40:01 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 1198 1198 1199 1199 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); 1203 1203 1204 1204 if (!fTime || !fObservatory) … … 1214 1214 1215 1215 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()); 1219 1219 txt += "}{<"; 1220 1220 txt += fTime->GetSqlDateTime();
Note:
See TracChangeset
for help on using the changeset viewer.