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