xboa
|
Class to mimic tracking using simple, user-supplied transfer matrices Each transfer matrix M_i0 must be of type numpy.matrix, where M is defined by u_i = M_i*(u_in-v_in) + v_i and u, v are matrices with shape (1, 6) going like (x, px, y, py, t, energy) More...
Inherits TrackingBase.
Public Member Functions | |
def | __init__ |
Initialisation. More... | |
def | track_one |
Track a hit and return a list of output hits. More... | |
Public Attributes | |
tm_list | |
offset_list | |
offset_in | |
Class to mimic tracking using simple, user-supplied transfer matrices Each transfer matrix M_i0 must be of type numpy.matrix, where M is defined by u_i = M_i*(u_in-v_in) + v_i and u, v are matrices with shape (1, 6) going like (x, px, y, py, t, energy)
Definition at line 38 of file _matrix_tracking.py.
def __init__ | ( | self, | |
list_of_transfer_matrices, | |||
list_of_offsets, | |||
offset_in | |||
) |
Initialisation.
Definition at line 48 of file _matrix_tracking.py.
def track_one | ( | self, | |
hit | |||
) |
Track a hit and return a list of output hits.
Return a list of hits, with the first hit being equal to the input hit and subsequent hits given by u_i = M_i0 * u_0 with u = (x, px, y, py, t, energy)
Definition at line 81 of file _matrix_tracking.py.
References MatrixTracking.offset_in, MatrixTracking.offset_list, and MatrixTracking.tm_list.
Referenced by TrackingBase.track_many().
tm_list |
Definition at line 68 of file _matrix_tracking.py.
Referenced by MatrixTracking.track_one().
offset_list |
Definition at line 69 of file _matrix_tracking.py.
Referenced by MatrixTracking.track_one().
offset_in |
Definition at line 70 of file _matrix_tracking.py.
Referenced by MatrixTracking.track_one().