public class HelixConverter extends Object
Modifier and Type | Field and Description |
---|---|
private double |
_xref |
Constructor and Description |
---|
HelixConverter(double xref)
Constructor for the HelixConverter used to convert helices to StraightLineTracks at the
magnetic field boundary.
|
Modifier and Type | Method and Description |
---|---|
StraightLineTrack |
Convert(org.lcsim.fit.helicaltrack.HelicalTrackFit helix)
Convert a helix to a StraightLineTrack.
|
StraightLineTrack |
Convert(org.lcsim.util.swim.Helix helix)
Convert a helix to a StraightLineTrack.
|
private Matrix |
MatrixTranspose(Matrix m)
Returns the transpose of the matrix (inexplicably not handled by the matrix package for
non-square matrices).
|
public HelixConverter(double xref)
xref
- x coordinate that specifies the magnetic field boundarypublic StraightLineTrack Convert(org.lcsim.fit.helicaltrack.HelicalTrackFit helix)
helix
- helix to be convertedpublic StraightLineTrack Convert(org.lcsim.util.swim.Helix helix)
helix
- helix to be convertedCopyright © 2019. All rights reserved.