Ignore:
Timestamp:
09/12/05 16:35:04 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc

    r7117 r7349  
    441441        for (unsigned int j=0; j<time.GetSize(); j++)
    442442        {
    443             const Double_t t = (*fEvt)[j].GetArrivalTime();
    444             if (t>=0)
     443            const Int_t nn = gpix.GetNeighbor(j);
     444
     445            const Double_t t = (*fEvt)[nn].GetArrivalTime();
     446            if (t>=0 && !IsPixelBad(nn))
    445447                time[n0++] = t;
    446448        }
Note: See TracChangeset for help on using the changeset viewer.