Root and Geant4

Hello everyone

I am still learning and I am working on a Geant4 simulation code. How can I convert its output file to root in order to analyze it.