orbit.py_linac.linac_parsers.sns_linac_lattice_factory#

The SNS Linac Lattice Factory generates the Linac Accelerator Lattice from the information inside of the XML input file. This structure of this file is specific for the SNS. Users from other facilities can use the same XML files with the same structure, but if they need something else they can create their own Factory for different structure. Here we use XmlDataAdaptor to parse the XML file. The SNS Linac Lattice Factory uses a predefined set of Linac Acc Elements.

Functions

orbitFinalize([message])

Method.

Classes

AbstractRF_Gap([name])

This is an abstarct class for all RF Gap classes.

AccNode([name, type_in])

Class.

BaseLinacNode([name])

The base abstract class of the linac accelerator elements hierarchy.

BaseRF_Gap([name])

The simplest RF gap representation.

Bend([name])

Bend Combined Functions TEAPOT element.

DCorrectorH([name])

The Horizontal Dipole Corrector.

DCorrectorV([name])

The Vertical Dipole Corrector.

Drift([name])

Drift element.

LinacAccLattice([name])

The subclass of the AccLattice class.

LinacMagnetNode([name])

The abstract class of the linac magnet.

LinacNode([name])

The abstract class of the linac accelerator elements hierarchy that can be tilted.

MarkerLinacNode([name])

This is a marker.

Quad([name])

Quad Combined Function TEAPOT element.

RF_Cavity([name])

This is the class to keep refernces to the RF Gaps which are BaseLinacNode subclasses.

SNS_LinacLatticeFactory()

The SNS Linac Lattice Factory generates the Linac Accelerator Lattice from the XML file of the specific structure.

Sequence([name])

This is the class to keep refernces to AccNodes that constitute the accelerator sequence.

Solenoid([name])

Solenoid TEAPOT based element.

ThickKick([name])

Thick kiker linac node.

VacuumWindowNode(length, ma[, density_fac, ...])

The vacuum window node class for linac lattice

XmlDataAdaptor([name])