22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Geant 3.16 GEANT User’s Guide HITS500<br />

Origin : GEANT2 Submitted: 01.10.81<br />

Revision : Revised: 19.12.93<br />

Documentation :<br />

Digitisation for drift- or MWP- Chambers<br />

CALL GPDRIF<br />

(DETREP,HITREP,IOUT*)<br />

DETREP<br />

HITREP<br />

IOUT<br />

(REAL) array of 6 with detector description:<br />

1 number of wires;<br />

2 wire spacing in cm;<br />

3 sin(α);<br />

4 cos(α);<br />

5 distance of wire 1 from the origin in cm;<br />

6 drift velocity (cm/nsec)<br />

(REAL) array of 2 with track description:<br />

1 x coordinate of intersection;<br />

2 y coordinate of intersection;<br />

(INTEGER) result of digitisation:<br />

1 wire number;<br />

2 drift time (signed to avoid left/right ambiguity).<br />

Digitisation routine for a plane drift chamber. The drift chamber is supposed to be in the x − y plane. The<br />

normal to the wires in the x − y plane and the z axis form an angle α.<br />

CALL GCMWPC<br />

(DETREP,HITREP,IOUT*)<br />

DETREP<br />

HITREP<br />

IOUT<br />

(REAL) array of 6 with detector description:<br />

1 number of wires;<br />

2 wire spacing (radians);<br />

3 dθ/dz along the wires;<br />

4 θ of a point on wire 1;<br />

5 z of a point on wire 1 corresponding to θ=DETREP(4);<br />

6 gap width;<br />

(REAL) array of 4 with track description:<br />

1 θ coordinate of intersection;<br />

2 z coordinate;<br />

3 dθ/dr;<br />

4 dz/dr;<br />

(INTEGER) array of 4 with result of digitisation:<br />

1 wire number (-1 if missing);<br />

2 cluster size;<br />

3 wire number of second cluster if any;<br />

4 cluster size;<br />

Routine to compute one or two digitisations produced by a hit on a cylindrical MWPC. The chamber is a<br />

cylinder of thickness DETREP(6) which should be small compared with the radius.<br />

171 HITS500 – 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!