Can't access to sij at fitpoint markers

Moderators: cyao, michael_borland

Post Reply
dpe
Posts: 29
Joined: 21 Mar 2012, 05:35

Can't access to sij at fitpoint markers

Post by dpe » 31 Aug 2012, 07:02

I'm making a match based on the beam size and I'd like to access to the quantity s11 (alias sigma_x) of a marker. I defined the beam before the &optimize command.
Unlikely I keep getting :

Code: Select all

unknown token: MID_INJ#1.s11
At the moment I'm using this workaround:

Code: Select all

MID_INJ#1.betaxBeam emittance_x * sqrt
Anybody experienced the same? Am I missing something?

Thank you!

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

Re: Can't access to sij at fitpoint markers

Post by michael_borland » 31 Aug 2012, 08:10

For sii, i=1...6, equivalent data is supplied as Sx, Sxp, Sy, Syp, Ss, and Sdelta. I see that the manual doesn't say this, however. I'll correct that in the next release.

--Michael

dpe
Posts: 29
Joined: 21 Mar 2012, 05:35

Re: Can't access to sij at fitpoint markers

Post by dpe » 31 Aug 2012, 08:17

Yes, I was misled by the manual...

Thank you.

dpe
Posts: 29
Joined: 21 Mar 2012, 05:35

Re: Can't access to sij at fitpoint markers

Post by dpe » 07 Nov 2012, 06:24

Just a note as I spent a lot of time wondering why:

Code: Select all

MARK#1.Sx
was giving a much smaller value than:

Code: Select all

MARK#1.betax emittance_x * sqrt
This was happening because of the default cuts at 2 sigmas and the low number of particles (1000) that I was using. Increasing the cuts the first value converged to the second ;)

Post Reply