The formula used for the pad resolution function was taken from
STAR note # 34 [4]. The resolution function is
where is the drift distance (taken in meters),
is
the crossing angle, and
is the inverse of an
attenuation factor.
The recommended values are
m,
m (for
in meters), and
m, and
is taken to be zero.
The code uses the values of
to avoid calculating a lot of
squares. Also, GEANT uses centimeters rather than meters, then
cm.
The resolution in the y direction
is taken as a constant, . The recommended value is
cm.
For one pad hits (those which are above the value of HITTHRESHOLD and below
the value of ONEPADTH) the position is rounded to the center of the nearest
pad row by making the value of x of the form
,
where N is an integer, and XPADSIZE is the width (in x) of a pad.
The value of the resolution returned (DX) is
.