|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.lcd.vertexing.zvtop.ZvTrack
ZvTrack -- ZvTop internal track representation
Class provides conversion to/from TrackParameters
Constructor Summary | |
ZvTrack()
|
|
ZvTrack(double[] hlxPar,
double charge)
|
|
ZvTrack(double[] hlxPar,
double[][] dHlxPar,
double charge)
|
|
ZvTrack(ReconTrack tRecon)
|
|
ZvTrack(ZvTrack track)
copy constructor |
Method Summary | |
ZvTrack |
copy()
make a deep copy |
double |
cosTheta()
cos(Theta) of momentum vector for Hep3VectorImplementation |
String |
dumpToString()
print the current values of hlxPar[6] and dHlxPar[5][5] to a String |
boolean |
equals(ZvTrack track)
Check for being the same track handle. |
boolean |
fitSuccess()
fitSuccess() is always true for MC tracks |
ZvVertex |
getAssignedVertex()
get assigned vertex information |
int |
getCharge()
get the track charge (in units of e) |
double |
getChi2()
getChi2() (from track fit) is set to 0. |
double |
getChi2Contribution()
get chi2 contribution to assigned vertex by this track |
Vector |
getChi2Vec()
get vector with Chi2 contributions to vertices by this track |
double[][] |
getErrorMatrix()
get the helix parameter error matrix array (5x5 dim - LCD/BaBar convention) |
double |
getErrorMatrixElement(int i,
int j)
get a helix parameter error matrix element (5x5 dim - LCD/BaBar convention) |
double |
getLongDist()
get longitudinal distance along line IP - choosen vtx |
MCParticle |
getMCParticle()
get MC particle associated with track |
double[] |
getMomentum()
get momentum vector |
double |
getMomentumX()
|
double |
getMomentumY()
|
double |
getMomentumZ()
|
double |
getNDF()
getNDF() (for track fit) is set to 0. |
TrackParameters |
getNewTrackParameters()
Get the TrackParameters as constructed from ZvTrack information. |
double[] |
getOrigin()
use current doca position as origin of track |
double |
getOriginX()
x position |
double |
getOriginY()
y position |
double |
getOriginZ()
z position |
ReconTrack |
getOrigReconTrack()
Get the ReconTrack as entered on creation. |
TrackParameters |
getOrigTrackParameters()
Get the TrackParameters as entered on creation. |
double |
getPt()
get transverse momentum Pt |
double |
getPtot()
get total momentum |
double |
getPX()
get momentum in x |
double |
getPY()
get momentum in y |
double |
getPZ()
get momentum in z |
ZvSwimStatus |
getSwimStatus()
get the swim status |
double |
getTrackParameter(int i)
get the helix parameter i (5 dim - LCD/BaBar convention) |
double[] |
getTrackParameters()
get the helix parameter array (5 dim - LCD/BaBar convention) |
double |
getTransDist()
get transverse distance from line IP - choosen vtx |
int |
getVtxInfo()
get special information on vertex settingmeaning vtxInfo == -1 --isolated track vtxInfo n >= 0--vertex of order n+1 vtxInfo < -1 --special vertex type Note 1: A special vertex type doesn't necessarily mean that a vertex handle is actually stored. |
Vector |
getVtxSigVec()
get vector with vertex significances if this track is included into vertex |
double[][] |
getZvTrackError()
get the helix parameter error matrix array (5x5 dim - ZvTrack convention) |
double |
getZvTrackError(int i,
int j)
get the helix parameter error matrix element (i,j) (5x5 dim - ZvTrack convention) |
double[][] |
getZvTrackErrorCopy()
get the helix parameter error matrix array as a deep copy (5x5 dim - ZvTrack convention) |
double |
getZvTrackKappa()
get track kappa |
double[] |
getZvTrackParam()
get the helix parameter array (6 dim - ZvTrack convention) |
double |
getZvTrackParam(int i)
get the helix parameter i (6 dim - ZvTrack convention) |
double[] |
getZvTrackParamCopy()
get the helix parameter array as a deep copy (6 dim - ZvTrack convention) |
double |
getZvTrackPhi()
get track phi |
double[] |
getZvTrackPos()
get the helix parameter position sub array (3 out of 6 dim - ZvTrack convention) |
double |
getZvTrackTanL()
get track tanL |
boolean |
isGhost()
check whether track describes a ghost track |
boolean |
isInAnyVertex()
is track in any vertex? based on VtxInfo >= 0 |
boolean |
isInVertex(ZvVertex vertex)
is track in this specific vertex? |
boolean |
isIsolated()
isolated track? based on vtxInfo == -1 |
boolean |
isSpecial()
is track marked as special? based on VtxInfo < -1 |
double |
mag()
total momentum for Hep3Vector implementation |
double |
mag2()
squared total momentum for Hep3Vector implementation |
protected boolean |
same(ZvTrack track)
compare for same handle first if not identical, than compare trackIds |
protected boolean |
sameId(ZvTrack track)
compare for same trackId |
void |
setAssignedVertex(ZvVertex vertex)
set assigned vertex information |
void |
setAssignedVertex(ZvVertex vertex,
double chi2Contribution)
set assigned vertex information and chi2 contribution by this track |
void |
setCharge(double charge)
set the track charge |
void |
setChi2Contribution(double chi2Contribution)
set chi2 contribution to assigned vertex by this track |
void |
setLongDist(double longDist)
set longitudinal distance along line IP - choosen vtx |
void |
setSwimStatus(ZvSwimStatus status)
set the swim status |
protected void |
setTrackId(int id)
set track id default: -1 : none |
void |
setTrackParameters(ReconTrack tRecon)
ZvTrack converts track parameters to: IndexMeaning 0 phi 1 kappa = 1/pt 2 s = tan(lambda) 3 x 4 y 5 z ATTENTION: The ZvTrack error matrix uses however: IndexMeaning 0 phi 1 kappa = 1/pt 2 s = tan(lambda) 3 ksi 4 eta |
void |
setTrackParameters(TrackParameters trackParameters)
Set track parameters directly from TrackParameters and convert. |
void |
setTransDist(double transDist)
set transverse distance from line IP - choosen vtx |
void |
setVtxInfo(int vtxInfo)
set special information on vertex |
void |
setZvTrackError(double[][] dHlxPar)
set the helix parameter error array (5x5 dim - ZvTrack convention) |
void |
setZvTrackKappa(double kappa)
set track kappa |
void |
setZvTrackParam(double[] hlxPar)
set the helix parameter array (6 dim - ZvTrack convention) |
void |
setZvTrackParam(double[] hlxPar,
double charge)
set the helix parameter array plus charge (6 dim - ZvTrack convention) |
void |
setZvTrackParam(int i,
double value)
set the helix parameter i (6 dim - ZvTrack convention) |
void |
setZvTrackPhi(double phi)
set track phi |
void |
setZvTrackPos(double[] hlxPos)
set the helix parameter position sub array (3 out of 6 dim - ZvTrack convention) |
void |
setZvTrackTanL(double tanL)
set track tanL |
void |
storeChi2Vec(Vector vChi2Contributions)
store vector with Chi2 contributions to vertices by this track |
void |
storeVtxSigVec(Vector vNewVertexSignificances)
store vector with vertex significances if this track is included into vertex |
protected int |
trackId()
get track id -1 : not set |
protected void |
unsetTrackId()
unset track id |
double[] |
v()
momentum for Hep3Vector implementation |
double |
x()
x momentum for Hep3Vector implementation |
double |
y()
momentum y for Hep3Vector implementation |
double |
z()
z momentum for Hep3Vector implementation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ZvTrack()
public ZvTrack(ReconTrack tRecon)
public ZvTrack(double[] hlxPar, double[][] dHlxPar, double charge)
public ZvTrack(double[] hlxPar, double charge)
public ZvTrack(ZvTrack track)
Method Detail |
public void setTrackParameters(ReconTrack tRecon)
Index | Meaning |
---|---|
0 | phi |
1 | kappa = 1/pt |
2 | s = tan(lambda) |
3 | x |
4 | y |
5 | z |
Index | Meaning |
---|---|
0 | phi |
1 | kappa = 1/pt |
2 | s = tan(lambda) |
3 | ksi |
4 | eta |
public void setTrackParameters(TrackParameters trackParameters)
public TrackParameters getNewTrackParameters()
public TrackParameters getOrigTrackParameters()
public ReconTrack getOrigReconTrack()
public void setZvTrackParam(double[] hlxPar, double charge)
public void setZvTrackParam(double[] hlxPar)
public void setZvTrackParam(int i, double value)
public void setZvTrackPos(double[] hlxPos)
public void setCharge(double charge)
public void setZvTrackPhi(double phi)
public void setZvTrackKappa(double kappa)
public void setZvTrackTanL(double tanL)
public double[] getZvTrackParam()
public double[] getZvTrackParamCopy()
public double getZvTrackParam(int i)
public double[] getZvTrackPos()
public void setZvTrackError(double[][] dHlxPar)
public int getCharge()
getCharge
in interface Track
public double getZvTrackPhi()
public double getZvTrackKappa()
public double getZvTrackTanL()
public double getPt()
public double getPX()
getPX
in interface Track
public double getPY()
getPY
in interface Track
public double getPZ()
getPZ
in interface Track
public double getPtot()
public double[] getMomentum()
getMomentum
in interface Track
public double getMomentumX()
getMomentumX
in interface Track
getPX()
public double getMomentumY()
getMomentumY
in interface Track
getPY()
public double getMomentumZ()
getMomentumZ
in interface Track
getPZ()
public double[][] getZvTrackError()
public double[][] getZvTrackErrorCopy()
public double getZvTrackError(int i, int j)
public double[][] getErrorMatrix()
getErrorMatrix
in interface Track
hep.lcd.event.Track
Track.getTrackParameter(int)
public double[] getTrackParameters()
getTrackParameters
in interface Track
hep.lcd.event.Track
Track.getTrackParameter(int)
public double getTrackParameter(int i)
getTrackParameter
in interface Track
hep.lcd.event.Track
i
- The index of the track parameterpublic double getErrorMatrixElement(int i, int j)
getErrorMatrixElement
in interface Track
hep.lcd.event.Track
Track.getTrackParameter(int)
public void setSwimStatus(ZvSwimStatus status)
public ZvSwimStatus getSwimStatus()
public void setAssignedVertex(ZvVertex vertex)
public void setAssignedVertex(ZvVertex vertex, double chi2Contribution)
public ZvVertex getAssignedVertex()
public void setChi2Contribution(double chi2Contribution)
public double getChi2Contribution()
public void storeChi2Vec(Vector vChi2Contributions)
public Vector getChi2Vec()
public void storeVtxSigVec(Vector vNewVertexSignificances)
public Vector getVtxSigVec()
public void setTransDist(double transDist)
public void setLongDist(double longDist)
public double getTransDist()
public double getLongDist()
public boolean equals(ZvTrack track)
public void setVtxInfo(int vtxInfo)
getVtxInfo()
public int getVtxInfo()
setting | meaning | |
---|---|---|
vtxInfo == -1 | -- | isolated track |
vtxInfo n >= 0 | -- | vertex of order n+1 |
vtxInfo < -1 | -- | special vertex type |
isInAnyVertex()
,
isIsolated()
,
isSpecial()
public boolean isIsolated()
getVtxInfo()
public boolean isInAnyVertex()
getVtxInfo()
public boolean isSpecial()
getVtxInfo()
public boolean isInVertex(ZvVertex vertex)
public boolean fitSuccess()
fitSuccess
in interface Track
public double getChi2()
getChi2
in interface Track
public double getNDF()
getNDF
in interface Track
hep.lcd.event.Track
Track.getChi2()
public MCParticle getMCParticle()
getMCParticle
in interface Track
public double[] getOrigin()
getOrigin
in interface Track
getZvTrackPos()
public double getOriginX()
getOriginX
in interface Track
getOrigin()
public double getOriginY()
getOriginY
in interface Track
getOrigin()
public double getOriginZ()
getOriginZ
in interface Track
getOrigin()
public double[] v()
v
in interface Hep3Vector
getMomentum()
public double x()
x
in interface Hep3Vector
getMomentumX()
public double y()
y
in interface Hep3Vector
getMomentumY()
public double z()
z
in interface Hep3Vector
getMomentumZ()
public double mag()
mag
in interface Hep3Vector
public double mag2()
mag2
in interface Hep3Vector
public double cosTheta()
cosTheta
in interface Hep3Vector
public boolean isGhost()
public ZvTrack copy()
public String dumpToString()
protected void setTrackId(int id)
protected void unsetTrackId()
protected int trackId()
protected boolean sameId(ZvTrack track)
protected boolean same(ZvTrack track)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |