public class ReconTrack extends Object implements Track
Modifier and Type | Field and Description |
---|---|
private double[] |
_refpoint |
private List<TrackState> |
_trackStates |
private DocaTrackParameters |
m_nosmear |
private DocaTrackParameters |
m_smear |
private int |
m_tcharge |
private static String[][] |
matrixI |
private Particle |
mc |
Constructor and Description |
---|
ReconTrack(double bField,
TrackResolutionTables parm,
SimpleTables SmTbl,
Random rand,
Particle mc,
boolean hist,
boolean simple) |
Modifier and Type | Method and Description |
---|---|
SymmetricMatrix |
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.
|
boolean |
fitSuccess()
Returns true if the track has been successfully fitted
|
int |
getCharge()
Get the full charge.
|
double |
getChi2()
Get the chi2 from smearing.
|
double |
getdEdx() |
double |
getdEdxError() |
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.
|
SymmetricMatrix |
getErrorMatrix()
Get the full error matrix.
|
private SymmetricMatrix |
getErrorMatrixFromTable(ResolutionTable table,
double abscth,
double ptot) |
Particle |
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() |
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.
|
int |
getNDF()
Get the number degrees of freedom.
|
DocaTrackParameters |
getNotSmearedTrack()
Get the complete parameter set for the not smeared 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.
|
double |
getRadiusOfInnermostHit() |
double[] |
getReferencePoint()
Get the original vertex point of smeared MC track.
|
double |
getReferencePointX()
Get x coordinate of the original vertex point of smeared MC track.
|
double |
getReferencePointY()
Get y coordinate of the original vertex point of smeared MC track.
|
double |
getReferencePointZ()
Get z coordinate of the original vertex point of smeared MC track.
|
DocaTrackParameters |
getSmearedTrack()
Get the complete parameter set for the smeared track.
|
int[] |
getSubdetectorHitNumbers() |
List |
getTrackerHits() |
double |
getTrackParameter(int i)
Get an individual track parameter.
|
double[] |
getTrackParameters()
Get the track parameters as an array
|
List |
getTracks() |
List<TrackState> |
getTrackStates() |
int |
getType() |
boolean |
isReferencePointPCA() |
String |
toString() |
private static final String[][] matrixI
private DocaTrackParameters m_nosmear
private DocaTrackParameters m_smear
private transient Particle mc
private int m_tcharge
private double[] _refpoint
private List<TrackState> _trackStates
ReconTrack(double bField, TrackResolutionTables parm, SimpleTables SmTbl, Random rand, Particle mc, boolean hist, boolean simple)
public double getChi2()
getChi2
in interface Track
Track.getNDF()
public double[] getDoca()
public double[] getDocaMomentum(double[] refPoint)
public double[] getDocaMomentum()
public Hep3Vector getDocaMomentumVec(Hep3Vector refPoint)
public Hep3Vector getDocaMomentumVec(double[] refPoint)
public double getDocaMomentumX()
public double getDocaMomentumY()
public double getDocaMomentumZ()
public double[] getDocaPosition(double[] refPoint)
public Hep3Vector getDocaPositionVec(Hep3Vector refPoint)
public Hep3Vector getDocaPositionVec(double[] refPoint)
public double getDocaPt()
public double getDocaTransversePathLength(Hep3Vector refPoint)
public double getDocaTransversePathLength(double[] refPoint)
public double getDocaX()
public double getDocaY()
public double getDocaZ()
public SymmetricMatrix getErrorMatrix()
getErrorMatrix
in interface Track
getTrackParameter(int)
public Particle getMCParticle()
public double[] getMomentum(double l)
public double[] getMomentum()
getMomentum
in interface Track
public Hep3Vector getMomentumVec(double l)
public Hep3Vector getMomentumVec()
public double getMomentumX()
public double getMomentumY()
public double getMomentumZ()
public int getNDF()
getNDF
in interface Track
Track.getChi2()
public DocaTrackParameters getNotSmearedTrack()
public double getPX()
public double getPY()
public double getPZ()
public double[] getPosition(double l)
public Hep3Vector getPositionVec(double l)
public double getPt()
public double getRadiusOfInnermostHit()
getRadiusOfInnermostHit
in interface Track
public double[] getReferencePoint()
getReferencePoint
in interface Track
public boolean isReferencePointPCA()
isReferencePointPCA
in interface Track
public double getReferencePointX()
getReferencePointX
in interface Track
public double getReferencePointY()
getReferencePointY
in interface Track
public double getReferencePointZ()
getReferencePointZ
in interface Track
public DocaTrackParameters getSmearedTrack()
public int[] getSubdetectorHitNumbers()
getSubdetectorHitNumbers
in interface Track
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 Track
i
- The index of the track parameterpublic double[] getTrackParameters()
getTrackParameters
in interface Track
getTrackParameter(int)
public List getTrackerHits()
getTrackerHits
in interface Track
public SymmetricMatrix calcMomentumErrorMatrix(double l)
public double[][] calcPositionErrorMatrix(double l)
public boolean fitSuccess()
Track
fitSuccess
in interface Track
public double getdEdxError()
getdEdxError
in interface Track
private SymmetricMatrix getErrorMatrixFromTable(ResolutionTable table, double abscth, double ptot)
public List<TrackState> getTrackStates()
getTrackStates
in interface Track
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.