parsing DAQ tree to build DAQ