Commit 87e42e4b authored by ncarmignani's avatar ncarmignani

modification on find h and v steerers of soleil

parent 19f18ca6
......@@ -130,12 +130,12 @@ obj.injoff = -0.0060; % set simulator TbT input to [injoff, 0,0,0,0,0]
ring = lattice_SOLEIL_2019();
obj.indBPM = find(atgetcells(ring,'FamName','BPM'))';
obj.indHst = find(atgetcells(ring,'FamName','COR'))'; %%%% check which ones are h and v
indPossibleCorrectors=find(atgetcells(ring,'FamName','COR'))';
obj.indHst = indPossibleCorrectors(family2elem('HCOR')) ;
%%% should we change with this?
% obj.indHst = family2elem('HCOR')
obj.indVst = find(atgetcells(ring,'FamName','COR'))';
obj.indVst = indPossibleCorrectors(family2elem('VCOR'));
%%% should we change with this?
% obj.indHst = family2elem('VCOR')
obj.indSkew = find(atgetcells(ring,'FamName','SkewQuad'))';
% make sure steerers have KickAngle.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment