= MPD DAQ Event Builder = == Event Building == 1. Receive data from Front-End Electronics 1. Combine individual streams by Global Event Number 1. Buffer events in memory 1. Handle errors and automatically recover 1. Distribute data to Storage, Monitoring, QA == Data Input/Output Interface == 1. Input and Output format is [[MpdDeviceRawDataFormat]] 1. Transfer media: raw TCP sockets, [[MpdDaqNetworkPorts]] 1. No special control channel, data is sent/received as-is == Typical Scenarios == [[attachment:Event_Builder_Packet_Flow.png|{{attachment:Event_Builder_Packet_Flow_640px.png}}]] 1. Handle all kinds of errors and misbehaving 1. No data loss – save as much as possible 1. Multiple Output Queues – Storage, Histograms, QA ---- [[CategoryMPD|MPD]]