public class BasicTrack extends Object implements Track
Track
interface.
Includes method for initializing track parameters from momentum at a given point.Modifier and Type | Field and Description |
---|---|
protected static double |
_bField |
protected int |
_charge |
protected double |
_chi2 |
protected static ConditionsListener |
_conListener |
protected SymmetricMatrix |
_covMatrix |
protected double |
_dEdx |
protected double |
_dEdxErr |
protected boolean |
_fitSuccess |
protected ArrayList<TrackerHit> |
_hits |
protected double |
_innermostHitRadius |
protected double[] |
_momentum |
protected int |
_ndf |
protected int[] |
_nHitsSubdet |
protected double[] |
_parameters |
protected double[] |
_refPoint |
protected boolean |
_refPointIsPCA |
protected static HelixSwimmer |
_swimmer |
protected ArrayList<Track> |
_tracks |
protected int |
_type |
Constructor and Description |
---|
BasicTrack()
Default constructor.
|
BasicTrack(BasicTrack track)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addTrack(Track track)
Add track to the list of tracks associated with this track.
|
boolean |
fitSuccess()
Returns true if the track has been successfully fitted
|
int |
getCharge() |
double |
getChi2()
Get the Chi Squared for the track fit
|
double |
getdEdx() |
double |
getdEdxError() |
SymmetricMatrix |
getErrorMatrix()
Get the error matrix
|
double[] |
getMomentum() |
int |
getNDF()
Get the numbers of degrees of freedom for the fit
|
double |
getP()
Returns amplitude of the track momentum.
|
double |
getPt()
Returns transverse momentum of the track.
|
double |
getPX() |
double |
getPY() |
double |
getPZ() |
double |
getRadiusOfInnermostHit() |
double[] |
getReferencePoint() |
double |
getReferencePointX() |
double |
getReferencePointY() |
double |
getReferencePointZ() |
int[] |
getSubdetectorHitNumbers() |
List<TrackerHit> |
getTrackerHits() |
double |
getTrackParameter(int i)
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
Parameters according to the L3 conventions
|
double[] |
getTrackParameters()
Get the track parameters as an array
|
List<Track> |
getTracks() |
List<TrackState> |
getTrackStates() |
int |
getType() |
static void |
initialize(Detector detector)
Initialization of static members.
|
boolean |
isReferencePointPCA() |
void |
removeTrack(Track track)
Removes track from the list of tracks associated with this track.
|
void |
removeTracks()
Remove all tracks from the list of tracks associated with this track.
|
void |
setHelixParameters(SpacePoint refPoint,
SpacePoint position,
SpaceVector momentum,
int charge) |
protected double[] _refPoint
protected boolean _refPointIsPCA
protected double[] _parameters
protected SymmetricMatrix _covMatrix
protected double[] _momentum
protected int _charge
protected boolean _fitSuccess
protected double _chi2
protected int _ndf
protected double _dEdx
protected double _dEdxErr
protected double _innermostHitRadius
protected int[] _nHitsSubdet
protected ArrayList<TrackerHit> _hits
protected int _type
protected static double _bField
protected static HelixSwimmer _swimmer
protected static ConditionsListener _conListener
public BasicTrack()
public BasicTrack(BasicTrack track)
public static void initialize(Detector detector)
public double[] getReferencePoint()
getReferencePoint
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 boolean isReferencePointPCA()
isReferencePointPCA
in interface Track
public double[] getMomentum()
getMomentum
in interface Track
public double[] getTrackParameters()
Track
getTrackParameters
in interface Track
Track.getTrackParameter(int)
public double getTrackParameter(int i)
Track
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 |
getTrackParameter
in interface Track
i
- The index of the track parameterpublic SymmetricMatrix getErrorMatrix()
Track
getErrorMatrix
in interface Track
Track.getTrackParameter(int)
public boolean fitSuccess()
Track
fitSuccess
in interface Track
public double getChi2()
Track
getChi2
in interface Track
Track.getNDF()
public int getNDF()
Track
getNDF
in interface Track
Track.getChi2()
public double getdEdxError()
getdEdxError
in interface Track
public double getRadiusOfInnermostHit()
getRadiusOfInnermostHit
in interface Track
public int[] getSubdetectorHitNumbers()
getSubdetectorHitNumbers
in interface Track
public List<TrackerHit> getTrackerHits()
getTrackerHits
in interface Track
public double getPt()
public double getP()
public void addTrack(Track track)
public void removeTrack(Track track)
public void removeTracks()
public void setHelixParameters(SpacePoint refPoint, SpacePoint position, SpaceVector momentum, int charge)
public List<TrackState> getTrackStates()
getTrackStates
in interface Track
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.