Skip to content

Commit

Permalink
Fixed the equation for eta in Track.h (cms-sw#238)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Ally <[email protected]>
  • Loading branch information
2 people authored and omiguelc committed Apr 10, 2024
1 parent 529c737 commit ceb8a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion L1Trigger/TrackFindingTracklet/interface/Track.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ namespace trklet {
double phi0(Settings const& settings) const;

//The following return the floating point track parameters by undigitizing the digitized parameters
double eta(Settings const& settings) const { return (asinh(ipars_.t() + 0.5) * settings.ktpars()); }
double eta(Settings const& settings) const { return (asinh((ipars_.t() + 0.5) * settings.ktpars())); }
double tanL(Settings const& settings) const { return (ipars_.t() + 0.5) * settings.ktpars(); }
double z0(Settings const& settings) const { return (ipars_.z0() + 0.5) * settings.kz0pars(); }
double rinv(Settings const& settings) const { return (ipars_.rinv() + 0.5) * settings.krinvpars(); }
Expand Down

0 comments on commit ceb8a67

Please sign in to comment.