YBOS

Luckily, most of the YBOS manual can be ignored. KLOE users will in almost all cases be using a single array: the BCS array defined in K$INC:BCS.INC. This is a common block in which the elements are referred to using IW(wherever) for Integers, RW(wherever) for Reals, IW2(wherever) for Integer*2, and so on.

We organize information in banks, which we locate using BLOCAT. This gives us a pointer to the start of the data in a bank. The data we retrieve (or modify) using offsets to that pointer. For example,

istatus = blocat(iw,'PART',2,ibank,idata)
IF(istatus .NE. yesucc) GO TO 10	! no PART bank
prtrt = rw(idata+partrt)
prmas = rw(idata+parmas)
will locate the 2'nd instance of the PART bank related to the GEANFI particle number 2. If it doesn't exist, it skips elsewhere; and if it does, prtrt, the tracking type, is loaded from the common block using the RW (real) reference. The particle mass is loaded using the RW reference as well.

Check the routines that non-experts actually wind up using. Most of the work is done with only about a dozen routines.

Look here if you really need to see the full YBOS Reference Manual

UP arrow Back to Offline page