How to extract output data in .dat format from .root files?

Try seaching this forum. This was recently asked: