Changeset 7888
- Timestamp:
- 08/19/06 20:26:37 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7887 r7888 30 30 * mastro/MAstroCatalog.cc, mbase/MParContainer.cc, 31 31 mbase/MStatusDisplay.cc, mbase/MTask.cc, mpointing/MHSrcPosCam.cc 32 mpointing/MPointingPos.cc :32 mpointing/MPointingPos.cc, mbase/MEvtLoop.cc: 33 33 - replaced MString::Form by new function name MString::Format 34 34 -
trunk/MagicSoft/Mars/NEWS
r7887 r7888 12 12 the distribution abs(y[i]-median) but at 68:32 division instead 13 13 of 50:50, which is somehow the mediani counterpart of the rms. 14 15 - general: MAstroCatalog allows now to read calatog files (as bsc5) 16 even if they are compressed with gzip (recommended compression 17 is with "-1") 14 18 15 19 - showplot: -
trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
r7804 r7888 85 85 #include "MLogManip.h" 86 86 87 #include "MString.h" 87 88 #include "MParList.h" 88 89 #include "MTaskList.h" … … 272 273 UInt_t MEvtLoop::GetMemoryUsage() 273 274 { 274 const TString path = Form("/proc/%d/status", gSystem->GetPid());275 const TString path = MString::Format("/proc/%d/status", gSystem->GetPid()); 275 276 if (gSystem->AccessPathName(path, kFileExists)) 276 277 return 0; … … 378 379 // Set new progress bar position 379 380 // 380 if (fProgress && fNumEvents>0) 381 fProgress->SetPosition((Double_t)num/fNumEvents); 381 if (fNumEvents>0 && fProgress) 382 { 383 const Double_t pos = (Double_t)num/fNumEvents; 384 fProgress->SetPosition(pos); 385 // if (gROOT->IsBatch()) 386 // *fLog << all << MString::Format("%.1f", pos) << "%..." << flush; 387 } 382 388 383 389 // FIXME: This is a workaround, because TApplication::Run is not … … 906 912 // If available print the contents of the parameter list. 907 913 // 908 void MEvtLoop::Print(Option_t * opt) const914 void MEvtLoop::Print(Option_t *) const 909 915 { 910 916 if (fParList)
Note:
See TracChangeset
for help on using the changeset viewer.