Changeset 8998 for trunk/MagicSoft/Cosy/caos/Ring.cc
- Timestamp:
- 07/13/08 13:16:03 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.