Privacy and Security Notice

Archived Messages for CLAS_OFFLINE@cebaf.gov: change to tbid and part

change to tbid and part

Richard Thompson (richardt@jlab.org)
Wed, 18 Mar 1998 17:35:21 -0500 (EST)

This message should be read by (and probably only by) anyone using the
TBID or PART banks.

Neutral particles have been added to the TBID bank. (TBID is a detector
hit-matching bank.) For entries in TBID that correspond to neutral
particles, tbid.track = 0 to indicate that there was no match to the drift
chambers for that particle.

If tbid.track is non-zero, it is the (Fortran-style) array index in TBTR
of the track. But be aware than now tbid.track can now be zero (neutral
particle).

So don't do things like

tbtr[tbid->track-1]

for neutrals ('cause this will be tbtr[-1]!).

In the part bank, part.trkid is now always an array index pointer to the
tbid bank for neutrals. Before part.trkid pointed to the echb bank for
neutrals.

So

echb[part->trkid-1]

doesn't make sense anymore (because part->trkid never points to echb).

This should now be

echb[tbid[part->trkid-1].track-1]

These changes are in the repository, but not release-1-14.

Call or email me if you need clarification.

\ R A Thompson /
/ Dept of Physics and Astronomy University of Pittsburgh \
\ Pittsburgh, PA 15260 /
/ richardt@cebaf.gov 757-269-7475 \