IAP GITLAB

Skip to content
Snippets Groups Projects
Commit d12b7c37 authored by Felix Riehn's avatar Felix Riehn
Browse files

shift particle masses in sibyll interface

parent 0af4a0df
No related branches found
No related tags found
2 merge requests!234WIP: Initial example of python as script language from C++,!201Resolve "handling of off-shell particles"
...@@ -323,7 +323,7 @@ namespace corsika::process::sibyll { ...@@ -323,7 +323,7 @@ namespace corsika::process::sibyll {
auto const e_corsika = Plab.GetTimeLikeComponent(); auto const e_corsika = Plab.GetTimeLikeComponent();
auto const m_sibyll = corsika::process::sibyll::GetSibyllMass(pid); auto const m_sibyll = corsika::process::sibyll::GetSibyllMass(pid);
auto const m_err = abs(m_kinetic - m_corsika) / m_corsika; auto const m_err = abs(m_kinetic - m_corsika) / m_corsika;
if (m_err > 1.e-5) { if (m_err > 1.e-5 && false) {
const HEPEnergyType e_shift_corsika = sqrt( const HEPEnergyType e_shift_corsika = sqrt(
Plab.GetSpaceLikeComponents().GetSquaredNorm() + m_corsika * m_corsika); Plab.GetSpaceLikeComponents().GetSquaredNorm() + m_corsika * m_corsika);
auto const e_shift_relative = (e_shift_corsika / e_corsika - 1) * 100; auto const e_shift_relative = (e_shift_corsika / e_corsika - 1) * 100;
......
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