orbit.py_linac.lattice.LinacAccLatticeLib#

The general Linac Accelerator lattice. It is a subclass of the Acclattice. It tracks the bunch through the linac accelerator nodes. In addition to the usual accelerator lattice it has the sequences and RF cavities. The sequences and RF cavities are containers for accelerator nodes (seqencies) and RF gaps. The Sequence class is used to keep iformation about positions of elements that are inside. The Cavity class keeps the refernce to RF gaps and a value of the cavity amplitude.

Functions

orbitFinalize([message])

Method.

phaseNearTargetPhase(phase, phase_trgt)

Adds or subtracts 2*math.pi to get the phase near the target phase.

Classes

AbstractRF_Gap([name])

This is an abstarct class for all RF Gap classes.

AccActionsContainer([name])

Class.

AccLattice([name])

Class.

AccNode([name, type_in])

Class.

Bunch

The Bunch python wrapper

LinacAccLattice([name])

The subclass of the AccLattice class.

MarkerLinacNode([name])

This is a marker.

NamedObject([name])

Class.

ParamsDictObject()

Class.

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.

Sequence([name])

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