Changeset 8998 for trunk/MagicSoft/Cosy/caos
- Timestamp:
- 07/13/08 13:16:03 (16 years ago)
- Location:
- trunk/MagicSoft/Cosy/caos
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/caos/Led.cc
r4892 r8998 20 20 void Led::Print(Option_t *o) const 21 21 { 22 MString str;23 22 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 << ", "; 27 26 cout << "mag=" << fMag << endl; 28 27 } -
trunk/MagicSoft/Cosy/caos/Ring.cc
r7296 r8998 138 138 void Ring::Print(Option_t *o) const 139 139 { 140 MString str;141 140 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) << ", "; 145 144 cout << "phi=" << fPhi << "+-" << fDphi << endl; 146 145 }
Note:
See TracChangeset
for help on using the changeset viewer.