Ignore:
Timestamp:
07/13/08 13:16:03 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/caos
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/caos/Led.cc

    r4892 r8998  
    2020void Led::Print(Option_t *o) const
    2121{
    22     MString str;
    2322    cout << "Led: ";
    24     cout << "x="   << str.Print("%5.1f", fX)   << "+-" << fDx   << ", ";
    25     cout << "y="   << str.Print("%5.1f", fY)   << "+-" << fDy   << ", ";
    26     cout << "phi=" << str.Print("%6.1f", fPhi) << "+-" << fDphi << ", ";
     23    cout << "x="   << MString::Format("%5.1f", fX)   << "+-" << fDx   << ", ";
     24    cout << "y="   << MString::Format("%5.1f", fY)   << "+-" << fDy   << ", ";
     25    cout << "phi=" << MString::Format("%6.1f", fPhi) << "+-" << fDphi << ", ";
    2726    cout << "mag=" << fMag << endl;
    2827}
  • trunk/MagicSoft/Cosy/caos/Ring.cc

    r7296 r8998  
    138138void Ring::Print(Option_t *o) const
    139139{
    140     MString str;
    141140    cout << "Ring: ";
    142     cout << "x="   << str.Print("%5.1f", fX) << "+-" << Form("%.1f", fDx) << ", ";
    143     cout << "y="   << str.Print("%5.1f", fY) << "+-" << Form("%.1f", fDy) << ", ";
    144     cout << "r="   << str.Print("%5.1f", fR) << "+-" << Form("%.1f", fDr) << ", ";
     141    cout << "x="   << MString::Format("%5.1f", fX) << "+-" << MString::Format("%.1f", fDx) << ", ";
     142    cout << "y="   << MString::Format("%5.1f", fY) << "+-" << MString::Format("%.1f", fDy) << ", ";
     143    cout << "r="   << MString::Format("%5.1f", fR) << "+-" << MString::Format("%.1f", fDr) << ", ";
    145144    cout << "phi=" << fPhi              << "+-" << fDphi << endl;
    146145}
Note: See TracChangeset for help on using the changeset viewer.