next up previous contents index
Next: Particle Table Up: Modifying ALPHA banks Previous: Reserve user space for   Contents   Index


Modifying track / vertex attributes

All internal ALPHA banks are standard tabular BOS banks and can be modified like other banks. For the banks QVEC and QVRT, an additional possibility is foreseen: these banks are passed as arguments to subroutine QUEVNT and can be used as ordinary 2-dimensional arrays.


         SUBROUTINE QUEVNT (QT,KT,QV,KV)
         DIMENSION QT(KCQVEC,1), KT(KCQVEC,1), QV(KCQVRT,1), KV(KCQVRT,1)
         ...
         QT(JQVEQP,ITK) = 1.
         CALL ABC (QT,KT,QV,KV)
         END
         ...
         SUBROUTINE ABC (QT,KT,QV,KV)
Remarks :
QT and KT (tracks) refer to the same array (integer / real*4) and actually to the address of the bank QVEC plus a 2-word offset for the bank header (LMHLEN). QV and KV are defined similarly for bank QVRT (vertices).

Dimension :
Use the mnemonic symbols KCQVEC and KCQVRT (Fortran parameters defined in QCDE) for the number of columns. The number of rows can be set to any positive number.

QT(JQVEQP,ITK) :
Row number = ALPHA track number. column number = attribute. For all attributes, parameters are available in QCDE. The parameter names follow the usual convention (see App. B). ``J'' + 3 char. of the bank name + 2 char. attribute description.

next up previous contents index
Next: Particle Table Up: Modifying ALPHA banks Previous: Reserve user space for   Contents   Index
Joel Closier
2000-02-07