RIDF
General Rule of Headers
Class ID
Elements
Block Header
- Layer = 0
- Class ID
- 0 : Event Fragment
- 1 : Event Assembly
- 2 : Event Assembly Fragment
Block Ender
- Layer = 0 or 1
- Class ID = 9
Block Number
- Layer = 1
- Class ID = 8
Event Header
- Layer = 1
- Class ID = 3
Event Header with Timestamp
- Layer = 1
- Class ID = 6
Segment
- Layer = 2
- Class ID = 4
Segment ID
- Revision : 0 = Version 1
- Device : Experimental devices such as BigRIPS, ZDS, SHARAQ ...
- Focal Plane : F1=1, F2=2, F3=3 ...
- Detector : ID of detector such as PPACQ, PPACT, PlasticQ ...
- Module : Unique number of ADC module
See https://ribf.riken.jp/RIBFDAQ/index.php?DAQ%2FManual%2FDataformat
Scaler
- Layer = 1 or 2
- Class ID :
- 11 = no clear (24bit)
- 12 = clear every buffer
- 13 = no clear (32bit)
Status
- Layer = 1 or 2
- Class ID = 21
Status ID
- 0 : Reserved
- 11 : Run start status by XML
- 12 : Run end status by XML
Comment
- Layer = 1 or 2
- Class ID = 5
Comment ID
- 0 : Header
- 1 : Ender
- 2 : Warning
Timestamp
- Layer = 2
- Class ID = 16