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 <[email protected]>
  • Loading branch information
ericcano and fwyzard committed Apr 16, 2021
1 parent 5e39a07 commit e61008c
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 e61008c

Please sign in to comment.