|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--hep.lcd.mc.fast.ReconTrack
Provides MC smeared track.
Handles to smeared and not-smeared set of DocaTrackParameters
are provided.
Updated to run with track curvature flipping (optional flag for
MCFast).
| Field Summary | |
static int |
FLIPPED
|
static int |
NOTFLIPPED
|
| Method Summary | |
double[][] |
calcMomentumErrorMatrix(double l)
Calculate the error matrix for the momentum for a point on the smeared track specified by l. |
double[][] |
calcPositionErrorMatrix(double l)
Calculate the error matrix for the position coordinates for a point on the smeared track specified by l. |
double |
cosTheta()
Get cos(theta) at DOCA. |
boolean |
fitSuccess()
This method is not yet implemented. |
int |
getCharge()
Get the full charge. |
double |
getChi2()
Get the chi2 from smearing. |
double |
getCosTheta()
Get cos(theta) at DOCA. |
double[] |
getDoca()
Get DOCA (2-dim) of smeared track. |
double[] |
getDocaMomentum()
Get momentum at DOCA (2-dim) of smeared track. |
double[] |
getDocaMomentum(double[] refPoint)
|
Hep3Vector |
getDocaMomentumVec(double[] refPoint)
|
Hep3Vector |
getDocaMomentumVec(Hep3Vector refPoint)
|
double |
getDocaMomentumX()
Get x coordinate of momentum of the smeared track at DOCA. |
double |
getDocaMomentumY()
Get y coordinate of momentum of the smeared track at DOCA. |
double |
getDocaMomentumZ()
Get z coordinate of momentum of the smeared track at DOCA. |
double[] |
getDocaPosition(double[] refPoint)
|
Hep3Vector |
getDocaPositionVec(double[] refPoint)
|
Hep3Vector |
getDocaPositionVec(Hep3Vector refPoint)
Calculate and get Doca position on the smeared track with respect to any space point. |
double |
getDocaPt()
Get transverse momentum of the smeared track at DOCA. |
double |
getDocaTransversePathLength(double[] refPoint)
|
double |
getDocaTransversePathLength(Hep3Vector refPoint)
Calculate and get path length on the smeared track for a doca to any space point in respect to the track defining doca (with respect to the origin). |
double |
getDocaX()
Get x coordinate of DOCA of smeared track. |
double |
getDocaY()
Get y coordinate of DOCA of smeared track. |
double |
getDocaZ()
Get z coordinate of DOCA of smeared track. |
double[][] |
getErrorMatrix()
Get the full error matrix. |
double |
getErrorMatrixElement(int i,
int j)
Get an individual error matrix element. |
MCParticle |
getMCParticle()
Get the MC particle for this track. |
double[] |
getMomentum()
Get momentum of smeared track at original vertex point. |
double[] |
getMomentum(double l)
|
Hep3Vector |
getMomentumVec(double l)
Calculate and get momentum on track with respect to any path length l on track (l in xy plane). |
double |
getMomentumX()
Get x coordinate of momentum of the smeared track at original vertex. |
double |
getMomentumY()
Get y coordinate of momentum of the smeared track at original vertex. |
double |
getMomentumZ()
Get z coordinate of momentum of the smeared track at original vertex. |
double |
getNDF()
Get the number degrees of freedom. |
DocaTrackParameters |
getNotSmearedTrack()
Get the complete parameter set for the not smeared track. |
double[] |
getOrigin()
Get the original vertex point of smeared MC track. |
double |
getOriginX()
Get x coordinate of the original vertex point of smeared MC track. |
double |
getOriginY()
Get y coordinate of the original vertex point of smeared MC track. |
double |
getOriginZ()
Get z coordinate of the original vertex point of smeared MC track. |
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 of the smeared track at original vertex. |
double |
getPX()
Get x coordinate of momentum of the smeared track at original vertex. |
double |
getPY()
Get y coordinate of momentum of the smeared track at original vertex. |
double |
getPZ()
Get z coordinate of momentum of the smeared track at original vertex. |
DocaTrackParameters |
getSmearedTrack()
Get the complete parameter set for the smeared track. |
double |
getTrackParameter(int i)
Get an individual track parameter. |
double[] |
getTrackParameters()
Get the track parameters as an array |
boolean |
isFlipped()
Check whether this track has been curvature flipped. |
double |
mag()
Unsigned distance of DOCA from origin. |
double |
mag2()
Square of distance of DOCA from origin. |
double[] |
v()
array of coordinates at DOCA for smeared track. |
double |
x()
x coordinate at DOCA for smeared track. |
double |
y()
y coordinate at DOCA for smeared track. |
double |
z()
z coordinate at DOCA for smeared track. |
| 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
| Method Detail |
public Hep3Vector getDocaPositionVec(Hep3Vector refPoint)
public Hep3Vector getDocaPositionVec(double[] refPoint)
public double[] getDocaPosition(double[] refPoint)
public Hep3Vector getDocaMomentumVec(Hep3Vector refPoint)
public Hep3Vector getDocaMomentumVec(double[] refPoint)
public double[] getDocaMomentum(double[] refPoint)
public Hep3Vector getPositionVec(double l)
public double[] getPosition(double l)
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 int getCharge()
getCharge in interface Trackpublic double[] getOrigin()
getOrigin in interface Trackpublic double getOriginX()
getOriginX in interface Trackpublic double getOriginY()
getOriginY in interface Trackpublic double getOriginZ()
getOriginZ in interface Trackpublic double[] getDoca()
public double getDocaX()
public double getDocaY()
public double getDocaZ()
public double[] getMomentum()
getMomentum in interface Trackpublic double[] getDocaMomentum()
public double getPt()
public double getDocaPt()
public double getMomentumX()
getMomentumX in interface Trackpublic double getMomentumY()
getMomentumY in interface Trackpublic double getMomentumZ()
getMomentumZ in interface Trackpublic double getPX()
getPX in interface Trackpublic double getPY()
getPY in interface Trackpublic double getPZ()
getPZ in interface Trackpublic double getDocaMomentumX()
public double getDocaMomentumY()
public double getDocaMomentumZ()
public double getCosTheta()
public double getErrorMatrixElement(int i,
int j)
getErrorMatrixElement in interface TrackgetTrackParameter(int)public double[][] getErrorMatrix()
getErrorMatrix in interface TrackgetTrackParameter(int)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 Tracki - The index of the track parameterpublic double[] getTrackParameters()
getTrackParameters in interface TrackgetTrackParameter(int)public double getChi2()
getChi2 in interface Trackhep.lcd.event.TrackTrack.getNDF()public double getNDF()
getNDF in interface Trackhep.lcd.event.TrackTrack.getChi2()public MCParticle getMCParticle()
getMCParticle in interface Trackpublic DocaTrackParameters getSmearedTrack()
public DocaTrackParameters getNotSmearedTrack()
public boolean fitSuccess()
fitSuccess in interface Trackpublic double x()
x in interface Hep3Vectorpublic double y()
y in interface Hep3Vectorpublic double z()
z in interface Hep3Vectorpublic double[] v()
v in interface Hep3Vectorpublic double mag()
mag in interface Hep3Vectorpublic double mag2()
mag2 in interface Hep3Vectorpublic double cosTheta()
cosTheta in interface Hep3Vectorpublic boolean isFlipped()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||