Page History
...
Code Block |
---|
enum Value { DroppedContribution = 1, OutOfOrder = 12, OutOfSynch = 13, UserDefined = 14, IncompleteContribution = 15, ContainsIncomplete = 16 }; // reserve the top byte to augment user defined errors enum {NotUserBitsMask=0x00FFFFFF, UserBitsShift = 24}; |
- DroppedContribution - means that event is "split" and contains only partial data from incomplete set of detectors. There may be another (or even few) datagram with the same timestamp containing remaining data from the same event.
- OutOfOrder - In this case the event may contain data from one or more detector which actually belong to a different event.
- OutOfSynch
- UserDefined - reserved for user-defined conditions
- IncompleteContribution - means that data in that particular container is badly damaged, are incomplete, and cannot be used
- ContainsIncomplete - means that it contains one or more containers at deeper XTC levels which have IncompleteContribution damage, events with this damage may be partially useful
Code Block |
---|
Bit Mask Name ----------------------------------- 1 0x00002 DroppedContribution 12 0x01000 OutOfOrder 13 0x02000 OutOfSynch 14 0x04000 UserDefined 15 0x08000 IncompleteContribution 16 0x10000 ContainsIncomplete Bit = n means 1<<n, i.e. 1 shifted left n bits: Decimal Binary int32_t value = 1 00000000000000000000000000000001 | | | | DroppedContribution 00000000000000000000000000000010 OutOfOrder 00000000000000000001000000000000 OutOfSynch 00000000000000000010000000000000 UserDefined 00000000000000000100000000000000 IncompleteContribution 00000000000000001000000000000000 ContainsIncomplete 00000000000000010000000000000000 |
...
Overview
Content Tools