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.

ITRA I “Track number” D=0<br />

ISEL I “Option flag” D=11<br />

SIZE R “Character size (cm) for particle names” D=0.25<br />

CALL GDPART(itra,isel,size)<br />

isel=x1 to drawthe track number<br />

isel=1x to drawthe particle name<br />

3.30 DHITS [ chuset chudet itra isymb ssymb ]<br />

CHUSET C “User set identifier” D=’*’<br />

CHUDET C “User detector identifier” D=’*’<br />

ITRA I “Number of the selected track” D=0<br />

ISYMB I “Character selection number” D=0<br />

SSYMB R “Size of characters (cm)” D=0.1<br />

CALL GDHITS(chuset,chudet,itra,isymb,ssymb). The character plotted at each hit point may be chosen by<br />

isymb :<br />

-1 (small) hardware points (fast)<br />

0 software crosses (default)<br />

840,850 empty/full circles (slow)<br />

841,851 empty/full squares (slow)<br />

842,852 empty/full triangles (up) (slow)<br />

843,853 empty diamond/full triangle (down) (slow)<br />

844,854 empty/full stars (slow)<br />

Except for isymb=-1, the size of the character on the screen can be chosen by SSYMB cm. The hit<br />

colour will follow the value of TXCI (text colour) for isymb〉0, the value of PMCI (polymarkers colour)<br />

for isymb〈0, the value of PLCI (polyline colour) for isymb=0.<br />

3.31 KHITS [ chuset chudet epsilo ]<br />

CHUSET C “User set identifier” D=’*’<br />

CHUDET C “User detector identifier” D=’*’<br />

EPSILO R “Pick aperture” D=0.1<br />

CALL GKHITS(chuset,chudet,epsilo)<br />

The picking of hit points requires the appropriate JSET data structure have been filled and is repeated until<br />

the character typed is ’Q’ or ’q’ (GKS) or the right button of the mouse is clicked (X11). If the character<br />

typed to pick is ’K’ or ’k’ then the kinematics of the corresponding track is also printed. The search is made<br />

of all the hits of all tracks in detector CHUDET of set CHUSET. EPSILO is the pick aperture; if EPSILO〈0<br />

its absolute value is taken and in addition the pick aperture is drawn; if EPSILO=0 there is an infinite pick<br />

aperture and over all the hits the one nearest to the pick point is taken.<br />

3.32 DCHIT [ chuset chudet itra isymb sizmax ihit hitmin hitmax ]<br />

XINT002 – 16 372

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

Saved successfully!

Ooh no, something went wrong!