Fork me on GitHub

Changeset 122e1e5 in git for modules


Ignore:
Timestamp:
Sep 29, 2015, 10:34:11 PM (9 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
914fb04
Parents:
93af22b
Message:

replace Sqrt with Hypot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TrackCountingBTagging.cc

    r93af22b r122e1e5  
    126126      xd = track->Xd;
    127127      yd = track->Yd;
    128       dxy = TMath::Sqrt(xd*xd + yd*yd);
     128      dxy = TMath::Hypot(xd, yd);
    129129      ddxy = track->SDxy;
    130130
Note: See TracChangeset for help on using the changeset viewer.