Home Reconstruction   E-mail Notes Meetings Subsystems Search

Root to Hbook

For those who cannot gave up PAW, a short recipe how to convert a root file with 1d or 2d histograms to Hbook format to be read with PAW:

  • Assume you have a root file named test.root
  • Step 1, type: root -b -q -l 'root2hbook.c("test.root")'
  • Step 2, type: paw -b test.kumac
  • Result: test.hbook

The root macro, root2hbook.c, can be found here.
Original author is Rene Brun.

Any volunteer to make a conversion for simple N-tuple ?