Changeset 2670


Ignore:
Timestamp:
12/12/03 16:39:36 (21 years ago)
Author:
tonello
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2669 r2670  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6
     7 2003/12/12: Nadia Tonello
     8
     9   * mimage/MImgCleanStd.cc
     10        - now the cleaning of rings>1 is done symmetrically around the core pixels (bug solved) 
     11
     12
    613 2003/12/12: Abelardo Moralejo
    714
  • trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc

    r2488 r2670  
    462462void MImgCleanStd::CleanStep4(UShort_t r, MCerPhotPix &pix)
    463463{
     464  // Skip events that have already a defined status;
     465        if( pix.GetRing()!= 0)
     466          return;
    464467    //
    465468    // check if the pixel's next neighbor is a used pixel.
     
    468471    //
    469472    const Int_t idx = pix.GetPixId();
     473
    470474    MGeomPix  &gpix  = (*fCam)[idx];
    471475
     
    478482        MCerPhotPix *npix = fEvt->GetPixById(idx2);
    479483
    480         if (!npix || !npix->IsPixelUsed() || npix->GetRing()>r-1 )
    481             continue;
     484        if (!npix || !npix->IsPixelUsed() || npix->GetRing()>r-1 ) 
     485        continue;
    482486
    483487        pix.SetRing(r);
Note: See TracChangeset for help on using the changeset viewer.