Package xal.app.knobs
Class PlaneAdaptor
- java.lang.Object
-
- xal.app.knobs.PlaneAdaptor
-
- Direct Known Subclasses:
PlaneAdaptor.HorizontalAdaptor,PlaneAdaptor.VerticalAdaptor
public abstract class PlaneAdaptor extends Object
Adaptor for horizontal or vertical operations
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classPlaneAdaptor.HorizontalAdaptoradaptor for the horizontal planeprotected static classPlaneAdaptor.VerticalAdaptoradaptor for the vertical plane
-
Field Summary
Fields Modifier and Type Field Description protected static PlaneAdaptorHORIZONTAL_ADAPTORprotected static PlaneAdaptorVERTICAL_ADAPTOR
-
Constructor Summary
Constructors Constructor Description PlaneAdaptor()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract doublegetAngle(xal.tools.beam.PhaseVector phaseVector)get the angle from the phase vectorabstract List<xal.smf.impl.Dipole>getCorrectors(xal.smf.AcceleratorSeq sequence)get list of correctors from the sequencestatic PlaneAdaptorgetHorizontalAdaptor()get the horizontal plane adaptorabstract doublegetOffset(xal.tools.beam.PhaseVector phaseVector)get the offset from the phase vectorstatic PlaneAdaptorgetVerticalAdaptor()get the vertical plane adaptorabstract StringplaneName()get the name for the planeabstract StringshortPlaneName()get the short name for the plane
-
-
-
Field Detail
-
HORIZONTAL_ADAPTOR
protected static PlaneAdaptor HORIZONTAL_ADAPTOR
-
VERTICAL_ADAPTOR
protected static PlaneAdaptor VERTICAL_ADAPTOR
-
-
Method Detail
-
getHorizontalAdaptor
public static PlaneAdaptor getHorizontalAdaptor()
get the horizontal plane adaptor
-
getVerticalAdaptor
public static PlaneAdaptor getVerticalAdaptor()
get the vertical plane adaptor
-
planeName
public abstract String planeName()
get the name for the plane
-
shortPlaneName
public abstract String shortPlaneName()
get the short name for the plane
-
getOffset
public abstract double getOffset(xal.tools.beam.PhaseVector phaseVector)
get the offset from the phase vector
-
getAngle
public abstract double getAngle(xal.tools.beam.PhaseVector phaseVector)
get the angle from the phase vector
-
getCorrectors
public abstract List<xal.smf.impl.Dipole> getCorrectors(xal.smf.AcceleratorSeq sequence)
get list of correctors from the sequence
-
-