|
Public Member Functions |
|
| CSCTrack () |
| | Constructor for intialization.
|
|
| ~CSCTrack () |
| | Destructor.
|
|
void | Print () |
| | Print parameters to stdout for debugging.
|
| double | GetInterceptX () |
| | Provides access to linefit parameters:.
|
| double | GetInterceptY () |
| | Provides access to linefit parameters:.
|
| double | GetSlopeX () |
| | Provides access to linefit parameters:.
|
| double | GetSlopeY () |
| | Provides access to linefit parameters:.
|
| double | GetAngleX () |
| double | GetSlopeY () |
| double | GetChi2X () |
| double | GetChi2Y () |
| double | GetBitmapX () |
| | Provides access to the bitmask of the track: For each layer, a bit is set if a hit has been found.
|
| double | GetBitmapY () |
| | Provides access to the bitmask of the track: For each layer, a bit is set if a hit has been found.
|
| int | GetNumHitsX () |
| int | GetNumHitsY () |
| CSCHit * | GetHitX (int layer) |
| | Provides access to the hits of this track.
|
| CSCHit * | GetHitY (int layer) |
| | Provides access to the hits of this track.
|
| double | GetPredictedX (int layer) |
| | Provides the predicted X position from the line fit.
|
| double | GetPredictedY (int layer) |
| | Provides the predicted Y position from the line fit.
|
| double | GetMeasuredX (int layer) |
| | Provides the measured X position from the CSCHit().
|
| double | GetMeasuredY (int layer) |
| | Provides the measured Y position from the CSCHit().
|
| void | SetOffsetA (int layer, double offset) |
| | Set the constant offset in the X direction.
|
| void | SetOffsetB (int layer, double offset) |
| | Set the Y-dependant offset in the X direction.
|
| double | GetOffsetA (int layer) |
| | Get the constant offset in the X direction.
|
| double | GetOffsetB (int layer) |
| | Set the Y-dependant offset in the X direction.
|
| CSCChamber * | GetChamber () |
| void | SetChamber (CSCChamber *csc) |
| | Sets the pointer to the chamber of this track.
|
| void | AddHit (CSCHit *hit) |
| | Adds a CSCHit() to the track.
|
| void | Fit () |
| | Performs the line fit in X and Y directions and computes the largest and smallest peaking times of the hits.
|
| double | GetEarliest () |
| double | GetLatest () |
Each set of 4 hits is fitted to a straight line, where the intercept value marks the crossing of that line with layer 0.
For each layer, the alignment consists of an offset in the X direction with a constant component and a Y-dependent component: Offset = OffsetA + Y * OffsetB. The Offset values can be set manually, or with the GeoServer() class. The Y value for the correction comes from the line fit prediction, not from the Y hit in that plane.