You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks to be like the misalignment is applied in the tilted frame and is therefore moving the magnet in the wrong direction. I attach an example to illustrate:
It looks to be like the misalignment is applied in the tilted frame and is therefore moving the magnet in the wrong direction. I attach an example to illustrate:
FASER : SEQUENCE, L = 10;
b1:sbend, angle=138/180.0pi, HGAP=0.0258,e1=0/180.0pi, e2= 0/180.0pi,FINT=0.5 ,TILT=1.0pi, at=5,l=1;
endsequence;
beam;
use, sequence=faser;
eoption, add=true;
select, flag=error, clear=true;
select, flag=error, class=b1;
ealign, dx= 0.001, dy= 0.00, ds=0.00,dphi=0.00, dtheta=0.00, dpsi=0.00;
select, flag=twiss, column=name,s,x,px,y, py;
twiss, betx=1, bety=1, x=-0.000, file="mytwiss.dat";
ptc_create_universe;
ptc_create_layout, model=2, method=6,nst=10, exact;
ptc_align;
ptc_start, x=0.000;
ptc_observe, place=b1;
ptc_track, icase=5, element_by_element, dump, file="track.simple", ffile=1, onetable, maxaper={100.0, 100.0, 100.0, 100.0, 100.0, 100.0};
ptc_twiss, file="twiss.ptc.simple",betx=1,bety=1,betz=1;
ptc_track_end;
ptc_end;
The text was updated successfully, but these errors were encountered: