public class ZSegmentFit extends Object
Modifier and Type | Field and Description |
---|---|
private double[] |
_centroid |
private SymmetricMatrix |
_covariance |
private List<double[]> |
_polygon |
Constructor and Description |
---|
ZSegmentFit(List<double[]> polygon,
double[] centroid,
SymmetricMatrix covariance)
Create a new instance of ZSegmentFit
|
Modifier and Type | Method and Description |
---|---|
double[] |
getCentroid()
Return the centroid (i.e., center of gravity) of the allowed region in the z0-tan(lambda) plane
|
SymmetricMatrix |
getCovariance()
Return the covariance matrix for the allowed region in the z0 - tan(lambda) plane
|
List<double[]> |
getPolygon()
Return the polygon that specifies the allowed region in z0 - tan(lambda) space
|
String |
toString()
Return a string containing properties of this ZSegmentFit
|
private List<double[]> _polygon
private double[] _centroid
private SymmetricMatrix _covariance
public ZSegmentFit(List<double[]> polygon, double[] centroid, SymmetricMatrix covariance)
polygon
- List of vertices of the polygon describing the allowed region in the z0 - tan(lambda) plane.
Each vertex is a double[2] with the first element being the z0 coordinate and the second
the tan(lambda) coordinate.centroid
- Centroid of the polygon, where centroid[0] is the z0 coordinate, centroid[1] is the tan(lambda) coordinatecovariance
- Covariance matrix calculated assuming equal probability for all points in the polygonal allowed regionpublic List<double[]> getPolygon()
public double[] getCentroid()
public SymmetricMatrix getCovariance()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.