Changeset 6290 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 02/08/05 13:54:46 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilterPeakSearch.cc
r6271 r6290 450 450 Int_t MExtractTimeAndChargeDigitalFilterPeakSearch::PostProcess() 451 451 { 452 453 452 if (GetNumExecutions() == 0) 454 453 return kTRUE; 455 454 456 *fLog << endl;455 *fLog << warn << endl; 457 456 458 457 const Int_t higainfailure = ((fHiGainOutOfRangeLeft+fHiGainOutOfRangeRight)*100)/GetNumExecutions(); … … 460 459 461 460 if (fHiGainOutOfRangeLeft > 0) 462 *fLog << warn << GetDescriptor() 463 << ": " << Form("%4.2f",((Float_t)fHiGainOutOfRangeLeft*100)/GetNumExecutions()) 464 << "% ranging out of high-gain window to the left!" << endl; 461 *fLog << Form("%5.1f",((Float_t)fHiGainOutOfRangeLeft*100)/GetNumExecutions()) 462 << "% ranging out of hi-gain window to the left!" << endl; 465 463 if (fHiGainOutOfRangeRight > 0) 466 *fLog << warn << GetDescriptor() 467 << ": " << Form("%4.2f",((Float_t)fHiGainOutOfRangeRight*100)/GetNumExecutions()) 468 << "% ranging out of high-gain window to the right!" << endl; 464 *fLog << Form("%5.1f",((Float_t)fHiGainOutOfRangeRight*100)/GetNumExecutions()) 465 << "% ranging out of hi-gain window to the right!" << endl; 469 466 if (fLoGainOutOfRangeLeft > 0) 470 *fLog << warn << GetDescriptor() 471 << ": " << Form("%4.2f",((Float_t)fLoGainOutOfRangeLeft*100)/GetNumExecutions()) 472 << "% ranging out of low-gain window to the left!" << endl; 467 *fLog << Form("%5.1f",((Float_t)fLoGainOutOfRangeLeft*100)/GetNumExecutions()) 468 << "% ranging out of lo-gain window to the left!" << endl; 473 469 if (fHiGainOutOfRangeRight > 0) 474 *fLog << warn << GetDescriptor() 475 << ": " << Form("%4.2f",((Float_t)fLoGainOutOfRangeRight*100)/GetNumExecutions()) 476 << "% ranging out of low-gain window to the right!" << endl; 470 *fLog << Form("%5.1f",((Float_t)fLoGainOutOfRangeRight*100)/GetNumExecutions()) 471 << "% ranging out of lo-gain window to the right!" << endl; 477 472 478 473 479 474 if (higainfailure > fHiGainFailureLimit) 480 475 { 481 *fLog << err << GetDescriptor() << ": " <<higainfailure << "% range failures in high gain above limit of: " << fHiGainFailureLimit << "%." << endl;476 *fLog << err << higainfailure << "% range failures in high gain above limit of: " << fHiGainFailureLimit << "%." << endl; 482 477 return kFALSE; 483 478 } … … 485 480 if (logainfailure > fLoGainFailureLimit) 486 481 { 487 *fLog << err << GetDescriptor() << ": " <<logainfailure << "% range failures in low gain above limit of: " << fLoGainFailureLimit << "%." << endl;482 *fLog << err << logainfailure << "% range failures in low gain above limit of: " << fLoGainFailureLimit << "%." << endl; 488 483 return kFALSE; 489 484 } 490 491 492 485 493 486 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.