.ROOT from geant4 code in Windows

Hi! I’m a beginner of Geant4 code and I’m trying to figure out how to open a .root file coming as output of a geant4 code. I installed root-6.26.10 using Ubuntu2204 and it works correctly. Which is the command line then to open the file output.root?
Thnaks for helping

Hello,

This seems more like a ROOT question than a Geant4 question.
Let me get this right: you are using Geant4 on Windows, get a ROOT-file from your simulation that you want to open in Ubuntu? Is it a Ubuntu installation on a Desktop pc or Windows Subsystem for Linux (WSL)?

In case you are using a Desktop, try in the console:

root
new TBrowser

this should open a graphical user interface for ROOT.

Regards
Max

Hello,
Thank you I followed your suggestion and it works!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.