Changeset 9303 for trunk/MagicSoft/Mars/mmovie
- Timestamp:
- 02/07/09 20:48:57 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmovie/MMovieWrite.cc
r8914 r9303 93 93 #include <TStopwatch.h> 94 94 95 #include "MString.h" 96 95 97 #include "MParList.h" 96 98 #include "MTaskList.h" … … 173 175 174 176 name += " -f 9 -E 40 -r 0 -K kvcd "; 175 name += Form("-g %d -G %d", n, n);177 name += MString::Format("-g %d -G %d", n, n); 176 178 177 179 // For higher resolution add "--no-constraints" … … 651 653 652 654 // Set new name to be displayed 653 h.SetName( Form("%d: %.2f/%.1fns", i+1, t*freq, t));655 h.SetName(MString::Format("%d: %.2f/%.1fns", i+1, t*freq, t)); 654 656 655 657 // Update existing image with new data and encode into pipe … … 660 662 DeletePalette(colidx); 661 663 662 cout << setw(3) << GetNumExecutions() << ": " << Form("%6.2f", (float)numframes/(slices-2)) << " f/sl " << slices << " " << numframes+1 << endl;664 cout << setw(3) << GetNumExecutions() << ": " << MString::Format("%6.2f", (float)numframes/(slices-2)) << " f/sl " << slices << " " << numframes+1 << endl; 663 665 664 666 return kTRUE; … … 782 784 */ 783 785 784 TString s = Form("%d: Evt #", GetNumExecutions()+1);786 TString s = MString::Format("%d: Evt #", GetNumExecutions()+1); 785 787 s += fHead->GetDAQEvtNumber(); 786 788 s += " of ";
Note:
See TracChangeset
for help on using the changeset viewer.