Privacy and Security Notice

Archived Messages for CLAS_DRIFT_CHAMBERS@cebaf.gov: wire status

wire status

Richard Thompson (richardt@jlab.org)
Thu, 16 Apr 1998 11:28:01 -0400 (EDT)

I have changed the definition of wire status:

Redifined wire status.

See status.h:
/* DC STATUS */
#define GOOD_DC_WIRE 0
#define DEAD_DC_WIRE 1 /* 1 - 99 are reserved for dead and dim */
#define HOT_DC_WIRE 100 /* 100 - 199 are reserved for hot */

Added use of these macros in make_DCDW_bank.

status == 888 no longer means good wire.

I think Francois invented 888, but it didn't make sense to me.

To my knowledge, the only piece of code that uses this is make_DCDW_bank
in dc/dc_makebanks.c, and I fixed that.

Anyone else reading wire status directly from DC_STATUS.map or the DDLY
bank should use the macros in status.h.

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