Ignore:
Timestamp:
04/25/07 15:39:43 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpedestal/MPedestalSubtractedEvt.h

    r8361 r8446  
    4949    Int_t GetMax(const Int_t pixidx, UInt_t &val) const
    5050    {
    51         return GetMax(pixidx, 0, fNumSamples, val);
     51        return GetMax(pixidx, 0, fNumSamples-1, val);
    5252    }
    5353
     
    5555    {
    5656        UInt_t val;
    57         return GetMax(pixidx, 0, fNumSamples, val);
     57        return GetMax(pixidx, 0, fNumSamples-1, val);
    5858    }
    5959    Int_t GetSaturation(const Int_t pixidx, Int_t limit) const
    6060    {
    6161        Int_t first=0;
    62         Int_t last=fNumSamples;
     62        Int_t last=fNumSamples-1;
    6363        return GetSaturation(pixidx, limit, first, last);
    6464    }
Note: See TracChangeset for help on using the changeset viewer.