Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inputs: Rename to Kinetic Beam Energy #446

Merged
merged 5 commits into from
Nov 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/solenoid/solenoid.madx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
beam, particle=proton, energy=0.250;
beam, particle=proton, energy=1.188272;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix: Added proton rest mass to MAD-X file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I take it this is the bug that you mentioned. Here "energy" was modified to give the total energy in GeV (as required by MAD-X).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's it, yes :)


M1: MONITOR,L=0.0;
SOL1: solenoid, L=3.820395, KS=0.8223219329893234;
Expand Down