Changeset 5060
- Timestamp:
- 09/16/04 09:17:25 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5059 r5060 24 24 * mimage/MHillasCalc.[h,cc] 25 25 - removed obsolete PrintSkipped 26 27 * mhbase/MH.cc, mfilter/MFDeltaT.cc: 28 - Form %5.1 when printing statistics 26 29 27 30 -
trunk/MagicSoft/Mars/mfilter/MFDeltaT.cc
r4991 r5060 78 78 fNameTime = time; 79 79 80 fErrors.Set( 4);80 fErrors.Set(5); 81 81 82 82 AddToBranchList(Form("%s.*", (const char*)fNameTime)); … … 130 130 if (dt>fUpperLimit) 131 131 i=3; 132 if (TMath::Floor(fTime->GetMjd())==fTime->GetMjd()) 133 i=4; 132 134 } 133 135 … … 151 153 PrintSkipped(fErrors[1], "Delta-T < 0"); 152 154 PrintSkipped(fErrors[2], "Delta-T == 0"); 153 PrintSkipped(fErrors[3], Form("Delta-T > %.2fs", fUpperLimit)); 154 *fLog << " " << (int)fErrors[0] << " (" << (int)(100.*fErrors[0]/GetNumExecutions()) << "%) Evts fullfilled filter condition!" << endl; 155 PrintSkipped(fErrors[3], Form("Delta-T > %.2fs", fUpperLimit)); 156 PrintSkipped(fErrors[4], "Delta-T == floor(Delta-T)"); 157 *fLog << " " << (int)fErrors[0] << " ("; 158 *fLog << Form("5.1f", 100.*fErrors[0]/GetNumExecutions()); 159 *fLog << "%) Evts fullfilled filter condition!" << endl; 155 160 *fLog << endl; 156 161 -
trunk/MagicSoft/Mars/mhbase/MH.cc
r5008 r5060 1291 1291 { 1292 1292 *fLog << " " << setw(7) << n << " ("; 1293 *fLog << setw(3) << (int)(100.*n/GetNumExecutions());1293 *fLog << Form("%5.1f", 100.*n/GetNumExecutions()); 1294 1294 *fLog << "%) Evts skipped: " << str << endl; 1295 1295 } -
trunk/MagicSoft/Mars/mimage/MHillasCalc.cc
r5059 r5060 352 352 *fLog << inf << endl; 353 353 *fLog << GetDescriptor() << " execution statistics:" << endl; 354 *fLog << dec << setfill(' ');355 354 if (TestBit(kCalcHillas)) 356 355 { … … 365 364 PrintSkipped(fErrors[6], "Arg2==0"); 366 365 } 367 *fLog << " " << (int)fErrors[0] << " (" << Form("% .1f", 100.*fErrors[0]/GetNumExecutions()) << "%) Evts survived Hillas calculation!" << endl;366 *fLog << " " << (int)fErrors[0] << " (" << Form("%5.1f", 100.*fErrors[0]/GetNumExecutions()) << "%) Evts survived Hillas calculation!" << endl; 368 367 *fLog << endl; 369 368
Note:
See TracChangeset
for help on using the changeset viewer.