Changeset 18276


Ignore:
Timestamp:
Jul 26, 2015, 10:49:49 PM (3 years ago)
Author:
dorner
Message:
fixed bug in calculation of fConcCore
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mimage/MNewImagePar.cc

    r18275 r18276  
    222222        const Double_t dz    =  gpix.GetT()/2;
    223223        const Double_t distr =  (dzy*dzy+dzx*dzx)/(dzx*dzx*rl + dzy*dzy*rw);
    224         if (sqrt(distr)>sqrt(dist0)-dz || (dzx==0 && dzy==0))
     224        if ((dzx==0 && dzy==0) || sqrt(distr)>sqrt(dist0)-dz)
    225225            fConcCore += nphot;
    226226
Note: See TracChangeset for help on using the changeset viewer.