orbit.lattice.AccNodeBunchTracker#
- class orbit.lattice.AccNodeBunchTracker(name='no name', type_in='bunch tracker')[source]#
Class. Base class of the accelerator nodes that track the pyORBIT bunch.
- __init__(name='no name', type_in='bunch tracker')[source]#
Constructor. Creates an empty bunch tracker accelerator node.
Methods
__init__([name, type_in])Constructor.
addChildNode(node, place[, part_index, ...])Method.
addParam(key, value)Method.
getActivePartIndex()Method.
getAllChildren()It returns the list of all children of this node.
getBodyChildren()Returns the array of direct childrens of this accelerator node that are inside the element, not before or after.
getChildNodes(place[, part_index, place_in_part])Method.
getLength([index])Method.
getName()Method.
getNumberOfBodyChildren()Returns the total number of direct childrens of this accelerator node that are inside the element, not before or after.
getNumberOfChildren()Returns the total number of direct children of this accelerator node.
getParam(key)Method.
getParamsDict()Method.
getType()Method.
getnParts()Method.
hasParam(key)Method.
initialize()Abstract method.
keys()return the list of the keys for the parameters
removeParam(key)Method.
reverseOrder()This method is used for a lattice reversal and a bunch backtracking.
reverseOrderNodeSpecific()This method is used for a lattice reversal and a bunch backtracking This is a node type specific method.
setActivePartIndex(activePartIndex)Method.
setLength([L, index])Method.
setName([name])Method.
setParam(key, value)Method.
setParamsDict(params)Method.
setType([type_in])Method.
setnParts([n])Method.
structureToText([txt, txt_shift])This method write the structure of the node to the text variable recursively.
track(paramsDict)It is tracking the bunch through the element.
trackActions(actionsContainer[, paramsDict])Method.
trackBunch(bunch[, paramsDict, actionContainer])It tracks the bunch through the AccNodeBunchTracker instance.
updateParamsDict(params)Method.
Attributes
AFTERBEFOREBODYENTRANCEEXIT