Page 1 of 1

Can't access to sij at fitpoint markers

Posted: 31 Aug 2012, 07:02
by dpe
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!

Re: Can't access to sij at fitpoint markers

Posted: 31 Aug 2012, 08:10
by michael_borland
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

Re: Can't access to sij at fitpoint markers

Posted: 31 Aug 2012, 08:17
by dpe
Yes, I was misled by the manual...

Thank you.

Re: Can't access to sij at fitpoint markers

Posted: 07 Nov 2012, 06:24
by dpe
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 ;)