Question about elegant to ASTRA conversion

Moderators: cyao, michael_borland

Post Reply
WEI-HOU
Posts: 31
Joined: 01 Mar 2018, 08:20

Question about elegant to ASTRA conversion

Post by WEI-HOU » 28 Oct 2019, 14:53

Hi,

I am having some problems with the file conversion between elegant particle data and that of ASTRA.
For example, I have an ASTRA particle data with 10000 particles, after using astra2elegant then elegant2astra, the number of particles becomes 10001.
Apart from that, the reference momentum ( 1st row 6th column of ASTRA particle file) has changed as well.
Is this due to the fact that there is no "fiducial particle" in elegant ?

Thanks.

Regards
Wei Hou

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

Re: Question about elegant to ASTRA conversion

Post by michael_borland » 28 Oct 2019, 16:05

Wei Hou,

astra2elegant considers the ASTRA fiducial particle to be an ordinary particle, so it appears in the elegant file. When converting back, elegant2astra doesn't "know" that one of the particles is special, but it knows that ASTRA needs a fiducial particle, so it creates one. Hence, you'll add one particle each time through this loop. Also, elegant2astra uses the mean values of pz and t as the reference, since it doesn't recognize a fiducial in the elegant output.

--Michael

WEI-HOU
Posts: 31
Joined: 01 Mar 2018, 08:20

Re: Question about elegant to ASTRA conversion

Post by WEI-HOU » 30 Oct 2019, 12:07

Thanks a lot for your clarification.

Post Reply