You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was a problem with void boost(MALorentzVector &p) {} (Line 146 in MABoost.h). The old function does not properly boost the Lorentz vector. Below you can find a fix
System Settings
All operating systems
Describe the bug
There was a problem with void boost(MALorentzVector &p) {} (Line 146 in MABoost.h). The old function does not properly boost the Lorentz vector. Below you can find a fix
void boost(MALorentzVector &p) const
{
MAdouble64 bp = bx_ * p.X() + by_ * p.Y() + bz_ * p.Z();
p.SetX(p.X() - gamma_ * bx_ * p.T() + (gamma_ - 1) * bx_ * bp / b2_);
p.SetY(p.Y() - gamma_ * by_ * p.T() + (gamma_ - 1) * by_ * bp / b2_);
p.SetZ(p.Z() - gamma_ * bz_ * p.T() + (gamma_ - 1) * bz_ * bp / b2_);
p.SetT(gamma_ * (p.T() - bp));
}
To Reproduce
All modes
Expected behaviour
No response
Log files
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: