I tried to add an alignment error to a sextupole.
Firstly I gave it a position alignment error:
EALIGN, DS := 5e-4*TGAUSS(2);
The "L" of this sextupole in the Twiss file changed correctly.
But when adding the rotation misalignment:
EALIGN, DS := 5e-4*TGAUSS(2), DPSI := 5e-4*TGAUSS(2);
The "K2SL" of this sextupole in the Twiss file was 0, while the "K2L" was still its original value.
I saved and checked the error file, finding no problem with the rotation misalignment. And I tried the PTC_TWISS function, which gave the same result, "K2SL"=0.
Did I miss some key word to include the rotation misalignment?
I tried to add an alignment error to a sextupole.
Firstly I gave it a position alignment error:
EALIGN, DS := 5e-4*TGAUSS(2);The "L" of this sextupole in the Twiss file changed correctly.
But when adding the rotation misalignment:
EALIGN, DS := 5e-4*TGAUSS(2), DPSI := 5e-4*TGAUSS(2);The "K2SL" of this sextupole in the Twiss file was 0, while the "K2L" was still its original value.
I saved and checked the error file, finding no problem with the rotation misalignment. And I tried the PTC_TWISS function, which gave the same result, "K2SL"=0.
Did I miss some key word to include the rotation misalignment?