public class StraightLineTrack extends Object
Modifier and Type | Field and Description |
---|---|
private SymmetricMatrix |
_cov |
private double |
_dydx |
private double |
_dzdx |
private double[] |
_poca |
private double |
_x0 |
private double |
_y0 |
private double[] |
_yzT |
private double |
_z0 |
static int |
dydxIndex |
static int |
dzdxIndex |
static int |
y0Index |
static int |
z0Index |
Constructor and Description |
---|
StraightLineTrack(double x0,
double y0,
double z0,
double dydx,
double dzdx,
SymmetricMatrix cov)
Fully qualified constructor for the StraightLineTrack class.
|
Modifier and Type | Method and Description |
---|---|
private void |
calculatePoca() |
private void |
calculateTargetYZ() |
double |
calculateXAtZEquals0() |
double[] |
calculateXYAtZ(double zVal) |
private double[] |
calculateYZAtX(double xVal) |
SymmetricMatrix |
cov()
Return the covariance matrix.
|
double |
Doca()
Return the Doca .
|
double |
dydx()
Return the direction derivative dy/dx.
|
double |
dzdx()
Return the direction derivative dz/dx.
|
double[] |
getYZAtX(double xVal) |
double[] |
Poca()
Return the Poca .
|
double[] |
TargetYZ()
Return the Y and Z positions of the track at X=0 (target).
|
double |
x0()
Return the x coordinate of the reference plane.
|
double |
xPoca()
Return the xPoca .
|
double |
y0()
Return the y coordinate at the reference plane.
|
double |
yPoca()
Return the yPoca .
|
double |
z0()
Return the z coordinate at the reference plane.
|
double |
zPoca()
Return the zPoca .
|
public static int y0Index
public static int z0Index
public static int dydxIndex
public static int dzdxIndex
private double _x0
private double _y0
private double _z0
private double _dydx
private double _dzdx
private SymmetricMatrix _cov
private double[] _poca
private double[] _yzT
public StraightLineTrack(double x0, double y0, double z0, double dydx, double dzdx, SymmetricMatrix cov)
x0
- x coordinate of the reference planey0
- y coordinate at the reference planez0
- z coordinate at the reference planedydx
- dy/dx for the trackdzdx
- dz/dx for the trackcov
- covariance matrix for the track parameters (y0, z0, dy/dx, and dz/dx)public double x0()
public double y0()
public double z0()
public double dydx()
public double dzdx()
public double xPoca()
public double yPoca()
public double zPoca()
public double Doca()
public double[] Poca()
public double[] TargetYZ()
public double[] getYZAtX(double xVal)
public SymmetricMatrix cov()
private void calculatePoca()
private void calculateTargetYZ()
private double[] calculateYZAtX(double xVal)
public double calculateXAtZEquals0()
public double[] calculateXYAtZ(double zVal)
Copyright © 2019. All rights reserved.