Project

General

Profile

DumpDigitizerData

from lariat-online/daq

bin/DumpDigitizerData datafile boardId [channelA channelB ...]

Run this if you'd like to dump out the digitizer waveforms to the screen

Outputs the ADC from each digitizer channel (columns) for each sample time (rows)

Please do not base analysis programs on the ASCII output of this program!!! It is for testing and diagnosis. A basic analysis program, such as for finding pedestals, might copy the source, remove the printout to the screen and get busy.

  • ADC values are in hex.
  • datafile is a full path to a .dat file written by the LArIAT DAQ
  • boardID is an integer requesting the board whose data you'd like to view
  • optional [channelA channelB ...] is list of channels you'd like to look at.
    • If omitted prints all channels on the board (hope you have a big monitor).

Example:

In August 2014 Board 3 was interesting to look at because it was digitizing logic pulses from the different beamline counters. See Logical inputs to the CAEN_V1740. Notice hits on ch 48-51 at sample times 9 and 10. At the time these were the DSTOF1,2 and VETO1,2 channels. Seems sensible.

bin/DumpDigitizerData /daqdata/lariat_physics_2750_9.dat 3 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48

    |  63|  62|  61|  60|  59|  58|  57|  56|  55|  54|  53|  52|  51|  50|  49|  48
-------------------------------------------------------------------------------------
   0| 817| 812| 817| 81c| 838| 830| 834| 82f| 81b| 81a| 819| 815| 80f| 81d| 827| 82a
   1| 817| 812| 816| 81d| 838| 830| 834| 82f| 81b| 81a| 819| 815| 80f| 81d| 827| 82c
   2| 817| 812| 816| 81d| 838| 830| 834| 82f| 81a| 81a| 819| 815| 80f| 81e| 826| 82c
   3| 817| 811| 816| 81d| 838| 831| 834| 82f| 81a| 81a| 819| 815| 810| 81d| 826| 82b
   4| 817| 811| 816| 81d| 838| 831| 834| 82f| 81a| 81a| 819| 815| 810| 81d| 826| 82b
   5| 750| 819| 819| 81e| 83a| 832| 835| 830| 81a| 81a| 819| 815| 80f| 81d| 826| 82b
   6| 817| 812| 816| 81d| 838| 830| 834| 82f| 81a| 81a| 819| 815| 80f| 81d| 826| 82b
   7| 818| 812| 816| 81d| 839| 831| 834| 82f| 81b| 81a| 819| 815| 80f| 81d| 826| 82b
   8| 817| 812| 816| 81d| 838| 831| 834| 82f| 81b| 81a| 819| 816| 80f| 81d| 826| 82b
   9| 818| 813| 817| 81d| 836| 82e| 831| 82b| 81c| 81c| 81b| 818| 7de| 78f| 7c1| 77c
  10| 817| 812| 815| 81d| 839| 831| 834| 82f| 819| 819| 817| 813| 5e8| 5a4| 606| 64b
  11| 817| 811| 817| 81d| 838| 830| 834| 82f| 81a| 81a| 819| 816| 805| 812| 824| 829
.
.
.