Page 1 of 1

ENERGY element

Posted: 17 Nov 2011, 10:40
by koryun
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
?

Re: ENERGY element

Posted: 18 Nov 2011, 09:17
by michael_borland
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