Changeset 18276


Ignore:
Timestamp:
07/26/15 22:49:49 (9 years ago)
Author:
Daniela 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.