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
As discussed saturday night in the CCC, I'm quite convinced there is an issue with the RADIATE flag of the beam when not using electrons / leptons.
An easy way to reproduce:
Run the test/test_emit/test-emit.madx and confirm beam attributes are changed, a U0 is calculated etc.
Run the same file by simply changing electron for proton in the beam command, and observe nothing happens when EMIT is called.
This is the simplest reproduction I could come up with. Worth noting that one can also, say put an electron in the LHC (injection optics, bring down beam->pc to maybe 5 though) and see that it works, but similarly for a proton beam nothing triggers.
No idea where the problem lies in the code however.
The text was updated successfully, but these errors were encountered:
Hi,
As discussed saturday night in the CCC, I'm quite convinced there is an issue with the
RADIATE
flag of the beam when not using electrons / leptons.An easy way to reproduce:
test/test_emit/test-emit.madx
and confirm beam attributes are changed, a U0 is calculated etc.electron
forproton
in the beam command, and observe nothing happens whenEMIT
is called.This is the simplest reproduction I could come up with. Worth noting that one can also, say put an electron in the LHC (injection optics, bring down
beam->pc
to maybe 5 though) and see that it works, but similarly for a proton beam nothing triggers.No idea where the problem lies in the code however.
The text was updated successfully, but these errors were encountered: