public class DocaTrackParameters extends Object implements TrackParameters
Modifier and Type | Field and Description |
---|---|
private double |
m_Bz |
private double |
m_chi2 |
private SymmetricMatrix |
m_err |
private double |
m_l_ref |
private double |
m_l0 |
private int |
m_ndf |
private double[] |
m_parm |
private Hep3Vector |
m_pdoca_ref |
private Hep3Vector |
m_xdoca_ref |
private Hep3Vector |
m_xref |
Constructor and Description |
---|
DocaTrackParameters(double bField) |
DocaTrackParameters(double bField,
double[] parameters) |
DocaTrackParameters(double bField,
double[] momentum,
double[] x,
double q) |
DocaTrackParameters(double bField,
double[] momentum,
double[] x,
double q,
SymmetricMatrix errorMatrix) |
DocaTrackParameters(double bField,
double[] parameters,
SymmetricMatrix errorMatrix) |
DocaTrackParameters(double bField,
double[] parameters,
SymmetricMatrix errorMatrix,
double chi2) |
DocaTrackParameters(double bField,
double[] parameters,
SymmetricMatrix errorMatrix,
double chi2,
int ndf) |
DocaTrackParameters(double bField,
Hep3Vector momentum,
Hep3Vector x,
double q) |
DocaTrackParameters(double bField,
Particle p) |
DocaTrackParameters(MCParticle p,
double bField) |
Modifier and Type | Method and Description |
---|---|
(package private) SymmetricMatrix |
calcMomentumErrorMatrix(double l)
Calculate the error matrix for the momentum for a point on the track specified by l.
|
(package private) double[][] |
calcPositionErrorMatrix(double l)
Calculate the error matrix for the position coordinates for a point on the track specified by l.
|
private void |
calculateDoca(double[] momentum,
double[] trackPoint,
double q) |
private void |
calculateDoca(Hep3Vector momentum,
Hep3Vector trackPoint,
double charge) |
private Hep3Vector[] |
calculateDoca(Hep3Vector momentum,
Hep3Vector trackPoint,
double charge,
Hep3Vector refPoint) |
private void |
checkCalcDoca(Hep3Vector refPoint) |
(package private) double |
getChi2()
Return the chi2 from smearing.
|
(package private) double |
getCosTheta()
get cos(theta) at DOCA.
|
double |
getD0() |
(package private) double[] |
getDoca()
Get coordinates of DOCA.
|
(package private) double[] |
getDocaMomentum(double[] refPoint) |
(package private) Hep3Vector |
getDocaMomentumVec(double[] refPoint) |
(package private) Hep3Vector |
getDocaMomentumVec(Hep3Vector refPoint)
Calculate and get Doca momentum on track with respect to any space point.
|
(package private) double[] |
getDocaPosition(double[] refPoint) |
(package private) Hep3Vector |
getDocaPositionVec(double[] refPoint) |
(package private) Hep3Vector |
getDocaPositionVec(Hep3Vector refPoint)
Calculate and get Doca position on track with respect to any space point.
|
(package private) double |
getDocaTransversePathLength(double[] refPoint) |
(package private) double |
getDocaTransversePathLength(Hep3Vector refPoint)
Calculate and get path length on track for a doca to any space point in respect to the track defining doca (with respect to the origin).
|
(package private) Hep3Vector |
getDocaVec()
Get coordinates of DOCA.
|
(package private) double |
getDocaX() |
(package private) double |
getDocaY() |
(package private) double |
getDocaZ() |
SymmetricMatrix |
getErrorMatrix()
Get the error matrix as a 2-D array
|
(package private) double |
getL0()
Get the (transverse) path length l0 to original track vertex.
|
double[] |
getMomentum()
Get momentum at DOCA.
|
(package private) double[] |
getMomentum(double l) |
(package private) Hep3Vector |
getMomentumVec() |
(package private) Hep3Vector |
getMomentumVec(double l)
Calculate and get momentum on track with respect to any path length l on track (l in xy plane).
|
(package private) int |
getNDF()
Get the number degrees of freedom.
|
double |
getOmega() |
double |
getPhi0() |
(package private) double[] |
getPosition(double l) |
(package private) Hep3Vector |
getPositionVec(double l)
Calculate and get position on track with respect to any path length l on track (l in xy plane).
|
(package private) double |
getPt()
Get transverse momentum at DOCA.
|
double |
getPtot()
Get total momentum at DOCA.
|
double |
getPX() |
double |
getPY() |
double |
getPZ() |
double |
getTanL() |
(package private) double |
getTheta()
Get theta angle at DOCA.
|
double |
getTrackParameter(int i)
Get an individual track parameter.
|
double[] |
getTrackParameters()
Get the track parameters as an array
|
int |
getUnitCharge()
Get the unit charge, ie +1, 0, -1.
|
double |
getZ0() |
double |
magnitude()
Get cos(Theta) as calculated from the momentum vector at the DOCA.
|
double |
magnitudeSquared() |
private void |
reset() |
(package private) void |
setChi2(double chi2)
Store the chi2.
|
(package private) void |
setErrorMatrix(SymmetricMatrix error) |
(package private) void |
setL0(double l0)
Set the (transverse) path length l0 to original track vertex.
|
(package private) void |
setNDF(int ndf)
Change the number degrees of freedom.
|
double[] |
v() |
double |
x() |
double |
y() |
double |
z() |
private Hep3Vector m_pdoca_ref
private Hep3Vector m_xdoca_ref
private Hep3Vector m_xref
private SymmetricMatrix m_err
private double[] m_parm
private double m_Bz
private double m_chi2
private double m_l0
private double m_l_ref
private int m_ndf
public DocaTrackParameters(double bField)
public DocaTrackParameters(MCParticle p, double bField)
public DocaTrackParameters(double bField, Particle p)
public DocaTrackParameters(double bField, Hep3Vector momentum, Hep3Vector x, double q)
public DocaTrackParameters(double bField, double[] momentum, double[] x, double q)
public DocaTrackParameters(double bField, double[] momentum, double[] x, double q, SymmetricMatrix errorMatrix)
public DocaTrackParameters(double bField, double[] parameters)
public DocaTrackParameters(double bField, double[] parameters, SymmetricMatrix errorMatrix)
public DocaTrackParameters(double bField, double[] parameters, SymmetricMatrix errorMatrix, double chi2)
public DocaTrackParameters(double bField, double[] parameters, SymmetricMatrix errorMatrix, double chi2, int ndf)
public double getD0()
getD0
in interface TrackParameters
public SymmetricMatrix getErrorMatrix()
getErrorMatrix
in interface TrackParameters
getTrackParameter(int)
public double[] getMomentum()
getMomentum
in interface TrackParameters
public double getOmega()
getOmega
in interface TrackParameters
public double getPX()
getPX
in interface TrackParameters
public double getPY()
getPY
in interface TrackParameters
public double getPZ()
getPZ
in interface TrackParameters
public double getPhi0()
getPhi0
in interface TrackParameters
public double getPtot()
getPtot
in interface TrackParameters
public double getTanL()
getTanL
in interface TrackParameters
public double getTrackParameter(int i)
Index | Meaning |
---|---|
0 | d0 = XY impact parameter |
1 | phi0 |
2 | omega = 1/curv.radius (negative for negative tracks) |
3 | z0 = z of track (z impact parameter) |
4 | s = tan lambda |
getTrackParameter
in interface TrackParameters
i
- The index of the track parameterpublic double[] getTrackParameters()
getTrackParameters
in interface TrackParameters
getTrackParameter(int)
public int getUnitCharge()
getUnitCharge
in interface TrackParameters
public double getZ0()
getZ0
in interface TrackParameters
public double magnitude()
magnitude
in interface Hep3Vector
public double magnitudeSquared()
magnitudeSquared
in interface Hep3Vector
public double[] v()
v
in interface Hep3Vector
public double x()
x
in interface Hep3Vector
public double y()
y
in interface Hep3Vector
public double z()
z
in interface Hep3Vector
void setChi2(double chi2)
double getChi2()
double getCosTheta()
double[] getDoca()
double[] getDocaMomentum(double[] refPoint)
Hep3Vector getDocaMomentumVec(Hep3Vector refPoint)
Hep3Vector getDocaMomentumVec(double[] refPoint)
double[] getDocaPosition(double[] refPoint)
Hep3Vector getDocaPositionVec(Hep3Vector refPoint)
Hep3Vector getDocaPositionVec(double[] refPoint)
double getDocaTransversePathLength(Hep3Vector refPoint)
double getDocaTransversePathLength(double[] refPoint)
Hep3Vector getDocaVec()
double getDocaX()
double getDocaY()
double getDocaZ()
void setL0(double l0)
double getL0()
double[] getMomentum(double l)
Hep3Vector getMomentumVec(double l)
Hep3Vector getMomentumVec()
void setNDF(int ndf)
int getNDF()
double[] getPosition(double l)
Hep3Vector getPositionVec(double l)
double getPt()
double getTheta()
SymmetricMatrix calcMomentumErrorMatrix(double l)
double[][] calcPositionErrorMatrix(double l)
private void calculateDoca(double[] momentum, double[] trackPoint, double q)
private void calculateDoca(Hep3Vector momentum, Hep3Vector trackPoint, double charge)
private Hep3Vector[] calculateDoca(Hep3Vector momentum, Hep3Vector trackPoint, double charge, Hep3Vector refPoint)
private void checkCalcDoca(Hep3Vector refPoint)
private void reset()
void setErrorMatrix(SymmetricMatrix error)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.