hep.lcd.recon.tracking
Class ReconstructedTrack
java.lang.Object
|
+--hep.lcd.recon.tracking.ReconstructedTrack
- public final class ReconstructedTrack
- extends Object
- implements Track, Serializable
- See Also:
- Serialized Form
- Source Code:
- ReconstructedTrack.java
Constructor Summary |
ReconstructedTrack(double Bfld,
double d0,
double phi0,
double omega,
double z0,
double s)
|
ReconstructedTrack(double Bfld,
TrkParams params)
|
ReconstructedTrack(double Bfld,
TrkParams params,
TrkExtrap extrap)
|
ReconstructedTrack(int it,
Tracker tracker,
TrkExtrap extrap)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
params
public TrkParams params
extrap
public TrkExtrap extrap
errmatrix
public double[][] errmatrix
Chi2
public double Chi2
NDF
public double NDF
Fitted
public boolean Fitted
mcp
public MCParticle mcp
frmcps
public double frmcps
Bfield
public double Bfield
trindex
public int trindex
ReconstructedTrack
public ReconstructedTrack(double Bfld,
TrkParams params,
TrkExtrap extrap)
ReconstructedTrack
public ReconstructedTrack(int it,
Tracker tracker,
TrkExtrap extrap)
ReconstructedTrack
public ReconstructedTrack(double Bfld,
TrkParams params)
ReconstructedTrack
public ReconstructedTrack(double Bfld,
double d0,
double phi0,
double omega,
double z0,
double s)
getTrkParams
public TrkParams getTrkParams()
getTrkExtrap
public TrkExtrap getTrkExtrap()
reachesRadius
public boolean reachesRadius(double r)
exitsEnd
public boolean exitsEnd(double z)
setTrkExtrap
public void setTrkExtrap(double x,
double y,
double z)
getCharge
public int getCharge()
- Specified by:
getCharge
in interface Track
getOrigin
public double[] getOrigin()
- Specified by:
getOrigin
in interface Track
getOriginX
public double getOriginX()
- Specified by:
getOriginX
in interface Track
getOriginY
public double getOriginY()
- Specified by:
getOriginY
in interface Track
getOriginZ
public double getOriginZ()
- Specified by:
getOriginZ
in interface Track
getMom
public double getMom()
getMomentum
public double[] getMomentum()
- Specified by:
getMomentum
in interface Track
getMomentumX
public double getMomentumX()
- Specified by:
getMomentumX
in interface Track
getMomentumY
public double getMomentumY()
- Specified by:
getMomentumY
in interface Track
getMomentumZ
public double getMomentumZ()
- Specified by:
getMomentumZ
in interface Track
getPX
public double getPX()
- Specified by:
getPX
in interface Track
getPY
public double getPY()
- Specified by:
getPY
in interface Track
getPZ
public double getPZ()
- Specified by:
getPZ
in interface Track
getExtrapX
public double getExtrapX()
getExtrapY
public double getExtrapY()
getExtrapR
public double getExtrapR()
getExtrapZ
public double getExtrapZ()
getMCParticle
public MCParticle getMCParticle()
- Specified by:
getMCParticle
in interface Track
getFrHtsSameMC
public double getFrHtsSameMC()
fitSuccess
public boolean fitSuccess()
- Description copied from interface:
Track
- Returns true if the track has been successfully fitted
- Specified by:
fitSuccess
in interface Track
x
public double x()
- Specified by:
x
in interface Hep3Vector
y
public double y()
- Specified by:
y
in interface Hep3Vector
z
public double z()
- Specified by:
z
in interface Hep3Vector
v
public double[] v()
- Specified by:
v
in interface Hep3Vector
mag
public double mag()
- Specified by:
mag
in interface Hep3Vector
mag2
public double mag2()
- Specified by:
mag2
in interface Hep3Vector
cosTheta
public double cosTheta()
- Specified by:
cosTheta
in interface Hep3Vector
getErrorMatrixElement
public double getErrorMatrixElement(int i,
int j)
- Description copied from interface:
Track
- Get an individual element of the error matrix
- Specified by:
getErrorMatrixElement
in interface Track
- Following copied from interface:
hep.lcd.event.Track
- See Also:
Track.getTrackParameter(int)
getTrackParameter
public double getTrackParameter(int i)
- Description copied from interface:
Track
- Get an individual track parameter
The track parameters for LCD are defined as follows
Index | Meaning |
0 | d0 = XY impact parameter |
1 | phi0 |
2 | omega = 1/curv.radius (negative for negative tracks) |
3 | z0 = z of track origin (z impact parameter) |
4 | s = tan lambda |
- Specified by:
getTrackParameter
in interface Track
- Following copied from interface:
hep.lcd.event.Track
- Parameters:
i
- The index of the track parameter- Returns:
- The track parameter with the specified index
getTrackParameters
public double[] getTrackParameters()
- Description copied from interface:
Track
- Get the track parameters as an array
- Specified by:
getTrackParameters
in interface Track
- Following copied from interface:
hep.lcd.event.Track
- See Also:
Track.getTrackParameter(int)
getErrorMatrix
public double[][] getErrorMatrix()
- Description copied from interface:
Track
- Get the error matrix as a 2-D array
- Specified by:
getErrorMatrix
in interface Track
- Following copied from interface:
hep.lcd.event.Track
- See Also:
Track.getTrackParameter(int)
getChi2
public double getChi2()
- Description copied from interface:
Track
- Get the Chi Squared for the track fit
- Specified by:
getChi2
in interface Track
- Following copied from interface:
hep.lcd.event.Track
- Returns:
- Chi Squared
- See Also:
Track.getNDF()
getNDF
public double getNDF()
- Description copied from interface:
Track
- Get the numbers of degrees of freedom for the fit
- Specified by:
getNDF
in interface Track
- Following copied from interface:
hep.lcd.event.Track
- Returns:
- The number of degrees of freedom
- See Also:
Track.getChi2()
The LCD Group