public class VertexFit extends Object
Modifier and Type | Field and Description |
---|---|
private double |
_chisq |
private SymmetricMatrix |
_cov |
private Map<StraightLineTrack,Hep3Vector> |
_dirmap |
private Hep3Vector |
_vtx |
Constructor and Description |
---|
VertexFit(Hep3Vector vtx,
SymmetricMatrix cov,
double chisq,
Map<StraightLineTrack,Hep3Vector> dirmap)
Fully qualified constructor for a VertexFit
|
Modifier and Type | Method and Description |
---|---|
double |
chisq()
Return the chisq of the vertex fit.
|
SymmetricMatrix |
covariance()
Return the covariance matrix from the vertex fit.
|
Hep3Vector |
TrackDirection(StraightLineTrack slt)
Return the fitted direction for a given StraightLineTrack that was input to the fit
|
Hep3Vector |
vtx()
Return the vertex position.
|
private Hep3Vector _vtx
private SymmetricMatrix _cov
private double _chisq
private Map<StraightLineTrack,Hep3Vector> _dirmap
public VertexFit(Hep3Vector vtx, SymmetricMatrix cov, double chisq, Map<StraightLineTrack,Hep3Vector> dirmap)
vtx
- vertex positioncov
- covariance matrix of vertexchisq
- chisq of vertex fitdirmap
- map relating the input StraightLineTracks to the fitted track directionspublic Hep3Vector vtx()
public SymmetricMatrix covariance()
public double chisq()
public Hep3Vector TrackDirection(StraightLineTrack slt)
slt
- input StraightLineTrackCopyright © 2019. All rights reserved.