Digitisation of Drift- or MWP- Chambers

+-------------+                                               +----------##
| Geant 3.10  |               GEANT User's Guide              | HITS500  ##
+-------------+                                               +----------##
                                   

Author(s) : Submitted: 01.10.81 Origin : GEANT2 Revised: 28.05.86

         +------------------------------------------------------+
         | CALL GPDRIF (DETREP,HITREP,IOUT*) |
         +------------------------------------------------------+
                                  

Digitisation routine for a plane drift chamber.

DETREP(1)
number of wires
DETREP(2)
wire spacing
DETREP(3)
SIN(alpha) (alpha=angle of the normal to the wire with respect to axis 1)
DETREP(4)
COS(alpha)
DETREP(5)
distance of wire 1 from the origin
DETREP(6)
drift velocity (cm/nsec)
HITREP(1)
x coordinate of intersection
HITREP(2)
y coordinate of intersection
IOUT(1)
wire number
IOUT(2)
drift time (signed to avoid left/right ambiguity)

         +------------------------------------------------------+
         | CALL GCMWPC (DETREP,HITREP,IOUT*) |
         +------------------------------------------------------+
                                  

Routine to compute one or two digitisations produced by a hit on a cylindrical MWPC.

DETREP(1)
number of wires
DETREP(2)
wire spacing (radians)
DETREP(3)
dtheta/dz along the wires
DETREP(4)
theta of a point on wire 1
DETREP(5)
z of a point on wire 1
>DETREP(6)
gap width
HITREP(1)
theta coordinate of intersection
HITREP(2)
z coordinate
HITREP(3)
dtheta/dr
HITREP(4)
dz/dr
IOUT(1)
wire number (-1-missing)
IOUT(2)
cluster size
IOUT(3)
wire number of second cluster if any
IOUT(4)
cluster size

         +------------------------------------------------------+
         | CALL GPMWPC (DETREP,HITREP,IOUT*) |
         +------------------------------------------------------+
                                  

Digitisation routine for a plane MWPC.

DETREP(1)
number of wires
DETREP(2)
wire spacing
DETREP(3)
SIN(alpha) (alpha=angle of the normal to the wire with respect to axis 1)
DETREP(4)
COS(alpha)
DETREP(5)
distance of wire 1 from the origin
DETREP(6)
gap width
HITREP(1)
x coordinate of intersection
HITREP(2)
y coordinate
HITREP(3)
dx/dz
HITREP(4)
dy/dz
IOUT(1)
wire number
IOUT(2)
cluster size