Data format in the March 2004 beamtest

Header record

  • word size=16bit
    Record word 1word 2word 3word 4word 5word 6word 7word 8
    EVENT_RECORDlen type event timer Event Data*(2*len-6)
    BEGIN_RECORD len type run run_type not used not used timestamp
    RESUME_RECORD len type run run_type not used not used timestamp
    END_RECORD len type run run_type not used not used timestamp
  • len: number of words in the record
  • type: type of the record: 0-EVENT_RECORD, 1-BEGIN_RECORD, 3-RESUME_RECORD, 4-END_RECORD
  • event: event number
  • timer: time since the first event was recorded in mili seconds
  • timestamp: time since 1st January 1970 in seconds
  • run: run number
  • run_type: not used

    Event Data allocation

  • word size=16bit
    word nr. meaning
    Monitoring ( total 10ch )
    0 run time(sec)
    1 RICH1 used #event
    2 RICH1 used rate(%)
    3 RICH1 no shifted rate (%)
    4 #count for RICH1 ( VME ADC )
    5 #hit for RICH2
    6 #hist for MCP
    7 #hit for MWPC
    8 lam_flag
    9 ADC shift flag
    10 |ADC diff. | for shift search
    11-19 not used
    Trigger ( total 6ch )
    20 T1 TDC (1ch) 12bit
    21 T2 TDC (1ch) 12bit
    22 T3 TDC (1ch) 12bit
    23 T1 ADC (1ch) 10bit
    24 T2 ADC (1ch) 10bit
    25 T3 ADC (1ch) 10bit
    Positioning ( total 8ch )
    26 P1V TDC (1ch) 12bit
    27 P1H TDC (1ch) 12bit
    28 P2V TDC (1ch) 12bit
    29 P2H TDC (1ch) 12bit
    30 P1V ADC (1ch) 10bit
    31 P1H ADC (1ch) 10bit
    32 P2V ADC (1ch) 10bit
    33 P2H ADC (1ch) 10bit
    Gas Cherenkov ( total 4ch )
    34 GC1 TDC (1ch) 12bit
    35 GC2 TDC (1ch) 12bit
    36 GC1 ADC (1ch) 10bit
    37 GC2 ADC (1ch) 10bit
    Aerogel Crehkov for proton veto ( total 2 ch )
    38 AC TDC (1ch) 12bit
    39 AC ADC (1ch) 10bit
    Aerogel Counter with Wavelength shifter ( total 4ch )
    40 AW1 TDC (1ch) 12bit
    41 AW2 TDC (1ch) 12bit
    42 AW1 ADC (1ch) 10bit
    43 AW2 ADC (1ch) 10bit
    44-47 scaler counts
    MCP (nhits_mcp *16bit tdc +nhits_mcp * 16bit ch.info)
    50 MCP TDC[2*nhits_mcp]
    RICH2 (nhits_rich2 *16bit tdc +nhits_rich2 * 16bit ch.info)
    50 + 2*nhits_mcp RICH2 TDC[2*nhits_rich2]
    MWPC (nhits_mwpc *16bit tdc +nhits_mwpc * 16bit ch.info)
    50 + 2*(nhits_mcp + nhits_rich2) MWPC1, MWPC2 TDC[2*nhits_mwpc]
    RICH1 ( total 1024ch) 12bit
    50 + 2*(nhits_mcp + nhits_rich2 + nhits_mwpc) RICH1 ADC[1024]