KLOE Daq Event Building and final YBOS Output
The Kloe event Building is done in three stages:
For each DAQ chain the sub-events collected in "streams" by the "collector" processes running in the L2 CPUs are sent via the l2send processes and trough the usage of the DFC map to their final destination SBC node. In each node a l2receive process puts the streams of subevents in a multiple (for the different chains) circular buffer . A full description of the Sender/Receiving processes and test of performances done for different configurations can be found here (Wolfgang Note/Memo or whatever + a detailed WWW page). In this first stage the builder access the circular buffer and, for each trigger number, locates the sub-events of each chain. Then it gives the complete list of these sub-events to the following stages. A description of the used data structures for streams, header of the strems, subevent and slavesubevent can be found here .
For each trigger number, the internal consistency of the RockManager super-frame for the sub-events is checked by comparing the trigger-word in the sub-headers and testing the sub-footers position. In the data words coming from the RockM no explicit reference to the chain number exists.
ROCK MANAGER DATA WORD |
NVD | Crate | Na | SupFrame | SofFrame | EofFrame | Slot | Channel | RsvB | Data |
31 | 30-28 | 27 | 26 | 25 | 24 | 23-20 | 19-13 | 12 | 11-0 |
---|---|---|---|---|---|---|---|---|---|
The event output is simplified eliminating all the unused words (i.e. the sub-headers and sub-footers) and adding the information of the number of daq-chain which is useful for the Detector Mapping . and offline reconstruction. The final daq data word after this reformatting is as follows:
DAQ OUTPUT DATA WORD |
Chain | Crate | Slot | Channel | RsvB | Data |
31-28 | 27-24 | 23-20 | 19-13 | 12 | 11-0 |
---|---|---|---|---|---|
The list of subevents give in Input to the last stage is called l2slavesubevent consisting in data lengt, event number and array of Daq Data Words.
As a conclusion of all this discussion we have changed the old proposed Kloe Data structure and reduced the Ybos event Building to 6 banks only:
The most recent version of the package l2build is available trough: packman L2 v2.1 . There are some other processes which share a lot of goodies with the event Building. The mostly connected are:
Accessing Ybos information:
whatever A_C executable can access data both on OSF/HP just using inp module read, inp file filename, use your_module. Example to get DAQ - information.
Trough the usage of the package l2yboslocate
See the official page.
Top of the page. | Send comments to: Stefano Miscetti , Igor Sfiligoi |
Created | : | 6.8.1997 |
Last modified | : | 19.8.1997 |