Global region numbers for the local buffers.
BFSYS
COMMON/BFSYS/ JTGDC, JDCRS, JDCEC(2), JRSBV, JBVMG, JZMG(2)
Global region numbers for the global buffers.
CONPAR
Control parameters. For definitions and defaults, see allpar.cdf.
DECAY
COMMON/DECAY/ IPARNT recommended for internal use only
DISPLA
COMMON/DISPLA/ JDISP, LEVDSP, NNDISP
Parameters for the actuatuation and control of graphic event displays. Operation is analogous to printer event dumps. See also HELP UMC COMMON_BLOCKS UCON.
DRIFT
PARAMETER ( NLAYPR=5 ) ! number of active layers
PARAMETER ( NCELMX=72 ) ! maximum number of cells in layer
PARAMETER ( NSENMX=8 ) ! maximum number of sense wires
COMMON /DRIFT/NLAY,ALPHA,STAGGER,VDRIFT,NSENS(NLAYPR), + NCELL(NLAYPR),RINL(NLAYPR),ROUTL(NLAYPR),CELANG(NCELMX,NLAYPR), + XSS(NSENMX,NCELMX,NLAYPR),YSS(NSENMX,NCELMX,NLAYPR), + STEREO(NLAYPR),DATDC(NSENMX,NCELMX,NLAYPR),TANSTR(NLAYPR), + WDXDZ(NSENMX,NCELMX,NLAYPR),WDYDZ(NSENMX,NCELMX,NLAYPR)
Intended primarily for internal use by the drift chamber code, however, some variables are potentially of general interest. Most of these variables are controlled by similarly-named parameters. (See PARAMETER).
Additional Information on:
Additional Information on:
Pointers to regions of interest. These give the region number, RELATIVE TO THE BEGINNING OF THE SUBSYSTEM, for various special regions, such as the target, range stack layers, etc. To get the absolute region number, add IRxx-1 (see COMMON_BLOCKS NREG). ISPR__ are spares. ITYP__(i) are labels for region i in sybsystem __. The label is one of LRTYPE(10), set in GEOM. The label is given for one sector only. To get to other sectors, add NSEC__*(sector number-1).
Additional Information on:
These variables are used mainly for HOWFAR communications. For more information see the comments in the HOWFAR code.
MODHOW : should be set =1 before USER (actually all non-EGS calls) calls to HOWFAR and set back to 0 upon return.
DDIST : is the projected distance to the next boundary.
JHFCOD : an error code.
IOPAR
Variables used to control various I/O functions. ILP is the logical unit
to which all print statements are directed. For definitions and defaults,
see allpar.cdf.
MEDNUM
COMMON/MEDNUM/ NVAC, NPB, NSCINT, NALUM, NFE, NBAF2, NBEO,
$ NARISO, NG10, NCF4IS, NCU, MEDLAB(0:20), MEDLBS(0:20)
INTEGER NVAC, NPB, NSCINT, NALUM, NFE, NBAF2, NBEO, NARISO, NG10
INTEGER NCF4IS, NCU
CHARACTER*24 MEDLAB
CHARACTER*3 MEDLBS
The media numbers. Numbers start with NVAC=0 and ascend sequentially,
i.e., NPB=1, NSCINT=2, etc. MEDLAB and MEDLBS are character variables
containing the corresponding labels.
NREG
COMMON/NREG/ IRBF, NRBF, IRTG, NRTG, IRDC, NRDC, IRRS, NRRS,
$ IRBV, NRBV, IREC(2), NREC(2), NRTOT, SYSLAB(10)
INTEGER IRBF, NRBF, IRTG, NRTG, IRDC, NRDC, IRRS, NRRS,
$ IRBV, NRBV, IREC, NREC, NRTOT
CHARACTER*2 SYSLAB
Pointers to the first region (IRxx) and total number of regions (NRxx) in each subsystem xx. SYSLAB is an array of two character LABel mnemonics. (See HOWFAR SUBSYSTEMS.)
RSPC
COMMON/RSPC/ DRIFTV, NCELLS(2), WIRESP, XEDGE(2), ZHALF(2)
Range stack chamber parameters, set in RSCHAM.
SEED
Obsolete common block -- removed 1/96
TRGPAR
Set trigger parameters. For definitions and defaults, see allpar.cdf.
TRKBNK
see HELP UMC Track_Bank
UCON
COMMON/UCON/ IABORT, IDISCU, IQUIT, IREP, LEVDMP, NNDUMP
Control and routing flags. The following flags may be set by the user (usually in UAUS) to stop or alter the processing of an event as it develops.
Setting: IABORT=1 Causes the run to end after the current event.
IQUIT=1 Causes the processing of the current event to be stopped. The user may elect to do this to avoid wasting time completing the tracking of an obviously uninteresting event.
IDISCU=1 Causes the processing of the current particle to be stopped. The user may elect to do this say, for electromagnetically showering tracks that are not of interest.
IREP=1 Causes the current event to be regenerated so that the print and/or event displays can be turned on. (see also the code in the sample UMCUSE -- UEVENT). To get dumps and/or displays under these circumstances, set IEVDMP/IEVDSP to a large number and NDUMP/NDISP to the desired number of events to be replayed and dumped. SET IREP = 0 AFTER THE REPLAY TO AVOID AN INFINITE LOOP.
UDATA
COMMON/UDATA/ C, TTWOPI, RMSQ, RMASS(11), TLIFE(11)
Physical constants used in the program. C is the speed-of-light in cm/ns. TTWOPI is 2*PI=8.*ATAN(1.) RMSQ is the rest mass of the electron squared. RMASS(IT) is the rest mass of a particle of type IT in MeV/C**2. and TLIFE(IT) is the mean life of a particle of type IT in ns. For the a table of IT values see HELP UMC USTACK.
UENER
COMMON/UENER/NTARG,EDEGRD,ETARGS,ELOSTG,EHODOS,EICTRS,EVETOS,
$EHODOX(4),EHODOY(4),EICTR(6),EVETO(6),ETARG(14,9,4),
1 ERANGE, ELOSRS, ERANGS(21,24), ERANGM(21,24), ERANGP(21,24),
2 ERNGSS(21), NBAREL, EBAREL, EBLEAD, ELOSBV, EBARS(4,48),
3 EBARM(4,48), EBARP(4,48), NCAP(2), ECAP(2), ECAPSC(24,2),
4 ECAPPB(2), ECAPBF(2), ELOSEC(2), ELOSBF, ELOSDC
UENER contains the energy deposition arrays and their associated pointers. The variables of UENER are accumulated over the course of an event and are best accessed from the user routine UEVENT. All energies are in the standard UMC unit of energy, the MeV. All energies are summed in time over the ENTIRE EVENT. Thus, they will include, for example, the electrons from muon decay, if any are generated. To get energy deposited in a given counter in a given time interval, see TRANSIENT_DIGITIZER_DATA.
Additional Information on:
Useful for printing in many routines. IEV: the event number. JDUMP: A bit mask containing values determined by the user settable parameters IDUMP and IDUMPU. (see HELP UMC IOPAR IDUMP(etc.)
IPCODE is used by UMC event dumping routines.
UMEDIA
COMMON/UMEDIA/NELEM(50),AMEDIA(5,50),ZMEDIA(5,50),PARDEN(5,50),
1 UDEDX0(50),UTUNE(5,50),SATUR(50)
UMC generated media data:
NELEM(MD): number of elements in the MD'th medium.
AMEDIA(IE,MD): atomic weight of the IE'th element in the MD'th medium.
ZMEDIA(IE,MD): atomic number " " " " " " " " .
PARDEN(IE,MD): partial density " " " " " " " " (gr/cm**3).
UDEDX0(MD): APPROX dE/dx for min. ionizing particles (for internal use).
UTUNE(IE,MD): fudge factor for energy loss routines (=1. as of 8/86).
SATUR(MD): saturation constant for active media.
Further details can be found in the code for UHATCH.FOR.
USER
A common for the user. Of course arbitrarily many others may be defined.
USTACK
see HELP UMC USTACK
WEIGHT
COMMON/WEIGHT/WEVENT,WTPN,WMATE,NWTS
EQUIVALENCE( WEVENT,WWWW(1))
DATA NWTS /3/
The variables in WEIGHT are used to keep track of occurances with relative weights smaller than 1. For example, if the user chooses MODEPN=1 and THRSPN = 122.77 (the boundary between the high and low energy gammas in K_Pi_2 decay), the high energy gamma will be forced to undergo PN absorption and the value of WTPN will be set equal to the relative probability that the gamma(s) in question will undergo P-N absorption.
NWTS: number of weight variables.
WEVENT: the overall probability for the event. WEVENT is the product of all the other variables in WEIGHT. NOTE: WEVENT is not calculated until all tracking has been done and is not valid until the call to UEVENT.
WTPN: weight, or product of weights for all photo-nuclear interactions in the event.
WMATE: weight of matrix element.