Class IdealMagSkewQuad

All Implemented Interfaces:
IElectromagnet, IComponent, IElement

@Deprecated public class IdealMagSkewQuad extends IdealMagQuad
Deprecated.
This class has been replaced by IdealMagSkewQuad3
Represents an ideal magnetic skew quadrupole magnet for a beam transport/accelerator system.
Author:
Jeff Holmes
  • Field Details

    • TYPE

      public static final String TYPE
      Deprecated.
      string type identifier for all IdealMagSkewQuad objects
      See Also:
  • Constructor Details

    • IdealMagSkewQuad

      public IdealMagSkewQuad(String strId, int enmOrient, double dblFld, double dblLen, double dblAng)
      Deprecated.
      Creates a new instance of IdealMagSkewQuad
      Parameters:
      strId - identifier for this IdealMagSkewQuad object
      enmOrient - enumeration specifying the skew quadrupole orientation (13 focuses in quadrants 1 and 3 and 24 focuses in quadrants 2 and 4)
      dblFld - field gradient strength (in Tesla/meter)
      dblLen - length of the skew quadrupole
      dblAng - angle of the skew quadrupole: dblAng > 0 -> focuses in quadrants 1 and 3 dblAng < 0 -> focuses in quadrants 2 and 4
  • Method Details

    • getSkewAngle

      public double getSkewAngle()
      Deprecated.
      Get the rotation angle of the electromagnet.
      Returns:
      rotation angle (in degrees).
    • setSkewAngle

      public void setSkewAngle(double dblAngle)
      Deprecated.
      Set the rotation angle of the electromagnet.
      Parameters:
      dblAngle - rotation angle (in degrees).
    • transferMap

      public PhaseMap transferMap(IProbe probe, double length)
      Deprecated.
      Compute the partial transfer map of an ideal skew quadrupole for the particular probe. Computes transfer map for a section of skew quadrupole dblLen meters in length.
      Specified by:
      transferMap in interface IElement
      Overrides:
      transferMap in class IdealMagQuad
      Parameters:
      probe - supplies the charge, rest and kinetic energy parameters
      length - compute transfer matrix for section of this length
      Returns:
      transfer map of ideal skew quadrupole for particular probe
      See Also:
    • print

      public void print(PrintWriter os)
      Deprecated.
      Dump current state and content to output stream.
      Overrides:
      print in class IdealMagQuad
      Parameters:
      os - output stream object