|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.lcd.mc.fast.DocaTrackParameters
Holds DOCA parameters and error matrix of track. Can be initialized
with a MC truth particle.
Updated to run with track curvature flipping (optional flag for
MCFast).
Field Summary | |
static int |
FLIPPED
|
static int |
NOTFLIPPED
|
Constructor Summary | |
DocaTrackParameters()
|
|
DocaTrackParameters(double[] parameters)
|
|
DocaTrackParameters(double[] parameters,
double[][] errorMatrix)
|
|
DocaTrackParameters(double[] parameters,
double[][] errorMatrix,
double chi2)
|
|
DocaTrackParameters(double[] parameters,
double[][] errorMatrix,
double chi2,
int ndf)
|
|
DocaTrackParameters(double[] momentum,
double[] x,
double q)
|
|
DocaTrackParameters(double[] momentum,
double[] x,
double q,
double[][] errorMatrix)
|
|
DocaTrackParameters(double[] momentum,
double[] x,
double q,
double[][] errorMatrix,
int flipState)
|
|
DocaTrackParameters(double[] momentum,
double[] x,
double q,
int flipState)
|
|
DocaTrackParameters(Hep3Vector momentum,
Hep3Vector x,
double q)
|
|
DocaTrackParameters(Hep3Vector momentum,
Hep3Vector x,
double q,
int flipState)
|
|
DocaTrackParameters(Particle p)
|
|
DocaTrackParameters(Particle p,
int flipState)
|
Method Summary | |
double[][] |
calcMomentumErrorMatrix(double l)
Calculate the error matrix for the momentum for a point on the track specified by l. |
double[][] |
calcPositionErrorMatrix(double l)
Calculate the error matrix for the position coordinates for a point on the track specified by l. |
double |
cosTheta()
Get cos(Theta) as calculated from the momentum vector at the DOCA. |
void |
fillErrorMatrix(double[][] errorMatrix)
|
double |
getChi2()
Return the chi2 from smearing. |
double |
getCosTheta()
get cos(theta) at DOCA. |
double |
getD0()
|
double[] |
getDoca()
Get coordinates of DOCA. |
double[] |
getDocaMomentum(double[] refPoint)
|
Hep3Vector |
getDocaMomentumVec(double[] refPoint)
|
Hep3Vector |
getDocaMomentumVec(Hep3Vector refPoint)
Calculate and get Doca momentum on track with respect to any space point. |
double[] |
getDocaPosition(double[] refPoint)
|
Hep3Vector |
getDocaPositionVec(double[] refPoint)
|
Hep3Vector |
getDocaPositionVec(Hep3Vector refPoint)
Calculate and get Doca position on track with respect to any space point. |
double |
getDocaTransversePathLength(double[] refPoint)
|
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). |
Hep3Vector |
getDocaVec()
Get coordinates of DOCA. |
double |
getDocaX()
|
double |
getDocaY()
|
double |
getDocaZ()
|
double[][] |
getErrorMatrix()
Get the error matrix as a 2-D array |
double |
getErrorMatrixElement(int i,
int j)
Get an individual element of the error matrix |
double |
getL0()
Get the (transverse) path length l0 to original track vertex. |
double[] |
getMomentum()
Get momentum at DOCA. |
double[] |
getMomentum(double l)
|
Hep3Vector |
getMomentumVec()
|
Hep3Vector |
getMomentumVec(double l)
Calculate and get momentum on track with respect to any path length l on track (l in xy plane). |
int |
getNDF()
Get the number degrees of freedom. |
double |
getOmega()
|
double |
getPhi0()
|
double[] |
getPosition(double l)
|
Hep3Vector |
getPositionVec(double l)
Calculate and get position on track with respect to any path length l on track (l in xy plane). |
double |
getPt()
Get transverse momentum at DOCA. |
double |
getPtot()
Get total momentum at DOCA. |
double |
getPX()
|
double |
getPY()
|
double |
getPZ()
|
double |
getTanL()
|
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()
|
boolean |
isFlipped()
Check whether this trackparameter set has been calculated for a curvature flipped track. |
double |
mag()
|
double |
mag2()
|
void |
setChi2(double chi2)
Store the chi2. |
void |
setL0(double l0)
Set the (transverse) path length l0 to original track vertex. |
void |
setNDF(int ndf)
Change the number degrees of freedom. |
double[] |
v()
|
double |
x()
|
double |
y()
|
double |
z()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NOTFLIPPED
public static final int FLIPPED
Constructor Detail |
public DocaTrackParameters()
public DocaTrackParameters(Particle p)
public DocaTrackParameters(Particle p, int flipState)
public DocaTrackParameters(Hep3Vector momentum, Hep3Vector x, double q)
public DocaTrackParameters(Hep3Vector momentum, Hep3Vector x, double q, int flipState)
public DocaTrackParameters(double[] momentum, double[] x, double q)
public DocaTrackParameters(double[] momentum, double[] x, double q, int flipState)
public DocaTrackParameters(double[] momentum, double[] x, double q, double[][] errorMatrix)
public DocaTrackParameters(double[] momentum, double[] x, double q, double[][] errorMatrix, int flipState)
public DocaTrackParameters(double[] parameters)
public DocaTrackParameters(double[] parameters, double[][] errorMatrix)
public DocaTrackParameters(double[] parameters, double[][] errorMatrix, double chi2)
public DocaTrackParameters(double[] parameters, double[][] errorMatrix, double chi2, int ndf)
Method Detail |
public Hep3Vector getDocaPositionVec(Hep3Vector refPoint)
public Hep3Vector getDocaPositionVec(double[] refPoint)
public double[] getDocaPosition(double[] refPoint)
public Hep3Vector getPositionVec(double l)
public double[] getPosition(double l)
public Hep3Vector getDocaMomentumVec(Hep3Vector refPoint)
public Hep3Vector getDocaMomentumVec(double[] refPoint)
public double[] getDocaMomentum(double[] refPoint)
public Hep3Vector getMomentumVec(double l)
public double[] getMomentum(double l)
public double getDocaTransversePathLength(Hep3Vector refPoint)
public double getDocaTransversePathLength(double[] refPoint)
public double[][] calcPositionErrorMatrix(double l)
public double[][] calcMomentumErrorMatrix(double l)
public void fillErrorMatrix(double[][] errorMatrix)
public double getChi2()
public void setChi2(double chi2)
public int getNDF()
public void setNDF(int ndf)
public int getUnitCharge()
getUnitCharge
in interface TrackParameters
public double getPt()
public double[] getMomentum()
getMomentum
in interface TrackParameters
public Hep3Vector getMomentumVec()
public double getPX()
getPX
in interface TrackParameters
public double getPY()
getPY
in interface TrackParameters
public double getPZ()
getPZ
in interface TrackParameters
public double getPtot()
getPtot
in interface TrackParameters
public double getCosTheta()
public double getTheta()
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 double getD0()
getD0
in interface TrackParameters
public double getPhi0()
getPhi0
in interface TrackParameters
public double getOmega()
getOmega
in interface TrackParameters
public double getZ0()
getZ0
in interface TrackParameters
public double getTanL()
getTanL
in interface TrackParameters
public double getErrorMatrixElement(int i, int j)
getErrorMatrixElement
in interface TrackParameters
getTrackParameter(int)
public double[][] getErrorMatrix()
getErrorMatrix
in interface TrackParameters
getTrackParameter(int)
public double[] getDoca()
public Hep3Vector getDocaVec()
public double getDocaX()
public double getDocaY()
public double getDocaZ()
public double x()
x
in interface Hep3Vector
public double y()
y
in interface Hep3Vector
public double z()
z
in interface Hep3Vector
public double[] v()
v
in interface Hep3Vector
public double mag()
mag
in interface Hep3Vector
public double mag2()
mag2
in interface Hep3Vector
public double cosTheta()
cosTheta
in interface Hep3Vector
public double getL0()
public void setL0(double l0)
public boolean isFlipped()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |