From 246faa63eaae3a7f7eadb91d6b33c2533e041101 Mon Sep 17 00:00:00 2001 From: giadarol Date: Fri, 28 Feb 2020 15:41:35 +0100 Subject: [PATCH] Added machine --- optics/hl14_injection.madx | 1 + sequences/lhcRun3_thin.madx | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 120000 optics/hl14_injection.madx create mode 100644 sequences/lhcRun3_thin.madx diff --git a/optics/hl14_injection.madx b/optics/hl14_injection.madx new file mode 120000 index 0000000..7eaf5d6 --- /dev/null +++ b/optics/hl14_injection.madx @@ -0,0 +1 @@ +/afs/cern.ch/eng/lhc/optics/HLLHCV1.4/ramp/opt_inj_6000_thin.madx \ No newline at end of file diff --git a/sequences/lhcRun3_thin.madx b/sequences/lhcRun3_thin.madx new file mode 100644 index 0000000..7d217f6 --- /dev/null +++ b/sequences/lhcRun3_thin.madx @@ -0,0 +1,36 @@ +! Specify machine version +ver_lhc_run = 3; +ver_hllhc_optics = 0; + +! Get the toolkit +call, file="/afs/cern.ch/eng/lhc/optics/runII/2018/toolkit/macro.madx"; + + +if (mylhcbeam==4){ + call,file="/afs/cern.ch/eng/lhc/optics/runII/2018/lhcb4_as-built.seq"; +} else { + call,file="/afs/cern.ch/eng/lhc/optics/runII/2018/lhc_as-built.seq"; +}; + +option, -echo,warn,-info; + +call,file="/afs/cern.ch/eng/lhc/optics/runIII/RunIII_dev/IR7-Run3seqedit.madx"; ! New IR7 MQW layout and cabling + + + +slicefactor=4; +option rbarc=true; +call, file = "/afs/cern.ch/eng/lhc/optics/runII/2018/toolkit/myslice.madx"; + + +beam; // a generic beam definitions +use, sequence=lhcb1; +makethin, sequence=lhcb1, style=teapot, makedipedge=false ; +use, sequence=lhcb2; +makethin, sequence=lhcb2, style=teapot, makedipedge=false; + +!Cycling w.r.t. to IP3 (mandatory to find closed orbit in collision in the presence of errors) +if (mylhcbeam<3){ + seqedit, sequence=lhcb1; flatten; cycle, start=IP3; flatten; endedit; +}; +seqedit, sequence=lhcb2; flatten; cycle, start=IP3; flatten; endedit;