public class ETrack extends VTrack
Modifier and Type | Field and Description |
---|---|
private TrackError |
_err |
Constructor and Description |
---|
ETrack()
default constructor
|
ETrack(ETrack tre)
copy constructor
|
ETrack(Surface srf)
constructor from a surface
|
ETrack(Surface srf,
TrackVector vec,
TrackError err)
constructor from a surface, track and error matrix
|
ETrack(Surface srf,
TrackVector vec,
TrackError err,
TrackSurfaceDirection dir)
constructor from a surface, track, error matrix and direction
|
ETrack(VTrack trv,
TrackError err)
Constructor from a VTrack and an error matrix.
|
Modifier and Type | Method and Description |
---|---|
int |
checkError()
Return the number of bad entries in the error matrix.
|
static double |
chisqDiff(ETrack trv1,
ETrack trv2)
Return the difference between two track vectors with errors
// weighted by their combined error matrix.
|
static double |
chisqDiff(ETrack trv1,
VTrack trv2)
Get the difference between track vectors with and without errors
weighted by the error matrix.
|
static double |
chisqDiff(VTrack trv1,
ETrack trv2)
Get the difference between track vectors with and without errors
weighted by the error matrix.
|
boolean |
equals(ETrack tre)
equality
|
TrackError |
error()
get error matrix
|
double |
error(int i,
int j)
get a component of the error matrix
|
boolean |
notEquals(ETrack tre)
Inequality
|
void |
setError(TrackError newerr)
set the error matrix for the track
|
String |
toString()
String representation of ETrack
|
equals, isBackward, isForward, isTrackBackward, isTrackForward, isValid, notEquals, qOverP, setBackward, setForward, setSurface, setTrackBackward, setTrackForward, setVector, setVectorAndKeepDirection, spacePath, spacePoint, surface, vector, vector
private TrackError _err
public ETrack()
public ETrack(Surface srf)
srf
- Surface srf at which track is to be definedpublic ETrack(Surface srf, TrackVector vec, TrackError err)
srf
- Surface srf at which track is to be definedvec
- TrackVector vec containing track parameterserr
- TrackError err containing track parameter errorspublic ETrack(Surface srf, TrackVector vec, TrackError err, TrackSurfaceDirection dir)
srf
- Surface srf at which track is to be definedvec
- TrackVector vec containing track parameterserr
- TrackError err containing track parameter errorsdir
- TrackSurfaceDirection dir direction of track relative to the Surfacepublic ETrack(VTrack trv, TrackError err)
trv
- VTrack trv representing track without errorserr
- TrackError err containing track parameter errorspublic ETrack(ETrack tre)
tre
- ETrack tre to be copiedpublic void setError(TrackError newerr)
newerr
- TrackError newerr containg error matrixpublic String toString()
public TrackError error()
public double error(int i, int j)
i
- first indexj
- second indexpublic int checkError()
public boolean equals(ETrack tre)
tre
- ETrack to comparepublic boolean notEquals(ETrack tre)
tre
- ETrack to comparepublic static double chisqDiff(ETrack trv1, ETrack trv2)
trv1
- first ETracktrv2
- second ETrackpublic static double chisqDiff(ETrack trv1, VTrack trv2)
trv1
- first ETracktrv2
- second ETrackCopyright © 2016 Linear Collider Detector (LCD). All rights reserved.