Skip to content

Commit

Permalink
Added machine
Browse files Browse the repository at this point in the history
  • Loading branch information
giadarol committed Feb 28, 2020
1 parent 15c61e1 commit 246faa6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions optics/hl14_injection.madx
36 changes: 36 additions & 0 deletions sequences/lhcRun3_thin.madx
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 246faa6

Please sign in to comment.