ENERGY element

Moderators: cyao, michael_borland

Post Reply
koryun
Posts: 1
Joined: 19 Aug 2010, 11:56

ENERGY element

Post by koryun » 17 Nov 2011, 10:40

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
?

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: ENERGY element

Post by michael_borland » 18 Nov 2011, 09:17

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

Post Reply