public class CovarianceMatrixTransformer extends Object
Modifier | Constructor and Description |
---|---|
private |
CovarianceMatrixTransformer()
No need to create, all methods static
|
Modifier and Type | Method and Description |
---|---|
static double[] |
rphi2xy(double r,
double phi,
double srr,
double sff,
double srf)
Convert covariance matrix elements in cylindrical (r,phi) to cartesian coordinates (x,y).
|
static double[] |
xy2rphi(double x,
double y,
double sxx,
double syy,
double sxy)
Convert covariance matrix elements in cartesian coordinates (x,y) to cylindrical (r,phi).
|
private CovarianceMatrixTransformer()
public static double[] xy2rphi(double x, double y, double sxx, double syy, double sxy)
x
- The cartesian x coordinate.y
- The cartesian y coordinate.sxx
- The covariance matrix term for x at (x,y).syy
- The covariance matrix term for y at (x,y).sxy
- The covariance matrix term for xy at (x,y).cov[0] | r-r |
cov[1] | phi-phi |
cov[2] | r-phi |
public static double[] rphi2xy(double r, double phi, double srr, double sff, double srf)
r
- The cylindrical radius.phi
- The cylindrical angle.srr
- The covariance matrix term for r at (r, phi).sff
- The covariance matrix term for phi at (r, phi).srf
- The covariance matrix term for r-phi at (r, phi).cov[0] | x-x |
cov[1] | y-y |
cov[2] | x-y |
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.