Skip to content
Snippets Groups Projects

made scripts in madx dir operational; avoided multiple implicit definition of...

Merged Piotr Krzysztof Skowronski requested to merge devel into master
38 files
+ 20930
1232
Compare changes
  • Side-by-side
  • Inline
Files
38
+ 48
0
m_twiss_l4t: macro=
{
twiss, rmatrix, BETA0=l4t.initbeta0;
};
m_twiss_colsel: macro=
{
select,flag=twiss,clear;
select,flag=twiss, column = name,s,l,angle,k1L,k2L,k3L,betx,bety,dx,dy,x,y,t,alfx,alfy,mux,muy,dpx,dpy,px,py,pt, re56;
};
m_doRing(__ringno__): macro=
{
print text = "R >__ringno__<";
title, 'L4T -> Ring __ringno__';
use, period=l4tltltbbi__ringno__;
exec, m_ptc_twiss_colsel;
exec, m_ptc_twiss;
write, table=ptc_twiss, file="L4TtoR__ringno__.twiss.ptc.tfs";
exec, m_ptc_twiss_plotEps();
exec, m_twiss_colsel;
exec, m_twiss_l4t;
write, table=twiss, file="L4TtoR__ringno__.twiss.tfs";
};
m_doLBE(): macro=
{
print text = "LBE";
title, 'L4T -> LBE';
use, period=l4tltltblbe;
exec, m_ptc_twiss_colsel;
exec, m_ptc_twiss;
write, table=ptc_twiss, file="L4TtoLBE.twiss.ptc.tfs";
exec, m_ptc_twiss_plotEps();
exec, m_twiss_colsel;
exec, m_twiss_l4t;
write, table=twiss, file="L4TtoLBE.twiss.tfs";
};
Loading