
! *** OPTICS=LCLS2sc27NOV18 ***

! SC_SXR path configurations

  SETSP     := 1
  SETCUS    := 0
  SETAL     := 0
  SETDA     := 0
  SETHXRSS  := 0 !set to 1 to turn ON HXR self-seeding chicane
  SETSXRSS  := 0 !set to 1 to turn ON SXR self-seeding chicane
  SETXLEAP2 := 0 !set to 1 to turn ON XLEAP-II components

  IntgSX := 20.0 !kG
  IntgHX := 12.0 !kG
  EfSC   :=  4.0 !GeV
  EuSC   :=  4.0 !GeV

  CALL, FILENAME="LCLS2sc_master.xsif" !calls other xsif files

  SC_SXRi : LINE=(LCLS2scI,LCLS2scC,LCLS2scS)

  COMMENT !to generate SURVEY
    USE, SC_SXR !start at gun
    ! initial energy: E0
    ! initial SURVEY: Xgun, Ygun, Zgun, 0, 0, 0
  ENDCOMMENT

 !COMMENT !to generate TWISS
    USE, SC_SXRi !start at BEAM0
    ! initial energy: Ei
    ! initial Twiss : BXi, AXi, BYi, AYi
 !ENDCOMMENT

  RETURN
