Changeset 3465


Ignore:
Timestamp:
03/10/04 19:11:26 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3464 r3465  
    3737     - replaced some InitSize(idx) by InitSize(idx+1) in order not to crash
    3838       to program when reading from an ascii-file.
     39
     40   * mbadpixels/MBadPixelsCalc.cc
     41     - replaced one SetUnsuitableRun(....) by the new version without
     42       argument.
    3943
    4044
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.cc

    r3420 r3465  
    150150
    151151        if (pixPedRms*nratio > fPedestalLevel * meanPedRMS || pixPedRms == 0)
    152             (*fBadPixels)[i].SetUnsuitableEvt(MBadPixelsPix::kUnsuitableEvt);
     152            (*fBadPixels)[i].SetUnsuitableEvt();
    153153    }
    154154}
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc

    r3461 r3465  
    202202        Int_t idx;
    203203        const Int_t n = sscanf(str.Data(), " %d %n", &idx, &len);
     204
    204205        if (n!=1)
    205206            break;
     
    208209
    209210        if (idx>=GetSize())
    210             InitSize(idx);
     211            InitSize(idx+1);
    211212
    212213        (*this)[idx].SetUnsuitableRun();
Note: See TracChangeset for help on using the changeset viewer.