Changeset 7887 for trunk/MagicSoft/Mars/mpointing
- Timestamp:
- 08/19/06 20:22:55 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mpointing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.cc
r7566 r7887 113 113 114 114 const TString src = pos->GetString("radec"); 115 fHist.SetTitle(MString::Form ("SrcPos distribution in camera: %s", src.Data()));115 fHist.SetTitle(MString::Format("SrcPos distribution in camera: %s", src.Data())); 116 116 117 117 fHist.Reset(); -
trunk/MagicSoft/Mars/mpointing/MPointingPos.cc
r7726 r7887 100 100 101 101 if (opt.Contains("ra", TString::kIgnoreCase)) 102 rc += MString::Form (" Ra=%s", MAstro::GetStringHor(fRa).Data());102 rc += MString::Format(" Ra=%s", MAstro::GetStringHor(fRa).Data()); 103 103 104 104 if (opt.Contains("ha", TString::kIgnoreCase)) 105 rc += MString::Form (" Ha=%s", MAstro::GetStringHor(fHa).Data());105 rc += MString::Format(" Ha=%s", MAstro::GetStringHor(fHa).Data()); 106 106 107 107 if (opt.Contains("dec", TString::kIgnoreCase)) 108 rc += MString::Form (" Dec=%s", MAstro::GetStringDeg(fDec).Data());108 rc += MString::Format(" Dec=%s", MAstro::GetStringDeg(fDec).Data()); 109 109 110 110 if (opt.Contains("zd", TString::kIgnoreCase)) 111 rc += MString::Form (" Zd=%s", MAstro::GetStringDeg(fZd).Data());111 rc += MString::Format(" Zd=%s", MAstro::GetStringDeg(fZd).Data()); 112 112 113 113 if (opt.Contains("az", TString::kIgnoreCase)) 114 rc += MString::Form (" Az=%s", MAstro::GetStringDeg(fAz).Data());114 rc += MString::Format(" Az=%s", MAstro::GetStringDeg(fAz).Data()); 115 115 116 116 if (fTitle!=gsDefTitle) 117 rc += MString::Form (" <%s>", fTitle.Data());117 rc += MString::Format(" <%s>", fTitle.Data()); 118 118 119 119 return rc.Strip(TString::kBoth);
Note:
See TracChangeset
for help on using the changeset viewer.