Description  of Error and BC Branches

Error Branch (SttE) -- All error and status related values. To store as much information as possible some individual leaves contain multiple pieces of information packed into them.

Leaves: One entry per crate in run per event. Numbers in brackets correspond to bit-ranges for leaves with packed values.

Leaf Name
Description
Notes
l1l3bx
Mismatch between L1TFW and L3 header BX. Value is sextant number of error and
indexed by card and crate.
-1 if no error
skippedcrate
Will be set to 1 when a crate that has been skipped or is missing from the data.
** Note that all other errors are set to -1 if crate is skipped **
0 if OK
boemiss
FRC BOE missing error. Value is sextant of error.
-1 if no error
eoemiss
FRC EOE missing error. Value is sextant of error.
-1 if no error
cttmiss
FRC CTT data input missing. Value is sextant of error.
-1 if no error
bxerror
FRC BX mismatch between L1CTT and SCL. Value is sextant of error.
-1 if no error
roterror
FRC rotation number mismatch between L1CTT and SCL. Value is sextant of error.
-1 if no error
tfcerr0
TFC0 errors: (2-0) sextant of PCITO error; (5-3) sextant of ERRIN error;
-1 in place of error not set
(8-6) sextant of FRCCNT error; (11-9) sextant of FRCSUM error;
(14-12) sextant of STCCNT error; (17-15) sextant of STCDATA error;
(21-19) sextant of STCSYNC error; (24-22) sextant of EVTSYNC error.
tfcerr1
TFC1 errors (same format as tfcerr0 above).
As above.
l1bxmm
BC L3 trailer error for internal L1 BX mismatch. Format is: (0) set if error on any card;
Card bit 0 if no error for it
(3-1) sextant of the error; bits 4-15 each correspond to a the error on an STT card -
(4) FRC, (5) STC0, (6) STC1, ... , (13) STC8, (14) TFC0, (15) TFC1.
l2bxmm
BC L3 trailer error for internal L2 BX mismatch. Format as for l1bxmm.
l1bxlt
Latched version of l1bxmm. Format as above.
l1bxlt
Latched version of l2bxmm. Format as above.
chksum
Checksum error in BC L3 trailer. Format as above.
wcerr
Word count error in BC L3 trailer. Format as above.
chiperr
STC status chip error.
STC bit 0 if no error for it
smterr
STC status SMT error. Format as above (chiperr).
misseof
STC status missing EOF error. Format as above.
multstms
STC status multiple streams error. Format as above.
seqmm
STC Sequencer/HDI mismatch error. Format as above.
badsect
Sector number >79 detected in CTT L3 output from TFC0. Value is sextant number. -1 if no error
badhfib
H-fiber number >43 detected in CTT L3 output from TFC1. Value is sextant number.
-1 if no error

Buffer Controller Data Branch (SttBC) -- Buffer number and word count from the buffer controller.

Leaves: One entry per BC per event. The number of entries (nbcWords) will correspond to  the number of total cards (12) times the number of crates in the run, hence a maximum number of 72. The leaf entries are ordered by module (card) number (0=FRC, 1-9=STC0-8, 10=TFC0, 11=TFC1) for each sextant.

Leaf Name
Description
Notes
bufnum
Buffer number
None.
wrdcnt
Word count
None.
sextant
Sextant
None.


Please report any problems or requests to Norm Buchanan (buchanan@fnal.gov).

Last updated: Mar 17, 2004