Skip to content

Commit

Permalink
Update RecoPixelVertexing/PixelTrackFitting/interface/RiemannFit.h
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Bocci <andrea.bocci@cern.ch>
  • Loading branch information
ericcano and fwyzard committed May 17, 2021
1 parent 893584f commit c1ae9b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ namespace riemannFit {
constexpr uint n = N;
const double p_t = std::min(20., fast_fit(2) * B); // limit pt to avoid too small error!!!
// fast_fit(3) = tan(theta) =>
// 1 / sqr(sin(theta)) = (sqr(sin(theta) + sqr(cos(theta))) / sqr(sin(theta))
// 1 / sqr(sin(theta)) = (sqr(sin(theta)) + sqr(cos(theta))) / sqr(sin(theta))
// = 1 + 1 / sqr(tan(theta))
// = 1 + 1 / sqr(fast_fit(3))
const double invSqrSinTheta = 1. + 1. / sqr(fast_fit(3));
Expand Down

0 comments on commit c1ae9b6

Please sign in to comment.