November 23, 2019 Olivier - putting in service after finding in incomplete state. XYCB0 positions are placeholder. Nov. 25, 2019 Reference: ISK4214D-R99.dwg, with sequence starting at coords [inch]: x = 53.9771" y = 401.5641" Further note - x,y in the above context denotes the coordinates on the technical drawing. Do note that in IMS, the x/y optical convention is flipped. Olivier - sequence ends on ISK04214d-R99.dwg at coords [inch]: x = 32.525" y = 389.1353" REFERENCES Design drawings: ISK4214D-revI ISK4219D-rev5 November 23, 2019 Olivier - I'm putting these in a serviceable state after finding them with much missing information/irregular formatting. Believe M. Stewart and T. Planche authored previous/initial versions. Putting in service following discussion with FA. NOTE - XYCB5 positions are placeholder. reference drawing ISK4214D-R99.dwg with sequence start at coords [inch]: x = 32.5250" y = 389.1353" which is also the end of sequence itw_tm2.xml ITW COLLIMATORS SET TO 1" APERTURE DIAMETER, VERIFY. Olivier - sequence ends at ITW:IV5 centerpoint on ISK4214D-R99.dwg at coords [inch]: x = -42.2207" y = 345.6795" November 23, 2019 Olivier - putting in service after finding in incomplete state. need to verify these numbers. Reference drawing ISK4214D-R99.dwg with sequence starting at coords [inch]: x = -42.2207" y = 345.6795" which is also the end of sequence itw_exit. Olivier - sequence ends on ISK4214D-R99.dwg at coords [inch]: x = -67.0175" y = 305.7853" November 23, 2019 Olivier - putting in service after finding in incomplete state. need to verify all distances/positions and add reference drawings. Sequence starts on drawing ISK4214D-R99.dwg at coords [inch]: x = -67.1075" y = 305.7853" which is also the end of sequence ims_mb1.xml. November 23, 2019 Olivier - putting this into service, found this in an incomplete state. need to verify all distances. IMS:YCB8 and M8 positions placeholder. YSLIT10A and YCB10 also placeholder. end of sequence also is placeholder. verify IMS:MB2 parameters. Sequence starts on drawing ISK4214D-R99.dwg at coordinates [inch]: x = -67.0441" y = 105.6724" which is also the end of sequence ims_db0.xml NOTE - IMS:RPM14 position is placeholder, device not on drawing. Olivier - sequence ends on drawing ISK4214D-R99.dwg at coords [inch]: x = 90.2426" y = 40.0662" all s measurements were made from ISK0110C, though unsure if this drawing is completely accurate at this section -meagan November 23, 2019 Olivier - putting into service, found in incomplete state. need to verify all parameters, starts/ends of sequences, etc. also check polarities. XYCB18 are placeholder. ATT18 too. Sequence starts on drawing ISK4214D-R99.dwg at coordinates [inch]: x = 90.2426" y = 40.0662" which is also the end of sequence ims_db6.xml Olivier - sequence ends on ISK4241D-R99.dwg at coords [inch]: x = 224.5389" y = 82.0097" all s measurements were made from ISK0110C, though unsure if this drawing is completely accurate at this section -meagan November 23, 2019 Olivier - found in incomplete state, putting into service. slit dimensions are temporary. check all dims and devices and positions. Sequence starts on drawing ISK4214D-R99.dwg at coords [inch]: x = 224.5389" y = 82.0097" which is also the end of sequence ims_db15.xml Olivier - sequence ends on ISK4214D-R99.dwg at coords [inch]: x = 263.6833" y = 82.0097" all s measurements were made from ISK0110C -meagan November 23, 2019 Olivier - putting these into service, found in incomplete state. need to verify all distances including start/end of sequence and physical parameters of optics. check EOS too, it's BS now. Sequence starts on drawing ISK4241D-R99.dwg at coords [inch]: x = 263.6833" y = 82.0097" which is also the end of sequence ims_db24.xml Olivier - FC34 not on ISK4241D-R99.dwg, placeholder pos'n equal to CEM34 for now. Olivier - sequence ends just beyond IMS:Q37 on ISK4214D-R99.dwg at coords [inch]: x = 369.106" y = -3.8273" all s measurements were made from ISK4210D -meagan unsure if this bender is characterized correctly, as it is a vertical bender Spencer: sequence starts on ISK4210D.DWG at coordinates: x = 5399.8853 mm y = 3714.7334 mm As measured using e drawings pro on spencer's laptop. This should be the intersection of the beam axis with the skimmer immediately downstream of XCB7. Spencer: sequence ends on ISK4403D.DWG at coordinates: x = 5405.5801 mm y = 5956.6294 mm As measured using e drawings pro on spencer's laptop. This should be the intersection of the beam axis with the skimmer immediately downstream of ILT:Q12. Spencer: sequence starts on ISK4403D.DWG at coordinates: x = 5405.5801 mm y = 5956.6294 mm As measured using e drawings pro on spencer's laptop. This should be the intersection of the beam axis with the skimmer immediately downstream of ILT:Q12. Spencer: sequence ends on ISK4403D.DWG at coordinates: x = 5399.5708 mm y = 9935.0566 mm As measured using e drawings pro on spencer's laptop. This should be the intersection of the beam axis with the skimmer immediately downstream of ILT:Q20. all s measurements were made from ISK4210D -meagan Olivier: Jan 31 2019, compared some distances to ISK4209d.dwg found several discrepancies. Unclear where some of these were referenced from. Quadrupole optr tags and polarity have been obtained from above source. Update - Feb 14 2019: Quadrupole polarities in ILT seem to have originally been coded in reverse. Polarities have been re-verified against both isk4209d.dwg and Rick's original ilt-ira optr tune at lin12.triumf.ca/optr/ISAC/RFQ_buncher/sy.f Prebuncher remains to be modelled in opera-2D. Remains unclear how to elegantly transition TRANSOPTR from DC to bunched. Will have to get guidance from Rick. For now, I've implemented a triple discrete RFGAP call for the prebuncher. This is useful for longitudinal bunching, however it's unclear if this will do a good job simulating the actual prebuncher. Start of sequence on ISK4209d.dwg is at position [inches] x = 291.109" y = -214.168" Spencer: End of sequence on ISK4209d.dwg is at position [inches] x = 277.9285" y = 207.6593" this is 1.8" downstream of the centre of ILT:Q42. Corresponds to position on ARIEL drawing ART2080.dwg of: x = 1839813.25 mm y = 2189703 mm Note that the units on ART2080.dwg appear to be messed up. To get an actual distance in mm the units given on drawing need to be divided by 25.4. Olivier: Jan 31 2019, compared some distances to ISK4209d.dwg found several discrepancies. Unclear where some of these were referenced from. Quadrupole optr tags and polarity have been obtained from above source. Update - Feb 14 2019: Quadrupole polarities in ILT seem to have originally been coded in reverse. Polarities have been re-verified against both isk4209d.dwg and Rick's original ilt-ira optr tune at lin12.triumf.ca/optr/ISAC/RFQ_buncher/sy.f Spencer: Start of sequence on ISK4209d.dwg is at position [inches] x = 277.9285" y = 207.6593" this is 1.8" downstream of the centre of ILT:Q42 (at the skimmer). Spencer: Sequence ends at upstream edge of the skimmer upstream of ILT:Q47. Coordinates of that on ISK4209d.dwg are (measured using e drawings PRO): x = 7831.4155 mm y = 4502.5396 mm Equivalent coordinates of that on ART2080.dwg are (measured using e drawings PRO): X: 1820204.125 mm Y: 2209312.0 mm Note that the units on this drawing (ART2080.dwg) appear to be messed up. To get an actual distance in mm the units given on drawing need to be divided by 25.4. Olivier: Jan 31 2019, compared some distances to ISK4209d.dwg found several discrepancies. Unclear where some of these were referenced from. Quadrupole optr tags and polarity have been obtained from above source. Update - Feb 14 2019: Quadrupole polarities in ILT seem to have originally been coded in reverse. Polarities have been re-verified against both isk4209d.dwg and Rick's original ilt-ira optr tune at lin12.tri umf.ca/optr/ISAC/RFQ_buncher/sy.f Spencer: Sequence starts at upstream edge of the skimmer upstream of ILT:Q47. Coordinates of that on ISK4209d.dwg are (measured using e drawings PRO): x = 7831.4155 mm y = 4502.5396 mm Equivalent coordinates of that on ART2080.dwg are (measured using e drawings PRO): X: 1820204.125 mm Y: 2209312.0 mm Note that the units on this drawing (ART2080.dwg) appear to be messed up. To get an actual distance in mm the units given on drawing need to be divided by 25.4. Olivier: placeholder booster position. Booster originally in /acc at s = 5500.00*mm, though likely placeholder. Moved back a bit to avoid negative drifts. POSITION STILL NEEDS TO BE CONFIRMED all EPICS PV's need to be verified for name **************************OLD****************************** Olivier: IRA:Q4 centerpoint is to be used for alignment of RFQ vane mapping. RFQ 2term field map original length = 760.1275cm, which starts at the beginning of the radial matching section. From Larry Root's bnd_rms4.f Relax3D simulation for the RMS, quotes distance of 6 reference cell length (first cell) to start of RMS, equal to 5.3250522cm. From drawings ISK0141D.dwg, ILE0195D.DWG, end point of IRA:Q4 coincides with beginning of RFQ tank vacuum point. Thus, add dS = 10*5.53250522mm + 0.5*1.0*25.4 (half of IRA:Q4 length), for dS = 68.0250522mm from midpoint of IRA:Q4 to start of RFQ vane/RMS. drift distance from middle of IRA:Q4 to RFQ map centerpoint: S_RFQ = S_Q4 + 0.5*25.4+1" + 10*5.53250522 + 0.5*10*760.1275 S_RFQ = S_Q4 + 3868.6626mm Note that this is a single data point, from Larry Root, which was done during development. There is still no hard value for positioning of the RFQ vane, with respect to a known reference point. It will be critical to find this distance, with accuracy and precision, if the model is to be trusted. Olivier: Rotation by -45deg to accomodate tilted RFQ 4-vane structure. From RFQ vane positioning measured back from MEBT:Q1/endOf_sequence, this places the end of the IRA:Q4 to RFQ start drift position at s = 6729.9224. The twiss parameters at the RFQ entrance (beginning of radial matcher) which produce an ideal match are as follows: (same for x,y - transverse) a = 0.416685 b = 5.229370 call TWISSMATCH( 1, 0.41665, 5.229370, 1., 1) call TWISSMATCH( 3, 0.41665, 5.229370, 1., 1) Olivier: Distance on ISK0141D.DWG from IRA:Q4 midpoint at x = -111.298" y = 2913.729" measured to beginning of MEBT vacuum flange at: x = -111.298" y = 3221.523" (end of sequence point x,y) is dY = 307.794" = 7817.9676mm also note that the above point (-111.298";3221.523") corresponds to the point, on IBP0436D.DWG: x = 217.679" y = 76.798", which is the start of the mebt_db0 sequence. Olivier: Sequence starting point referenced to IBP0436D.DWG at coordinates (inches): x = 217.679" y = 76.798" This corresponds to the start of the vacuum flange on the MEBT side, and agrees with both drawings IBP0436D.DWG and on ISK0141D.DWG to (inches); x = -111.298" y = 3221.523" this ensures the ilt_db33 sequence and mebt_db0 start at a common reference point with no artificial drifts. call TWISSMATCH( 1, -2.35, 98.0, 1., 1) call TWISSMATCH( 3, 0.14, 10.7, 1., 1) Danfysik 1987 L1 - QE-12B - #87115 Danfysik 1987 L1 - QE-7B - #87104 Danfysik 1987 L1 - QE-13A - #87130 Danfysik 1987 L1 - QE-12A - #87135 Danfysik 1987 L1 - QE-13B - #87134 This device does not exist in EPICS at all, it is a foil carousel that is adjusted locally. Olivier: Back-rotate by -45deg around optical axis. At this point, MEBT quads go from being tilted by 45 to being "flat". The bunch rotator is used to create a round beam spot on the stripping foil, in addition to a time focus. Thus, rotating the beam by 45deg (in transoptr) at this location should not result in discontinuities in the envelope. Danfysik 1987 L1 - QE-23 - #87124 Danfysik 1987 L1 - QE-11A - #87118 Olivier: See TRI-DNA-97-03, p. 11-12 for K1 discussion. No word on K2 in that reference however. "Given that the anticipated vertical beam size in the dipole is +-5mm = +-0.20in., we suggest that a value of K1 = 0.55 be used in TRANSPORT calculations." finally, the full gap is noted as (p.1) g = 2.250in. = 0.0572m = 5.72cm Note that these are design parameters, but for now it is the only measured reference. Danfysik 1987 L1 - QE-11B - #87123 Danfysik 1987 L1 - QE-24A - #87122 Danfysik 1987 L1 - - #87125 Danfysik 1987 L1 - - #87112 Danfysik 1987 L1 - - #87129 Danfysik 1987 L1 - - #87120 Olivier: end of mebt db0 marker is measured on DTL tank1 outer surface, on the MEBT:Q13 side. On IBP0500D.DWG, this corresponds to coordinates [inches]: x = 51.9199" y = 71.1069" Olivier: I've changed endOf_mebt_db0 reference to being tank1 outer surface on IBP0500D.DWG. Therefore, it follows that all values referenced in the DTL (this file) are referenced to the same point on IRF1002D.DWG. This places tank1 midpoint s-coordinate at the middle of my DTL Tank1 opera mapping, which is also referenced to tank1 outer surface (on the MEBT:Q13 side). January 29, 2019 IRF1002D.DWG, tank1 start point X=51.1528" tank1 field map (Opera) length = 12.8923" NOTE: Feb 21 2019 - all XY steerers placed 10mm after the central triplet quad as a placeholder for tuneX. NOTE: Sept 13, 2019 (Olivier): see TRI-BN-19-18 for langevin DTL quad fits do not remove factor of 2 multiplying langevin tanh values. The optr attribute scalX is the x-scaling of the pseudoLangevin function defined as the interval over which original magnet surveys were performed. NOTE: Sept 15, 2020 (Spencer) - all diagnostic devices are just temporarily put at positions so as to avoid negative drifts. Position is placeholder to avoid negative drifts. Position is placeholder to avoid negative drifts. Olivier: DTL:XYCB2 placed 10mm after Q2 as a placeholder. IRF1002D.DWG, buncher1 start point X=78.3961" buncher1 field map (Opera) length = 5.1378" Position is placeholder to avoid negative drifts. Position is placeholder to avoid negative drifts. DTL Tank2 referenced to tank2 outer surface on IRF1002D.DWG, corresponding to X=85.4433", consistent with Opera simulation alignment reference. IRF1002D.DWG Tank2 start outer surface X = 85.4433" tank2 field map (Opera) length = 21.5650" Olivier: DTL:XYCB5 placed 10mm after Q5 as a placeholder. IRF1002D.DWG Buncher2 start outer surface X = 121.3338" buncher2 field map (Opera) length = 5.8465" Position is placeholder to avoid negative drifts. Position is placeholder to avoid negative drifts. IRF1002D.DWG Tank3 start outer surface X = 129.0897" tank3 field map (Opera) length = 32.1950" Olivier: DTL:XYCB8 placed 10mm after Q8 as a placeholder. IRF1002D.DWG Buncher3 start outer surface X = 175.6102" buncher3 field map (Opera) length = 6.8307" Position is placeholder to avoid negative drifts. Position is placeholder to avoid negative drifts. IRF1002D.DWG Tank4 start outer surface X = 184.3503" tank4 field map (Opera) length = 37.3130" Olivier: DTL:XYCB11 placed 10mm after Q11 as a placeholder. Position is placeholder to avoid negative drifts. Position is placeholder to avoid negative drifts. IRF1002D.DWG Tank5 start outer surface X = 238.8107" tank5 field map (Opera) length = 40.4630" end of dtl_db0 referenced to Tank5 outer surface on IRF1002D.DWG at X = 279.2737" Olivier: Sequence starts on drawing IHE0281D.DWG at coordinates (milimeters): x = 1403.8054mm y = 11955.7177mm which corresponds to the outer surface of DTL Tank5, also corresponding to the end of sequence for dtl_db0.xml, referenced to drawing IRF1002D.DWG at (inches): x = 279.2737" y = 157.4651" November 24, 2019 Olivier - marker t3d tune starts 65.0cm before Q1 BI relationships based on data collected by D. Evans and analysis by R. Baartman (B-I Curve fits for TRIUMF Quads - TRI-DN-07-04) Danfysik 1987 L1 Danfysik 1987 L1 - QE-9B - #87109 Danfysik 1987 L1 - QE-22C - #87107 HEBT:Q4 DISABLED. Danfysik 1987 L1 - QE-21 - #87127 Danfysik 1987 L1 - QE-19C - #87110 Historical T3D tune 'hebt1-august2012-noQ4.t3d' matches to round beam spot here. Below fits alpha_x = alpha_y = 0, beta_x = beta_y = 0.2 mm/mrad (20.0 cm/rad) call TWISSMATCH(1, 0., 20.0, 1., 1) call TWISSMATCH(3, 0., 20.0, 1., 1) Olivier: strp5 position at s=3681.7971mm produces a ~5.22cm error with trace3D benchmarking, when sub-sequence from HEBT:Q6 to HEBT:Q10. Adjusted accordingly. Olivier: diag positions for FC5,SCD5 are placeholders to avoid negative drifts. Danfysik 1987 L1 - QE-20A - #87111 Danfysik 1987 L2 - QE-26B - #87147 Danfysik 1987 L1 - QE-20C - #87117 Olivier: XCOL8A actual position is (millimeters); y = 5869.6426mm producing an s value of (mm): s = 6086.0751, which places it within DSB:MB0 - not doable in transoptr, so device was moved back. This device is not used in beam simulations. Olivier: Sequence ends on drawing IHE0281D.DWG at coordinates (millimeters): x = 1403.5516mm y = 6007.5647mm REFERENCES Trace 3d files: PraguemagnetApril2012.t3d Design drawings: IHE0149D (HEBT) IHE0281D (DSB) Sequence starts at leading edge of DSB:MB0 Olivier: Apr 11, 2019. This sequence may be deprecated due to lack of tunables. I've amalgamated this sequence in hebt_db9.xml, which starts from the end of sequence hebt_db0 and drifts to HEBT:Q9. The location of the prague is noted as a drift for reference. REFERENCES Trace 3d files: hebt2-april2012.t3d inputDRAGON.t3D (for HEBT2:MB0 location) hebt3-april2012.t3d Design drawings: IHE0134D.DWG Olivier: Sequence starts just before DSB:MB0, on drawing IHE0281D.DWG at coordinates [millimeters]: x = 1403.9468mm y = 6007.5647mm the first drift, defining the location of HEBT:Q9 is measured on IHE0281D.DWG up to Q9 midpoint. After this, I switch to drawing IHE0134D.DWG, with Q9 midpoint as the measurement reference. The new reference beyond Q9 is, on IHE0134D.DWG in INCHES: x = 60.934" y = 75.353" note: HEBT1:MB0 (Prague) is entered as a 0-length drift for the purpose of recording its positing along the tune. Note also that the point used for its position corresponds to the beginning of the circular arc and its connection to the optical axis of the HEBT beamline. November 24, 2019 Olivier - I've reversed polarities for HEBT:Q11, Q12. Q11 is negative, Q12 is positive now. Olivier: HEBT:IV8D position is a total placeholder, meant to avoid negative drifts in TRANSOPTR. Olivier: HEBT:Q9 point switches measurement ref. from IHE0281D.dwg to IHE0134D.dwg. Danfysik 1987 L2 - QE-28B - #87146 Danfysik 1987 L1 - QE-19A - #87105 Olivier: commented out below until I get field maps for bunchers Olivier: HEBT:Q11 originally positive, Q12 negative. possible discrepancy with trace3D comparison, haven't touched this yet. Both quads below are as they originally were in /acc/ Danfysik 1987 L1 - QE-26C - #87126 Danfysik 1987 L1 - QE-26A - #87101 Olivier: Sequence ends on drawing IHE0134D.dwg at coords [INCH]: x = 224.418" y = 75.353" which is the point where the circular arc defining the ref. trajectory through HEBT2:MB0 begins. REFERENCES Trace 3d files: inputDRAGON.t3d finalDRAGON.t3d Olivier: Above deprecated. Reference DWG for sequence start is IHE0120D.DWG at coords [INCH]: x = 50.382" y = 114.622" which corresponds to HEBT2:MB0 arc start. HEBT2:MB0/MB1 arclength [in]: 15.461" = 392.7094mm Olivier:measured fullgap on IHE0120D.dwg for HEBT2:MB0, got 2.177" = 5.53cm Olivier: note - diagnostic positions not explicit on drawing, inferred and approximate. Olivier: Switch reference here. Drawing IHE0120D.dwg ends at coords [inch]: x = 159.100" y = 110.443" new reference is drawing ISK0141D.dwg, with start coords [inch]: x = 920.324" y = 3406.143" the common reference point is the far side of an beampipe attachment vacuum flange. Danfysik 1982 L1 - #82447 Danfysik 1982 L1 - #82448 Danfysik 1987 L1 - #87133 Danfysik 1987 L1 - #87119 Danfysik 1987 L1 - #87114 Danfysik 1987 L1 - #87103 call fit(1,5,5,1.0,.05,1) call fit(1,5,5,1.0,.5,1) call fit(1,6,6,1.0,0.9,1) energMin=energk-energki call fitarb(0.0,energMin,1.,1) Olivier: Sequence ends HEBT2:IV8 on drawing ISK0141D.DWG (can't find detailed DRAGON drawing), at coords [INCHES]: x = 1046.737" y = 3280.338" 2019-11-27 Olivier - added a marker 130cm from HEBT2:Q8 for DRAGON gas chamber - based on TRI-DN-99-23, p. 18/30, sect 4.3.2