Ignore:
Timestamp:
02/08/05 13:54:46 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilterPeakSearch.cc

    r6271 r6290  
    450450Int_t MExtractTimeAndChargeDigitalFilterPeakSearch::PostProcess()
    451451{
    452 
    453452  if (GetNumExecutions() == 0)
    454453    return kTRUE;
    455454
    456   *fLog << endl;
     455  *fLog << warn << endl;
    457456
    458457  const Int_t higainfailure = ((fHiGainOutOfRangeLeft+fHiGainOutOfRangeRight)*100)/GetNumExecutions();
     
    460459
    461460  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;
    465463  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;
    469466  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;
    473469  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;
    477472
    478473 
    479474  if (higainfailure > fHiGainFailureLimit)
    480475    {
    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;
    482477      return kFALSE;
    483478    }
     
    485480  if (logainfailure > fLoGainFailureLimit)
    486481    {
    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;
    488483      return kFALSE;
    489484    }
    490  
    491 
    492485
    493486  return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.