Class IdealHorMagSteeringDipole

All Implemented Interfaces:
IElectromagnet, IComponent, IElement

public class IdealHorMagSteeringDipole extends IdealMagSteeringDipole
Represents an ideal magnetic steering dipole in the horizontal direction. All the functionality occurs in the base class IdealMagSteeringDipole. This purpose of this class is to avoid the use of the enumeration constants in IElectromagnet which define the orientation. They are brittle being of the legacy construction (with int values) and the mechanism is problematic when generating a model from the SMF Accelerator tree.
Since:
May 13, 2011
Author:
Christopher K. Allen
  • Constructor Details

    • IdealHorMagSteeringDipole

      public IdealHorMagSteeringDipole()
      Default constructor - creates a new uninitialized instance of IdealHorMagSteeringDipole. Typically used by automatic lattice generation.
      Since:
      May 13, 2011
    • IdealHorMagSteeringDipole

      public IdealHorMagSteeringDipole(String strId)
      Create a new instance of IdealHorMagSteeringDipole and specify its instance identifier.
      Parameters:
      strId - string instance identifier of element
      Since:
      May 13, 2011
    • IdealHorMagSteeringDipole

      public IdealHorMagSteeringDipole(String strId, double dblLenEff, double dblFld)
      Creates a new instance of IdealHorMagSteeringDipole. The action of the kicker is completely unspecified.
      Parameters:
      strId - string identifier of element
      dblFld - field strength (in Tesla)
      dblLenEff - effective length of dipole magnet
      Since:
      May 13, 2011