Ring Injection/Extraction centroid/floor coordinates calculation
Posted: 20 Apr 2025, 10:56
Michael,
I am modelling extraction from a ring and am trying to make sure I get the beam centroid and floor coordinates correct. Here is the issue: when I model the kickers and septa as CSBENDs. Any quads between kickers and septa are assumed by elegant to be centered on the reference trajectory when they have offsets due to the upstream kickers. So, I model this by using MALIGN with FLOOR=0 to temporarily shift the reference trajectory back to the original ring axis so the quad kicks are computed correctly. Then I do another misalignment after the quad to center the trajectory on the new reference trajectory. There is a small difference due to the quad kick between the floor coordinates output and centroid trajectory when I do this. In the end, I want the floor coordinates of each element to be correct with the correct angle after extraction is complete.
Perhaps I am doing this incorrectly and should use HKICKs instead but they don't move the reference trajectory. Or, perhaps there is an example that shows how to do injection/extraction to/from a ring consitently between floor coordinates and centroid trajectory calculations.
Attached are the elegant input files and here is sddsplot command to plot floor coordinates and centroid trajectory. In this example I left the septa out and only have kickers and quads in the beamline.
sddsplot -topline="RCS Extraction Beamline Centroid Tracking Vs Floor Coordinates " \
-title="Kickers and Septa Defined as CSBENDs" \
-mode=y=offset \
-col=s,Profile RCS_EXT_PULSED.mag -overlay=xmode=normal,yfactor=0.2,yOffset=-0.10 \
-col=s,Cx "-leg=spec=Centroid" RCS_EXT_PULSED.cen -graph=symb,sca=2,conn,type=0,subtype=0 \
-col=s,X "-leg=spec=Floor Coords-X" RCS_EXT_PULSED.flr -graph=symb,sca=2,conn,type=2,subtype=2
Thanks,
Nick
I am modelling extraction from a ring and am trying to make sure I get the beam centroid and floor coordinates correct. Here is the issue: when I model the kickers and septa as CSBENDs. Any quads between kickers and septa are assumed by elegant to be centered on the reference trajectory when they have offsets due to the upstream kickers. So, I model this by using MALIGN with FLOOR=0 to temporarily shift the reference trajectory back to the original ring axis so the quad kicks are computed correctly. Then I do another misalignment after the quad to center the trajectory on the new reference trajectory. There is a small difference due to the quad kick between the floor coordinates output and centroid trajectory when I do this. In the end, I want the floor coordinates of each element to be correct with the correct angle after extraction is complete.
Perhaps I am doing this incorrectly and should use HKICKs instead but they don't move the reference trajectory. Or, perhaps there is an example that shows how to do injection/extraction to/from a ring consitently between floor coordinates and centroid trajectory calculations.
Attached are the elegant input files and here is sddsplot command to plot floor coordinates and centroid trajectory. In this example I left the septa out and only have kickers and quads in the beamline.
sddsplot -topline="RCS Extraction Beamline Centroid Tracking Vs Floor Coordinates " \
-title="Kickers and Septa Defined as CSBENDs" \
-mode=y=offset \
-col=s,Profile RCS_EXT_PULSED.mag -overlay=xmode=normal,yfactor=0.2,yOffset=-0.10 \
-col=s,Cx "-leg=spec=Centroid" RCS_EXT_PULSED.cen -graph=symb,sca=2,conn,type=0,subtype=0 \
-col=s,X "-leg=spec=Floor Coords-X" RCS_EXT_PULSED.flr -graph=symb,sca=2,conn,type=2,subtype=2
Thanks,
Nick