This is the line description of solenoids available in TRACK. 1D Solenoid ----------- n sol Bf phy_len eff_len rap nstep n : Solenoid Type; n = 0: Internal TRACK Solenoid models If eff_len = phy_len --> Hard-Edge Model. If nstep=0, a transfer matrix is used without SC calculation. If nstep>0, a uniform field is used for integration with SC. If eff_len < phy_len --> Fringe-Field Model. If nstep=0, iint in "track.dat" is used nstep=iint. If nstep>0, nstep is used as an integration step. The internal fringe field model uses Enge coefficients for the fall-off of edge fields to generate the field profile Bz(z). The parameters of the model (Enge coefficients) can be adjusted using the "enge" element in "sclinac.dat" file just before the "sol" line. If not specified, the internal default Enge coefficients will be used for both the entrance and exit of the solenoid. To input your own values of Enge coefficients, insert these two lines before the "sol" line in "sclinac.dat": 1 enge sol EC1 EC2 EC3 EC4 EC5 EC6 2 enge sol EC1 EC2 EC3 EC4 EC5 EC6 Where "1" is for the solenoid entrance and "2" is for the solenoid exit. EC1-6 are the new values for the 6 Enge coefficients to be used instead of the default internal values given in the line below: 1 enge sol -0.00004 4.518219 0. 0. 0. 0. If only one "enge" line is entered it will be used for both the entrance and exit of the solenoid. n > 0: Solenoid with External 1D field profile. If the external field file Solenoid.#nn exists, the data will be used for the profile of Bz(z). If Not, the code will stop and request the missing file Solenoid.#nn. Bf [G]: Field strength phy_len [cm]: Physical length eff_len [cm]: Effective length rap [cm]: Aperture radius nstep : (optional) Number of integration steps. For n=0 and eff_len=phy_len (-> Hard-Edge Model), nstep should be non 0 to include space charge effects with integration. If nstep=0 or not specified, a transfer matrix is used without SC calculation. 3D Solenoid ----------- n sol3d Bf len rap nstep n : Solenoid Type; it is also the external EMS field file number eh_EMS.#nn which sould exist. Bf [G]: Field strength len [cm]: Solenoid/Field length rap [cm]: Aperture radius nstep : (optional) Number of integration steps.