RAW file dumped by EUDAQ (stream from Labview)

EUDAQ dumps the complete stream from labview control. Labview adds prefixes to each packet in the stream to destinguish an origin:

  • 0xCDCD: ASIC data, temperature data, timestamps
  • 0xACDC: slowcontrol info
  • 0xDAC1: LED voltage
  • 0xBAD1: Bias voltage adjustment

EUDAQ RAW

type is "CaliceObject". responsible module: ./user/calice/AHCAL/module/src/ScReader.cc

Event parameters

(standardized EUDAQ)

  • EventN
  • TriggerN
  • Timestamp (range from - to, 25 ns bins) - typically filled with the complete bxid width, 

event block structure:

  • Block 0 (c_str): "EUDAQDataScCAL" - will be translated to the name of collection
  • Block 1 (c_str): "i:CycleNr,i:BunchXID,i:EvtNr,i:ChipID,i:NChannels,i:TDC14bit[NC],i:ADC14bit[NC]" - field description for slcio
  • Block 2 (vector<int>): time (unixtime)
  • Block 3 (vector<int>): slowcontrol block
  • Block 4 (vector<int>): LED information
  • Block 5 (vector<int>): Temperature
  • Block 6 (vector<uint32_t>): timestamps: start (Lo, Hi), stop(Lo, Hi), (trigger(Lo, Hi))++
  • Block 7 (std::vector<std::pair<int, int>>): stopping BXID per asic
  • Block 8 (vector<int>): HV adjustment info
  • Block 9 (vector<int>): (reserved)
  • Block 10 (vector<int>)*: block of BXID data from ASIC for all 36 channels (as described in Block 1
  • ... (same type as block 10)

tags

  • BXID
  • DAQ_ERROR_STATUS, 0==OK
    • Error masks defined in ./user/calice/AHCAL/module/include/ScReader.hh

      #define DAQ_ERRORS_INCOMPLETE 0x0001
      #define DAQ_ERRORS_OUTSIDE_ACQ 0x0002
      #define DAQ_ERRORS_MULTIPLE_TRIGGERS 0x0004
      #define DAQ_ERRORS_MISSED_DUMMY 0x0008
      #define DAQ_ERRORS_MISSING_START 0x0010
      #define DAQ_ERRORS_MISSING_STOP 0x0020
      
  • LDATS_High - trigger timestamp in ns
  • LDATS_Low - trigger timestamp in ns
  • ROC - Readout Cycle
  • ROCStartTS - timestamp of start of the acquisition command (25 ns bins)
  • TriggerBxidTdc - trigger timestamp within the BXID. Can be 0..159 in case of 4us acquisition window
  • RawLDATrigID
  • (Dummy) "1" means a dummy packet to fill the sequence in case event number is used as a trigger number


SLCIO

responsible module: ./user/calice/module/src/AHCalRawEvent2LCEventConverter.cc

LCGenericObject collections:

  • ASICStopData
    • parameter DataDescription [string]: [i:asic(memCell 15),i:lowest bxid(memCell15)],[[i:asic, i:stop bxid in asic],[],...],
  • DesyTableCollection
  • EUDAQDataLDATS
    • parameter DataDescription [string]: i:StartTS_L;i:StartTS_H;i:StopTS_L;i:StopTS_H;i:TrigTS_L;i:TrigTS_H,
  • EUDAQDataScCAL
    • parameter DataDescription [string]: i:CycleNr,i:BunchXID,i:EvtNr,i:ChipID,i:NChannels,i:TDC14bit[NC],i:ADC14bit[NC],
  • HVAdjInfo
    • parameter DataDescription [string]: i:LDA,i:port,i:Module,i:0,i:HV1,i:HV2,i:HV3,i:0,
  • LEDinfo
    • parameter DataDescription [string]: i:Nlayers,i:LayerID_j,i:LayerVoltage_j,i:LayerOnOff_j,
  • SlowControl
    • parameter DataDescription [string]: i:sc1,i:sc2,i:scN,
  • TempSensor
    • parameter DataDescription [string]: i:LDA,i:port,i:T1,i:T2,i:T3,i:T4,i:T5,i:T6,i:TDIF,i:TPWR,


  • No labels