Hello, I’m a new user of Geant4 and trying to do a test run using one of the example executables provided on the Geant4 website, B1. My apologies if this is a naive question, and I’d be grateful for any thoughts or wisdom.
I’ve listed the complete setup process I went through, and afterward is my main question. I’m re-pasting the question right here to save reader time if you just want to know what I’m getting at:
MY QUESTION IS: How do I open and see some graphics once I’ve run the B1 example? Is there a GUI interface where I can interact with this newly installed program to see some graphs and export ASCII files or spreadsheets?
Thanks so much!
Here is the basic install I’ve done of both Geant4 and the subsequent application, B1 found in the source file from Geant4 website:
GEANT4, I followed this install guide:
Here is the code I ran in my terminal:
Daniels-MacBook-Pro:geant4.10.07-build danielbarton$ cmake -DCMAKE_INSTALL_PREFIX=/applications/geant/geant4.10.06-install /applications/geant/geant4.10.07
cmake -DGEANT4_INSTALL_DATA=ON .
cmake -DGEANT4_USE_QT=ON .
Next, I copied the B1 example from the source folder to the main directory, made a build folder and installed:
$ cmake -DGeant4_DIR=/Applications/geant/geant4.10.07-install/lib/Geant4-10.7.1 /Applications/geant/B1 -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_QT=ON -DWITH_GEANT4_UIVIS=ON
$ make -j2
$ make install
Finally, I executed the newly installed program:
When it opens in my bash terminal window it looks like this:
geant_exampleB1.pdf (69.2 KB)
I run various commands, such as:
Idle> /run/beamOn 5
Idle> /tracking/verbose 1
Idle> /run/beamOn 1
Idle> /gun/particle mu+
Idle> /gun/energy 10 GeV
Idle> /run/beamOn 1
Idle> /gun/particle proton
Idle> /gun/energy 100 MeV
Idle> /run/beamOn 3
MY QUESTION IS: What next? i.e. How do I open and see some graphics? Is there a GUI interface where I can interact with this newly installed program?
Geant4 version: 10.7, first released 4 December 2020