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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Origin : W.Mitaroff Submitted: 21.02.85<br />

Revision : Revised: 19.12.93<br />

Documentation :<br />

Digitisation for drift chambers<br />

CALL GCDRIF<br />

(RADD,ZMIN,ZMAX,DETREP,HITREP,IOUT*)<br />

RADD<br />

ZMIN<br />

ZMAX<br />

DETREP<br />

HITREP<br />

IOUT<br />

(REAL) radius of cylindrical chamber in cm;<br />

(REAL) z of lower end of cylindrical chamber;<br />

(REAL) z of upper end of cylindrical chamber;<br />

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

1 number of wires;<br />

2 wire spacing in φ (radians);<br />

3 cosine of wire angle with respect to the z axis;<br />

4 sine of wire angle with respect to the z axis (signed like dφ/dz);<br />

5 dφ/dz along wire;<br />

6 φ of point with z =0on wire 1;<br />

7 drift velocity (cm nsec −1 );<br />

8 if > 0 user routine GUDTIM will be called to calculate drift time;<br />

(REAL) array of 4 describing the track:<br />

1 φ coordinate of intersection;<br />

2 z coordinate of intersection;<br />

3 dφ/dr;<br />

4 dz/dr;<br />

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

1 wire number (1...NWI with increasing phi), -1 if DETREP parameters are inconsistent;<br />

2 drift time in nsec, > 0 if φ(hit) >φ(wire);<br />

3 digitised current division information (relative position of charge along wire, per mille);<br />

4 amount of charge deposited onto wire.<br />

Digitisation routine for a cylindrical drift chamber.<br />

Knowing the position Z of the deposit of charge we can calculate<br />

ICD = L Z − Z l<br />

Z u − Z l<br />

where L = 1000 in the program. This is the information stored into IOUT(3).<br />

CALL GCDERR<br />

(ICD*,ERP,ERS)<br />

ICD<br />

ERP<br />

(INTEGER) digitised current division information (≤ ICD ≤ 1000), overwritten on output with<br />

the modified value taking into account the errors;<br />

(REAL) variance of Gaussian pedestal errors on the measured pulse heights relative to the sum<br />

of the pulse heights;<br />

173 HITS510 – 1

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

Saved successfully!

Ooh no, something went wrong!