Package xal.smf

Class AcceleratorSector

All Implemented Interfaces:
Comparable, ElementType, DataListener

public final class AcceleratorSector extends AcceleratorSeq
Author:
CKAllen
  • Field Details

    • dblBeamCharge

      protected double dblBeamCharge
      Charge of beam in this sequence (+-1)
    • dblQ2M

      protected double dblQ2M
      particle species charge to mass ratio
    • dblEr

      protected double dblEr
      particle species rest energy
  • Constructor Details

    • AcceleratorSector

      public AcceleratorSector(String strId)
      Creates a new instance of AcceleratorSector
    • AcceleratorSector

      public AcceleratorSector(String strId, int intReserve)
      Creates a new instance of AcceleratorSector
  • Method Details

    • getChargeSignum

      public double getChargeSignum()
      Return the signum of design particle species charge
    • getCharge2Mass

      public double getCharge2Mass()
      Return the charge to mass ratio of the design particle species
    • getRestEnergy

      public double getRestEnergy()
      Return the rest energy of the design particle species
    • setCharge2Mass

      public void setCharge2Mass(double dblQ2M)
      Set the charge to mass ratio of the design particle
    • setChargeSignum

      public void setChargeSignum(double dblSgn)
      Set the charge sign of the design particle @param dblSgn {-1,+1}
    • setRestEnergy

      public void setRestEnergy(double dblEr)
      Set the rest energy of the design particle species
    • concatenate

      public AcceleratorSeq concatenate(AcceleratorSector sec)