Hi
I have a question about "energy" element. If put the "energy" element in the beginning of a beamline and set
central_momentum = 2340, match_beamline=1,
is it the same as to have in
&run_setap p_central=2340
?
ENERGY element
Moderators: cyao, michael_borland
-
- Posts: 1933
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: ENERGY element
Koryun,
If all you want is to set the reference momentum of the beamline, then just us
e1: energy,central_momentum=2340
This tells elegant to change the reference momentum to beta*gamma=2340. It's implemented by recomputing the delta=(p/pCentral-1) values.
This should be equivalent to using &run_setup p_central=2340
--Michael
If all you want is to set the reference momentum of the beamline, then just us
e1: energy,central_momentum=2340
This tells elegant to change the reference momentum to beta*gamma=2340. It's implemented by recomputing the delta=(p/pCentral-1) values.
This should be equivalent to using &run_setup p_central=2340
--Michael