Geant4 Data Analysis
It is the user’s responsibility to extract and save information from a Geant4 simulation. Please watch the first a few minutes of the following video to have a rough idea how this can be done. You don’t have to understand everything mentioned in this video, but the take-away messages are:
- There are multiple ways to extract information from a Geant4 simulation, some requires no C++ coding, others do.
- One of my Geant4 example application GEARS can save most useful information from a simulation. It covers most user cases. You, as an end user, do not have to replicate this effort. Simply just use it.
Geant4 allows a user to save data in 4 different formats. Please watch the following video to learn more. I recommend ROOT, because
- It exists in any Geant4 installation. No additional effort is needed to enable it.
- A ROOT file is a compressed binary file, it ensures very small disk usage for large amount of data.
- ROOT provides a nice user interface to analyze a file in ROOT format.
- Python and Julia can be used to read a ROOT file.