Ignore:
Timestamp:
09/02/15 11:05:56 (9 years ago)
Author:
Jens Buss
Message:
merged master to branch
Location:
branches/MarsGapdTimeJitter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/MarsGapdTimeJitter

  • branches/MarsGapdTimeJitter/mimage/MImgCleanTime.cc

    r17860 r18331  
    9999    const Float_t time1 = pix1.GetArrivalTime();
    100100
     101    if (pix1.IsPixelUnmapped())
     102        return Island(0,time1);
     103
    101104    Island island(pix1.GetNumPhotons(), time1);
    102105
     
    106109
    107110        MSignalPix &pix2 = (*fEvt)[idx2];
     111        if (pix2.IsPixelUnmapped())
     112            continue;
    108113
    109114        const Int_t island2 = pix2.GetIdxIsland();
     
    137142Int_t MImgCleanTime::Process()
    138143{
    139     // The assumption is that all pixels contain valid data
     144    // The assumption is that all mapped pixels contain valid data
    140145    const UInt_t npix = fEvt->GetNumPixels();
    141146    for (UInt_t i=0; i<npix; i++)
    142147    {
    143148        MSignalPix &pix = (*fEvt)[i];
    144         pix.SetPixelUnused();
     149        if (!pix.IsPixelUnmapped())
     150            pix.SetPixelUnused();
    145151        pix.SetPixelCore(kFALSE);
    146152        pix.SetIdxIsland(-1);
     
    182188        // The ideal cut would be to allow that a single
    183189        // pixel still can connect two clusters
    184         if (I1.count==1 || I1.count==1)
     190        if (I1.count==1 || I2.count==1)
    185191            continue;
    186192
Note: See TracChangeset for help on using the changeset viewer.