Overview over Track Fits in X-Y plane

type of track INTERFACE name routine to
calculate chisq
TrackFitWidth TrackFitXY TrackFitX
Line_Type
XYTrack_Type
TrackFitWidthLine
TrackFitWidthRadius
TrackFitXYLineT
TrackFitXYRadiusT
TrackFitXLineW
TrackFitXRadiusW
TRKCHI
Line_Type
XYTrack_Type
  TrackFitXYLineZ
TrackFitXYRadiusZ
TrackFitXLineZ
TrackFitXRadiusZ
TRKCHIZ

There are 3 types of fits to be called via their INTERFACE. Which SUBROUTINE is executed depends on the type of the FitTrack and whether the track width is provided as a number (time or width) or via a line (ZTrack). Both TRKCHI and TRKCHIZ have different possiblities to calculate the chisq in a row depending on the value of FitType which is read in from TPCinput.txt (default=1):

ROWCHI (FitType=1)
likelihood for the full row; uses parameters: ADC2Electron, pNoise
ROWCHItrunc (FitType=2)
likelihood for a given number of pads (truncated row); otherwise same as ROWCHI
ROWCHIPRF (FitType=3)
chisq for the full row; uses parameters AERR;
if pad response function is used (LPRF=.TRUE.) in addition parameters TrackWidth, PRFdel and PRF are used


Kirsten Sachs, 26 June 2004