!---|----1----|----2----|----3----|----4----|----5----|----6----|----7----|----8 !------------------------------------------------------------------------------- ! ! Specifications of field imperfections for LHC v6.-2 ! ----------------------------------- !------------------------------------------------------------------------------- !-------------------------------HISTORY----------------------------------------- ! 06/03/96/afg-jpk 17:15 created following the strategy defined by AP/MA W.G. ! 08/03/96/jpk 14:30 MQX(T) random distribution cut at 2 sigmas (3 before) ! Uncertainties now added quadratically ! ON_BDOT treated like a scaling factor ! SET_ERR_MAX: set worst case for each multipole ! 11/03/96/jpk 12:10 Fix a bug with drawing the systematic per arc: ! No statist. consequence but the random gen. slips ! Improve clarity (selection ranges, names of subroutines) ! Suppress redundancies in the calculation of the sigmas ! of the random components. ! 14/04/96/jpk 13:45 Bug corrected in setting the seed for randoms; before that ! time, all octants had the same suite of randoms. ! 13/08/96/jpk 09:40 Improve the control output of set_err_max ! 06/06/96/jm Converted from v4.3 to v5.0 (THIN Lens) ! 06/06/97/jm Updated to v5.0 (THIN Lens) ! 16/10/98/jm Updated to V6.-2 (THIN Lens) ! 23/02/99/ew,jpk 11;30 Change to "radius=Rr" in SetEfcomp_B & SetEfcomp_Q ! 28/08/01/ew Addition of routine for inverted MQXA and MQXB ! Single_MQXA_inv and Single_MQXB_inv. ! 18/07/02/tr Split MQW into 4 groups: MQWA_l, MQWA_r, MQWB_l, MQWB_r ! 21/10/02/ob Define SetEfcomp_ABS for absolute error definitions ! 06/11/02/tr introduced ON_PERS switch for persistent current errors ! 20/12/02/tr introduced ON_DEC switch for decay of the MBs ! 21.10.04/al mail by Alessandra Lombardi (reference system correction) : ! new SetEfcomp_B, SetEfcomp_Q, SetEfcomp_ABS, SetEfcomp_Qinv ! !------------------------------ENDHISTORY--------------------------------------- ! ! ! !1/ SET ALL IMPERFECTIONS FOR ALL MAGNETS: !--------------- ! ON_ALL ! select all magnets and all multipolar orders ! !2/ SET A SELECTION OF IMPERF. FOR A SELECTION OF MAGNETS: !--------------- ! The selection is carried out thru switches described later. ! ! Set, ON_B1s, 1; ! normal (B) systematic (s) order 1 ! etc.... ! ! ! Set, ON_B1s, 0; ! etc.... ! !3/ SET ALL IMPERFECTIONS FOR A SELECTION OF MAGNETS !--------------------------------------------------- !