Changeset 2014 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/25/03 15:41:40 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2013 r2014  
    3434     - fixed wrong usage floating point value 0
    3535
    36    * manalysis/MImgCleanStd.cc:
     36   * mimage/MImgCleanStd.cc:
    3737     - moved ratio to the other side of the condition (don't divide
    3838       if it is not necessary)
  • trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc

    r1965 r2014  
    122122
    123123        // COBB: '<=' to skip entry=noise=0
    124         if (entry <= fCleanLvl1 * noise / ratio)
     124        if (entry*ratio <= fCleanLvl1*noise)
    125125            pix.SetPixelUnused();
    126126
     
    276276        const Double_t ratio = TMath::Sqrt(fCam->GetPixRatio(id));
    277277
    278         if (entry <= fCleanLvl2 * noise / ratio)
     278        if (entry*ratio <= fCleanLvl2*noise)
    279279            continue;
    280280
Note: See TracChangeset for help on using the changeset viewer.