orbit.py_linac#
Classes#
|
This is an abstract base class for Error nodes hierarchy. |
The subclass of AccErrorNode. |
|
|
The subclass of AccErrorNode. |
|
The subclass of AccErrorNode. |
|
The subclass of AccErrorNode. |
|
The subclass of AccErrorNode. |
|
The subclass of AccErrorNode. |
|
The base class for Error Controllers. |
Subclass of BaseErrorController. |
|
|
Subclass of BaseErrorController. |
|
Subclass of BaseErrorController. |
|
Subclass of BaseErrorController. |
|
Subclass of BaseErrorController. |
|
Subclass of BaseErrorController. |
Class Inheritance Diagram#

Functions#
|
The service function for the overlapping fields package. |
|
The service function for the overlapping fields package. |
|
The service function for the overlapping RF fields package. |
|
Returns the accelerator node or an array of nodes with the same name. |
|
Returns the dict[node] = (posStart,posEnd) for all nodes (not only for the firts level). |
|
Returns the array with all nodes on all levels (even sub-child). |
|
Returns the array with all magnets including magnets on all levels (e.g correctors) |
Classes#
|
The subclass of the AccLattice class. |
|
The base abstract class of the linac accelerator elements hierarchy. |
|
The abstract class of the linac accelerator elements hierarchy that can be tilted. |
|
The abstract class of the linac magnet. |
|
This is a marker. |
|
Drift element. |
|
Quad Combined Function TEAPOT element. |
|
This is an abstarct class for all RF Gap classes. |
|
The Horizontal Dipole Corrector. |
|
The Vertical Dipole Corrector. |
|
Thick kiker linac node. |
|
Bend Combined Functions TEAPOT element. |
|
Solenoid TEAPOT based element. |
|
The aperture classes removes particles from bunch and places them in the lostbunch if their coordinates are not inside the aperture: The shape variable could be: 1 is circle (a is a radius) 2 is elipse (a and b are a half-axises) 3 is rectangle (a and b are a half-horizontal and vertical sizes) c and d parameters are x and y offsets of the center |
|
The curcular aperture shape = 1 |
|
The ellipse aperture shape = 2 |
|
The rectangle aperture shape = 3 |
|
The phase aperture classes removes particles from bunch and places them in the lostbunch if their phases are not inside the min-max phases. |
|
The phase aperture classes removes particles from bunch and places them in the lostbunch if their phases are not inside the min-max energy. |
|
This is the class to keep refernces to the RF Gaps which are BaseLinacNode subclasses. |
|
This is the class to keep refernces to AccNodes that constitute the accelerator sequence. |
|
The simplest RF gap representation. |
|
The RF gap representation that uses the RF axis field. |
The dictionary with the axis field Functions with the input file names as keys. |
|
|
The class represents the part of the RF gap. |
|
The class represent the set of quads with the overlapping fields. |
|
Linac Accelerator Nodes for Transport Matrices generation. |
LinacTrMatricesController keeps the references to the LinacTrMatrixGenNode instances. |
|
|
The linac BPM representation. |
Class Inheritance Diagram#

Functions#
|
Function will add Aperture nodes at the entrance and exit of quads. |
|
Function will add Aperture nodes at the bend nodes of the lattice if they have aperture parameters. |
|
Function will add Aperture nodes at the entrance and exit of RF gap. |
|
Function returns the array with [aptrNode,sum_of_losses] The sum_of_losses is a number of particles or the sum of macro sizes if the particle attribute "macrosize" is defined. |
|
Function will add the rectangular Aperture node (shape=3) at the node with a particular name. |
|
Function will add Aperture nodes at the drift nodes of the lattice between positions pos_start and pos_end with the minimal distance of 'step' between aperture nodes. |
Function will add two Aperture nodes at the entrance and exit of MEBT chopper plates. |
|
|
Function will replace BaseRF_Gap nodes by AxisFieldRF_Gap. |
Function will replace BaseRF_Gap nodes by AxisField_and_Quad_RF_Gap. |
|
Function will replace Quad nodes by OverlappingQuadsNode nodes. |
Classes#
|
The base abstract class for set of separate nodes modification with two error nodes: one at the entrance and one at the exit of the lattice node. |
This class applies the coordinate displacement errors to the set of nodes. |
|
|
This class will apply the errors to the fields of the bends using energy shift |
This class shifts lattice nodes in longitudinal directions. |
|
This class rotate lattice nodes around z-axis directions. |
|
This class rotate lattice nodes around x-axis directions. |
|
This class rotate lattice nodes around y-axis directions. |
|
|
Class will apply the errors to the fields of the quads |
Class Inheritance Diagram#

Classes#
The SNS Linac Lattice Factory generates the Linac Accelerator Lattice from the XML file of the specific structure. |
|
The JPARC Linac Lattice Factory generates the Linac Accelerator Lattice from the XML file of the specific structure. |
Class Inheritance Diagram#

Classes#
|
The vacuum window node class for linac lattice |
Class Inheritance Diagram#

Classes#
|
BPM node for transverse position report |
|
Class to perform correction of the trajectory in the linac type lattice or in the part of it. |
Class Inheritance Diagram#

Functions#
|
It generates the Enge's Function for SNS quads. |
It generates the Enge's Function for J-PARC quads. |
Classes#
|
The Enge function with parameters from Berz's paper |
It is an abstract class describing the quadrupole magnetic field as a function of the longitudinal coordinate. |
|
|
It is an implementation of the QuadFieldSourceFunction class for a simple quad with constant field between (-L/2;+L/2). |
|
The PMQ Function is a represenatation of the field of permanent quad from Trace3D documantation (p 77): http://laacg.lanl.gov/laacg/services/traceman.pdf |
Class Inheritance Diagram#

Classes#
|
This class analyzes the RF electric field on the axis of a whole cavity. |
This class reads the SuperFish file with the 3D axial symmetric RF field. |
Class Inheritance Diagram#
