Skip to content
Snippets Groups Projects
Commit d4cb5f79 authored by Sevda Esen's avatar Sevda Esen Committed by Sebastien Ponce
Browse files

fix an error in momentum calculation introduced in lhcb/Rec!2898

parent 1981ea88
No related branches found
No related tags found
No related merge requests found
......@@ -197,8 +197,8 @@ StatusCode FastMomentumEstimate::calculateImpl( const DeMagnet& magnet, const fl
const auto params = getVeloParams( magnet.useRealMap(), tCubicFit );
const auto coef = params[0] + params[1] * txT * txT + params[2] * txT * txT * txT * txT + params[3] * txV * tyV +
params[4] * tyV * tyV * tyV * tyV;
const auto coef = params[0] + params[1] * txT * txT + params[2] * txT * txT * txT * txT + params[3] * txT * txV +
params[4] * tyV * tyV + params[5] * tyV * tyV * tyV * tyV;
const auto proj = sqrt( ( 1. + txV * txV + tyV * tyV ) / ( 1. + txV * txV ) );
const auto scaleFactor = magnet.signedRelativeCurrent();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment