BaseLinacNode#

class orbit.py_linac.lattice.BaseLinacNode(name='none')[source]#

Bases: orbit.lattice.AccNodeBunchTracker.AccNodeBunchTracker

The base abstract class of the linac accelerator elements hierarchy. It cannot be tilted. The direct subclasses of this class will be markers, user defined nodes etc.

Methods Summary

getPosition()

Returns the position of the node inside the sequence.

getSequence()

Returns the seqence.

isRFGap()

Returns False.

setLinacTracker([switch])

This method will switch tracker module to the linac specific traker by default

setPosition(pos)

Sets the position of the node inside the sequence.

setSequence(seq)

Sets the seqence.

trackDesign(paramsDict)

The RF First Gap nodes will reload this method to setup the design time of passage of the bunch through this node

trackDesignBunch(bunch[, paramsDict, ...])

It tracks the bunch through the AccNodeBunchTracker instance.

Methods Documentation

getPosition()[source]#

Returns the position of the node inside the sequence. If the node has non-zero length, the position is usually at the center.

getSequence()[source]#

Returns the seqence.

isRFGap()[source]#

Returns False. The RF Gap node returns True.

setLinacTracker(switch=True)[source]#

This method will switch tracker module to the linac specific traker by default

setPosition(pos)[source]#

Sets the position of the node inside the sequence. If the node has non-zero length, the position is usually at the center.

setSequence(seq)[source]#

Sets the seqence.

trackDesign(paramsDict)[source]#

The RF First Gap nodes will reload this method to setup the design time of passage of the bunch through this node

trackDesignBunch(bunch, paramsDict={}, actionContainer=None)[source]#

It tracks the bunch through the AccNodeBunchTracker instance.