Geant4 is a toolkit for the simulation of the passage of particles through matter. Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science.
Questions tagged [geant4]
30 questions
3
votes
1 answer
Calibrating the output(output factor) of a smaller source using Geant4/GATE MonteCarlo simulation
I am using GATE(which uses Geant4) to do MC studies on dosimetric output. I am using a cylindrical cobalt source at 80 cm SAD to measure the PDD in a water phantom and dose at depth of 10 cm.
I now want to simulate a smaller source (say, r/2 and…

MadPhysicist
- 175
- 2
- 11
1
vote
0 answers
Finding the nucleus of neutron capture in geant4
I am shooting neutrons to gadolinium mix with water. I want to count how many neutron captured on hydrogen and gadolinium. I have found a question as Find nucleus involved in nCapture process in Geant4
Answer given here this link…

Janmajay Kumar
- 11
- 2
1
vote
0 answers
Why is my modified Pol01 running in batch mode works for all polarized photon states except for left circularly polarized photons?
I am attempting to use Pol01 example to examine the angular distribution of initially polarized photons Compton scattering off G4_Si.
I have had to include several lines of code in the SteppingAction.cc which will print out information like, for…

Quantum Kid
- 11
- 2
1
vote
0 answers
Displaying Colormap/legend with x,y,z plot and fourth variable
I'm using Pandas and am very new to programming. I'm plotting Energy Deposited (eDep) as a function of its x,y and z positions. So far, was successful in getting it to plot, but it won't let me plot the colormap beside my scatter plot! Any help is…

Konnor John
- 11
- 3
1
vote
1 answer
Geant4 input with MPI not compiling
I am trying to compile a Geant4 Input in multiple cores using MPI (G4MPI). But the make command is yielding following error:
/usr/bin/ld: CMakeFiles/exMPI01.dir/exMPI01.cc.o: undefined reference to symbol…

SANDIPAN DAWN
- 87
- 8
1
vote
1 answer
CMake: Not to use /usr/lib64/libXmu.so
I am new to CMake and Geant4. I am trying to build a project using them.
Also, I am working in a remote cluster. When I cmake, there's no error. But when I do make the error I am getting is,
make[2]: *** No rule to make target…

Mohanraj S
- 13
- 3
1
vote
1 answer
Geant4 error while building INSTALL from the Geant4.sln
i have a big problem when installing geant4 in windows 7 64 bit with vs2010 and geant4 4.10
With cmake everything goes fine but then when it come to build the INSTALL packagese in the Geant4.sln when it comes to about the 3000 line it throws an…

SirLeoncavallo
- 119
- 1
- 9
0
votes
0 answers
How do I solve a problem in vgate geant 4?
I got vgate geat4 version 10.7.0. The installation is well. When I execute a mac, this error show me:
COMAND NOT FOUND
I don´t know doing about this problem.
0
votes
0 answers
How to add geant4 module in python IDE?
Recently I've install Geant4(https://github.com/koichi-murakami/g4python) and would like to import geant4 in IDE like VS or PyCharm. But the ide doesn't see the package. While in terminal i can import geant4. Can you suggest me how to add to the IDE…

teoretik_eugene
- 1
- 1
0
votes
1 answer
How to update ZLIB version in MacOS CommandLine Tools from version "1.2.11" to "1.2.13" to use CMake?
I am attempting to run a Geant4 simulation installed via Conda. To do so, it requires compiling "cmake". Though all of the packages required my Geant4 are up-to-date, a set library files required by "cmake" (located in my XCode CommandLine Tools)…
0
votes
0 answers
How to solve the following error during the GEANT4 installation on MacOS?
I encountered the following error during the installation of the GEANT4 software after entering the command "make -j4":
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: ***…
0
votes
0 answers
Abort() has been called
After compiling successfully via CMake, I'm now stuck at another point:
When I press Retry, nothing happens except that I get back control over the prompt:
(base) PS C:\geant4\build\Debug>…

Ben
- 1,432
- 4
- 20
- 43
0
votes
0 answers
CMake error where root directory (I think maybe source?) does not exist
Here is a screenshot of the issues I'm having. I'm trying to set up geant4 so I can use g4beamline to run some physics simulations and I've hit a dead end.
I'm following the instructions in the "BUILD.txt" file that came along with it, and the code…

csingleton19
- 17
- 5
0
votes
0 answers
Errors during installing Geant4 in CentOS7
I'm trying to install Geant4 (version is 4.10.07.p01) and I got error refering to expat library priorities. I find a similar problem here Geant4 does not find Expat library and I followed the advice given. Since it's the first time I get into…
0
votes
1 answer
G4GDMLParser Evaluator : syntax error C++
I am trying to read a GDML file with G4GDMLParser:
...
G4GDMLParser parser;
parser.Read(G4Str_Filename, fValidate);
But it gives an error:
...
G4GDML: Reading materials...
G4GDML: Reading solids...
Evaluator : syntax error
…

Semih Ufuk Güler
- 21
- 2