How to convert minidaq data file to a ROOT ez-tree

NOTE: if you run 'miniroot' insted of 'mini' you will get ez-tree produced on-line and not need to make any conversion

  1. login eemc-sc.starp.bnl.gov as user online
    ssh eemc-sc.starp.bnl.gov -l online
  2. you should work in it directory [mini] (as for minidaq)
  3. once execute script: (NOTE: the dot is important)
    . setup_root.sh
  4. run daq2tree script, for example
    daqtree lower0002.evt
    this will create a ROOT ez-tree in directory /home/online/mini/trees/.
  5. use macro dumpTree.C to view the contents of the ROOT file
    root -b -q 'dumpTree.C(1,"lower0002")'