Ignore:
Timestamp:
02/11/09 19:13:31 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msimreflector/MMirrorHex.cc

    r9322 r9324  
    6969    // without time consuming calculations.
    7070
    71     return TMath::Hypot(p.X()-X(), p.Y()-X())<1.05*fMaxR;
     71    return TMath::Hypot(p.X()-X(), p.Y()-Y())<1.05*fMaxR;
    7272}
    7373
     
    9898    // more, rotated with respect to that one by +- 60 degrees.
    9999    //
    100     if (TMath::Abs(X())>fD/*/2*/)
     100    if (TMath::Abs(p.X())>fD)
    101101        return kFALSE;
    102102
     
    104104    const Double_t dys = p.Y()*fgSin60;
    105105
    106     if  (TMath::Abs(dxc+dys)>fD/*/2*/)
     106    if (TMath::Abs(dxc+dys)>fD)
    107107        return kFALSE;
    108108
    109     if (TMath::Abs(dxc-dys)>fD/*/2*/)
     109    if (TMath::Abs(dxc-dys)>fD)
    110110        return kFALSE;
    111111
Note: See TracChangeset for help on using the changeset viewer.