Changeset 6705


Ignore:
Timestamp:
03/02/05 15:26:59 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6699 r6705  
    2828   * mjobs/MJCalibrateSignal.[h,cc]
    2929     - put the storage types in the base class
     30
     31   * mbadpixels/MBadPixelsCam.cc
     32     - add some output in case that AsciiRead does not work
    3033
    3134 2005/02/25 Markus Gaug
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc

    r5988 r6705  
    517517void MBadPixelsCam::AsciiRead(istream &fin, UInt_t run=0)
    518518{
     519
    519520    Int_t len;
    520521    TString str;
     
    523524    {
    524525        str.ReadLine(fin);
    525         if (!fin)
     526
     527        if (str.IsNull())
     528          {
     529            *fLog << warn << GetDescriptor()
     530                  << ": Cannot apply AsciiRead from istream pointer. "
     531                  << "Either file does not exist or file is empty! " << endl;
    526532            return;
     533          }
    527534
    528535        Int_t r;
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc

    r6688 r6705  
    148148const Axis_t  MHCalibrationPulseTimeCam::fgHiGainFirst =  -0.5;
    149149const Axis_t  MHCalibrationPulseTimeCam::fgHiGainLast  =  19.5;
    150 const Float_t MHCalibrationPulseTimeCam::fgProbLimit   = 0.0001;
    151 const Byte_t  MHCalibrationPulseTimeCam::fgLowerSignalLimit = 100;
     150const Float_t MHCalibrationPulseTimeCam::fgProbLimit   = 0.001;
     151const Byte_t  MHCalibrationPulseTimeCam::fgLowerSignalLimit = 85;
    152152const TString MHCalibrationPulseTimeCam::gsHistName    = "PulseTime";
    153153const TString MHCalibrationPulseTimeCam::gsHistTitle   = "Extracted Times";
     
    329329  fSumhiarea  .Reset();
    330330  fSumhisector.Reset();
     331  fAverageAreaNum.Reset();
     332  fAverageSectorNum.Reset();
    331333
    332334  MRawEvtPixelIter pixel(fRawEvt);
     
    391393      fSumhiarea[aidx]      += time;
    392394      fSumhisector[sector]  += time;
    393 
     395     
     396      fAverageAreaNum[aidx]++;
     397      fAverageSectorNum[sector]++;
    394398    }
    395399 
Note: See TracChangeset for help on using the changeset viewer.