# Getting Started

**URL:** https://geant4-forum.web.cern.ch/c/getting-started/7.md

[Latest](https://geant4-forum.web.cern.ch/latest.md) · [Categories](https://geant4-forum.web.cern.ch/categories.md)

---

## [Tips for effective and successful posting](https://geant4-forum.web.cern.ch/t/tips-for-effective-and-successful-posting/11004)

<div class="topic-metadata">

**Author:** [@bmorgan](https://geant4-forum.web.cern.ch/u/bmorgan)\
**Replies:** 0\
**Last updated:** [August 24, 2023, 1:55pm UTC](https://geant4-forum.web.cern.ch/t/tips-for-effective-and-successful-posting/11004 "2023-08-24T13:55:15Z")

</div>

This forum is intended to help with problems and answer questions on the Geant4 toolkit, whether that be to develop applications using it, to request or contribute new features, or generally discuss and communicate about…

---

## [How to post code snippets](https://geant4-forum.web.cern.ch/t/how-to-post-code-snippets/9944)

<div class="topic-metadata">

**Author:** [@bmorgan](https://geant4-forum.web.cern.ch/u/bmorgan)\
**Replies:** 0\
**Last updated:** [February 13, 2023, 2:06pm UTC](https://geant4-forum.web.cern.ch/t/how-to-post-code-snippets/9944 "2023-02-13T14:06:27Z")

</div>

To effectively help with coding/output problems, we need to see that code or output clearly. Discourse provides all the tools here to make this easy once you know how to use them. There are really only two simple guideli…

---

## [About the Getting Started category](https://geant4-forum.web.cern.ch/t/about-the-getting-started-category/15)

<div class="topic-metadata">

**Author:** [@dwright](https://geant4-forum.web.cern.ch/u/dwright)\
**Replies:** 0\
**Last updated:** [May 18, 2019, 12:10am UTC](https://geant4-forum.web.cern.ch/t/about-the-getting-started-category/15 "2019-05-18T00:10:10Z")

</div>

This category covers Geant4 installation, using its example applications, and the toolkit documentation. Before you post, see if your question is answered in Geant4’s Installation and Application Developers’ Guides. Als…

---

## [Coupling realistic pulsed beam temporal structures (micro/macro-pulses) with molecularDNA for DNA damage scoring and RBE estimation](https://geant4-forum.web.cern.ch/t/coupling-realistic-pulsed-beam-temporal-structures-micro-macro-pulses-with-moleculardna-for-dna-damage-scoring-and-rbe-estimation/15380)

<div class="topic-metadata">

**Author:** [@chuanye90](https://geant4-forum.web.cern.ch/u/chuanye90)\
**Replies:** 3\
**Last updated:** [September 29, 2026, 5:37pm UTC](https://geant4-forum.web.cern.ch/t/coupling-realistic-pulsed-beam-temporal-structures-micro-macro-pulses-with-moleculardna-for-dna-damage-scoring-and-rbe-estimation/15380 "2026-09-29T17:37:54Z")

</div>

Hello Geant4-DNA community, I am a PhD student working on proton FLASH radiobiology using a laboratory cyclotron that delivers ultra-high dose rate beams with a complex temporal structure (micro-pulses on the ns scale a…

---

## [Simulating 40 GeV/c π⁻ + C interactions in Geant4](https://geant4-forum.web.cern.ch/t/simulating-40-gev-c-c-interactions-in-geant4/15383)

<div class="topic-metadata">

**Author:** [@Maratbek-Shodmonov](https://geant4-forum.web.cern.ch/u/Maratbek-Shodmonov)\
**Replies:** 1\
**Last updated:** [September 29, 2026, 3:58pm UTC](https://geant4-forum.web.cern.ch/t/simulating-40-gev-c-c-interactions-in-geant4/15383 "2026-09-29T15:58:43Z")

</div>

Hello everyone, I would like to simulate the interaction of a negative pion (π⁻) with a carbon target (π⁻ + C) at a momentum of 40 GeV/c using Geant4. Could you please advise whether Geant4 can reliably simulate this t…

---

## [Large array of voxel placement and scoring](https://geant4-forum.web.cern.ch/t/large-array-of-voxel-placement-and-scoring/15338)

<div class="topic-metadata">

**Author:** [@jiaozilong](https://geant4-forum.web.cern.ch/u/jiaozilong)\
**Replies:** 0\
**Last updated:** [August 28, 2026, 6:19am UTC](https://geant4-forum.web.cern.ch/t/large-array-of-voxel-placement-and-scoring/15338 "2026-08-28T06:19:41Z")

</div>

Hello there! The geometry I try to create is following: 50\*50 voxels, every voxel has two sub-voxel: bottom and top (set as a detector). Every bottom sub-voxel has its own height. But the detector (top sub-voxel) is sa…

---

## [G4VisManager::GetVerbosityValue: invalid verbosity “” by running exampleB1](https://geant4-forum.web.cern.ch/t/g4vismanager-invalid-verbosity-by-running-exampleb1/15265)

<div class="topic-metadata">

**Author:** [@Andrea\_Conti](https://geant4-forum.web.cern.ch/u/Andrea_Conti)\
**Replies:** 6\
**Last updated:** [July 29, 2026, 8:10am UTC](https://geant4-forum.web.cern.ch/t/g4vismanager-invalid-verbosity-by-running-exampleb1/15265 "2026-07-29T08:10:01Z")

</div>

I would like to run the exampleB1 from the command prompt in Visual Studio 2026, but I get the following: C:\\Users\\Green\_2124C\\Geant4\\geant4-v11.4.2\\geant4-v11.4.2\\examples\\basic\\B1\\out\\build\\x64-Debug\>.\\exampleB1 run2.…

---

## [I can't find CMake after installation with Visual Studio 2026](https://geant4-forum.web.cern.ch/t/i-cant-find-cmake-after-installation-with-visual-studio-2026/15252)

<div class="topic-metadata">

**Author:** [@Andrea\_Conti](https://geant4-forum.web.cern.ch/u/Andrea_Conti)\
**Replies:** 1\
**Last updated:** [July 11, 2026, 5:15pm UTC](https://geant4-forum.web.cern.ch/t/i-cant-find-cmake-after-installation-with-visual-studio-2026/15252 "2026-07-11T17:15:58Z")

</div>

I have installed Geant4 and Visual Studio 2026. I did not install CMake because it reportedly is included in Visual Studio 2026. I don’t have the datasets yet and therefore I would like to give the following command in…

---

## [Issue compiling geant4 on macos with qt enabled](https://geant4-forum.web.cern.ch/t/issue-compiling-geant4-on-macos-with-qt-enabled/15247)

<div class="topic-metadata">

**Author:** [@Stephanie\_P\_Flynn](https://geant4-forum.web.cern.ch/u/Stephanie_P_Flynn)\
**Replies:** 1\
**Last updated:** [July 6, 2026, 8:18pm UTC](https://geant4-forum.web.cern.ch/t/issue-compiling-geant4-on-macos-with-qt-enabled/15247 "2026-07-06T20:18:40Z")

</div>

Geant4 Version: 11.4.2 Operating System: macOS Sequoia 15.7.7 Compiler/Version: Apple clang version 17.0.0 (clang-1700.6.4.2) CMake Version: 4.3.4 I’m trying to compile geant4 on an M4 mac and it fails when qt is ena…

---

## [The "#include" files are not found](https://geant4-forum.web.cern.ch/t/the-include-files-are-not-found/15245)

<div class="topic-metadata">

**Author:** [@Andrea\_Conti](https://geant4-forum.web.cern.ch/u/Andrea_Conti)\
**Replies:** 4\
**Last updated:** [July 6, 2026, 2:53pm UTC](https://geant4-forum.web.cern.ch/t/the-include-files-are-not-found/15245 "2026-07-06T14:53:46Z")

</div>

I have installed Geant4 and Visual Studio 2026. I did not install CMake because apparently CMake is included in Visual Studio 2026. I have created a new project with Visual Studio 2026, of the kind “Console App Windows …

---

## [Does G4 have a recommended way to apply patches locally?](https://geant4-forum.web.cern.ch/t/does-g4-have-a-recommended-way-to-apply-patches-locally/15185)

<div class="topic-metadata">

**Author:** [@mkelsey](https://geant4-forum.web.cern.ch/u/mkelsey)\
**Replies:** 2\
**Last updated:** [May 31, 2026, 3:52pm UTC](https://geant4-forum.web.cern.ch/t/does-g4-have-a-recommended-way-to-apply-patches-locally/15185 "2026-05-31T15:52:48Z")

</div>

Geant4 Version: 10.07.p04, 11.4.1 With many thanks to Gabriele and Dmitri for the fix in Bugzilla #2714 (https://geant4-forum.web.cern.ch/t/stale-pointers-in-parallel-worlds), we have been trying to apply this fix with…

---

## [GATE with Geant4](https://geant4-forum.web.cern.ch/t/gate-with-geant4/15177)

<div class="topic-metadata">

**Author:** [@Al\_Harith](https://geant4-forum.web.cern.ch/u/Al_Harith)\
**Replies:** 1\
**Last updated:** [May 26, 2026, 7:37pm UTC](https://geant4-forum.web.cern.ch/t/gate-with-geant4/15177 "2026-05-26T19:37:54Z")

</div>

Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem! Geant4 V…

---

## [Question about PhantomParameterisation class](https://geant4-forum.web.cern.ch/t/question-about-phantomparameterisation-class/15062)

<div class="topic-metadata">

**Author:** [@jiaozilong](https://geant4-forum.web.cern.ch/u/jiaozilong)\
**Replies:** 1\
**Last updated:** [April 26, 2026, 3:37pm UTC](https://geant4-forum.web.cern.ch/t/question-about-phantomparameterisation-class/15062 "2026-04-26T15:37:20Z")

</div>

Geant4 Version: 11.4 Operating System: win11 Compiler/Version: vs2022 CMake Version: 3.21 I tried to use the PhantomParameterisation class to construct a large number of voxels. At first the voxels didn’t fit in the…

---

## [Geant4 11.3.2 Build Error LNK1189 "Library Limit"](https://geant4-forum.web.cern.ch/t/geant4-11-3-2-build-error-lnk1189-library-limit/15064)

<div class="topic-metadata">

**Author:** [@Jon\_Gustafson](https://geant4-forum.web.cern.ch/u/Jon_Gustafson)\
**Replies:** 2\
**Last updated:** [April 20, 2026, 6:39pm UTC](https://geant4-forum.web.cern.ch/t/geant4-11-3-2-build-error-lnk1189-library-limit/15064 "2026-04-20T18:39:47Z")

</div>

Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem! Geant4 V…

---

## [Can high dose rates be simulated in GEANT4?](https://geant4-forum.web.cern.ch/t/can-high-dose-rates-be-simulated-in-geant4/14985)

<div class="topic-metadata">

**Author:** [@shengliao](https://geant4-forum.web.cern.ch/u/shengliao)\
**Replies:** 4\
**Last updated:** [March 6, 2026, 8:06am UTC](https://geant4-forum.web.cern.ch/t/can-high-dose-rates-be-simulated-in-geant4/14985 "2026-03-06T08:06:46Z")

</div>

Can high dose rates be simulated in GEANT4?

---

## [Have the build requirements changed from 11.3 to 11.4?](https://geant4-forum.web.cern.ch/t/have-the-build-requirements-changed-from-11-3-to-11-4/14948)

<div class="topic-metadata">

**Author:** [@bloer](https://geant4-forum.web.cern.ch/u/bloer)\
**Replies:** 3\
**Last updated:** [February 17, 2026, 2:56pm UTC](https://geant4-forum.web.cern.ch/t/have-the-build-requirements-changed-from-11-3-to-11-4/14948 "2026-02-17T14:56:00Z")

</div>

Geant4 Version: 11.3.2, 11.4.0 Operating System: CentOS 7.9 Compiler/Version: gcc-11.2 CMake Version: 3.17 Hello, I am on an old and unsupported system, CentOS 7. However despite that, up through 11.3 I was able to…

---

## [Finding libexpat on a Mac](https://geant4-forum.web.cern.ch/t/finding-libexpat-on-a-mac/14936)

<div class="topic-metadata">

**Author:** [@prebys](https://geant4-forum.web.cern.ch/u/prebys)\
**Replies:** 1\
**Last updated:** [February 10, 2026, 6:42pm UTC](https://geant4-forum.web.cern.ch/t/finding-libexpat-on-a-mac/14936 "2026-02-10T18:42:11Z")

</div>

Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem! Geant4 V…

---

## [What are the ways / methods to simulate the detector response in Geant4?](https://geant4-forum.web.cern.ch/t/what-are-the-ways-methods-to-simulate-the-detector-response-in-geant4/14917)

<div class="topic-metadata">

**Author:** [@alfredo10110](https://geant4-forum.web.cern.ch/u/alfredo10110)\
**Replies:** 6\
**Last updated:** [February 5, 2026, 6:56am UTC](https://geant4-forum.web.cern.ch/t/what-are-the-ways-methods-to-simulate-the-detector-response-in-geant4/14917 "2026-02-05T06:56:35Z")

</div>

Hi, What are the ways / methods to simulate the detector response in Geant4?. Thanks

---

## [Are the "Geant4 simulation counts" (counts obtained with the "Geant4 Hits") a good estimate of the counts obtained in the experiment?](https://geant4-forum.web.cern.ch/t/are-the-geant4-simulation-counts-counts-obtained-with-the-geant4-hits-a-good-estimate-of-the-counts-obtained-in-the-experiment/14916)

<div class="topic-metadata">

**Author:** [@alfredo10110](https://geant4-forum.web.cern.ch/u/alfredo10110)\
**Replies:** 6\
**Last updated:** [February 4, 2026, 12:36am UTC](https://geant4-forum.web.cern.ch/t/are-the-geant4-simulation-counts-counts-obtained-with-the-geant4-hits-a-good-estimate-of-the-counts-obtained-in-the-experiment/14916 "2026-02-04T00:36:25Z")

</div>

Hi, Are the “Geant4 simulation counts” (counts obtained with the “Geant4 Hits”) a good estimate of the counts obtained in the experiment?. Thanks Geant4 Version: 11.2.1 Operating System: Windows 10 Compiler/Version: V…

---

## [Will Geant5 be created / developed using a new programming language?](https://geant4-forum.web.cern.ch/t/will-geant5-be-created-developed-using-a-new-programming-language/14898)

<div class="topic-metadata">

**Author:** [@alfredo10110](https://geant4-forum.web.cern.ch/u/alfredo10110)\
**Replies:** 14\
**Last updated:** [February 1, 2026, 6:19am UTC](https://geant4-forum.web.cern.ch/t/will-geant5-be-created-developed-using-a-new-programming-language/14898 "2026-02-01T06:19:51Z")

</div>

Hi. I have the following question: If Geant3 was developed with Fortran, and Geant4 was developed with C++, Will Geant5 be created / developed using a new programming language?

---

## [Is Geant4 (the program / all the Geant4 C++ code) one of the biggest simulation toolkits?](https://geant4-forum.web.cern.ch/t/is-geant4-the-program-all-the-geant4-c-code-one-of-the-biggest-simulation-toolkits/14910)

<div class="topic-metadata">

**Author:** [@alfredo10110](https://geant4-forum.web.cern.ch/u/alfredo10110)\
**Replies:** 1\
**Last updated:** [January 30, 2026, 9:29am UTC](https://geant4-forum.web.cern.ch/t/is-geant4-the-program-all-the-geant4-c-code-one-of-the-biggest-simulation-toolkits/14910 "2026-01-30T09:29:31Z")

</div>

Hi, taking into account all the capabilities of Geant4, all the possible materials one can select or construct, all the possible physics that one can include, all the possible physical conditions (temperature, pressure, …

---

## [In a Geant4 simulation, Can the energy deposited in an element of a detector be considered as a "Count"?](https://geant4-forum.web.cern.ch/t/in-a-geant4-simulation-can-the-energy-deposited-in-an-element-of-a-detector-be-considered-as-a-count/14899)

<div class="topic-metadata">

**Author:** [@alfredo10110](https://geant4-forum.web.cern.ch/u/alfredo10110)\
**Replies:** 2\
**Last updated:** [January 27, 2026, 10:44pm UTC](https://geant4-forum.web.cern.ch/t/in-a-geant4-simulation-can-the-energy-deposited-in-an-element-of-a-detector-be-considered-as-a-count/14899 "2026-01-27T22:44:37Z")

</div>

Hi. In a Geant4 simulation, Can the energy deposited in an element of a detector be considered as a “Count”?. Once I get these “Counts“, I want to make a histogram of “Counts“ versus energy

---

## [Why was Geant4 (all the code) developed with C++?](https://geant4-forum.web.cern.ch/t/why-was-geant4-all-the-code-developed-with-c/14874)

<div class="topic-metadata">

**Author:** [@alfredo10110](https://geant4-forum.web.cern.ch/u/alfredo10110)\
**Replies:** 4\
**Last updated:** [January 26, 2026, 7:55pm UTC](https://geant4-forum.web.cern.ch/t/why-was-geant4-all-the-code-developed-with-c/14874 "2026-01-26T19:55:37Z")

</div>

Hi, Why was Geant4 (all the code) developed with C++?, in other words, Why wasn´t Geant4 developed with another programming language (s) (Python, for example) ?. Is C++ the best programming language for developing Geant…

---

## [What are the advantages of doing a Geant4 simulation for a given experiment?](https://geant4-forum.web.cern.ch/t/what-are-the-advantages-of-doing-a-geant4-simulation-for-a-given-experiment/14886)

<div class="topic-metadata">

**Author:** [@alfredo10110](https://geant4-forum.web.cern.ch/u/alfredo10110)\
**Replies:** 6\
**Last updated:** [January 26, 2026, 7:36pm UTC](https://geant4-forum.web.cern.ch/t/what-are-the-advantages-of-doing-a-geant4-simulation-for-a-given-experiment/14886 "2026-01-26T19:36:04Z")

</div>

Hi, What are the advantages of doing a Geant4 simulation for a given experiment?. Thanks

---

## [C++ things / topics that appear in Geant4 code that are the most difficult ones to learn](https://geant4-forum.web.cern.ch/t/c-things-topics-that-appear-in-geant4-code-that-are-the-most-difficult-ones-to-learn/14875)

<div class="topic-metadata">

**Author:** [@alfredo10110](https://geant4-forum.web.cern.ch/u/alfredo10110)\
**Replies:** 6\
**Last updated:** [January 22, 2026, 6:37am UTC](https://geant4-forum.web.cern.ch/t/c-things-topics-that-appear-in-geant4-code-that-are-the-most-difficult-ones-to-learn/14875 "2026-01-22T06:37:38Z")

</div>

Hi, What are the C++ things / topics that appear in Geant4 code that are the most difficult ones to learn?; Are “pointers” one of those C++ things / topics? Geant4 Version: 11.2.1 Operating System: Windows 10 Compiler…

---

## [Qt6CoreConfig.cmake missing on Mac](https://geant4-forum.web.cern.ch/t/qt6coreconfig-cmake-missing-on-mac/14889)

<div class="topic-metadata">

**Author:** [@prebys](https://geant4-forum.web.cern.ch/u/prebys)\
**Replies:** 2\
**Last updated:** [January 20, 2026, 5:53pm UTC](https://geant4-forum.web.cern.ch/t/qt6coreconfig-cmake-missing-on-mac/14889 "2026-01-20T17:53:20Z")

</div>

Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem! Geant4 V…

---

## [Unsuccessful compile - libG4ToolsSG: fat file missing arch 'arm64', file has 'i386,x86\_64'](https://geant4-forum.web.cern.ch/t/unsuccessful-compile-libg4toolssg-fat-file-missing-arch-arm64-file-has-i386-x86-64/14844)

<div class="topic-metadata">

**Author:** [@karl.hauschild](https://geant4-forum.web.cern.ch/u/karl.hauschild)\
**Replies:** 2\
**Last updated:** [January 10, 2026, 11:14am UTC](https://geant4-forum.web.cern.ch/t/unsuccessful-compile-libg4toolssg-fat-file-missing-arch-arm64-file-has-i386-x86-64/14844 "2026-01-10T11:14:29Z")

</div>

Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem! Geant4 V…

---

## [How did g4tools build successfully before 11.3?](https://geant4-forum.web.cern.ch/t/how-did-g4tools-build-successfully-before-11-3/14819)

<div class="topic-metadata">

**Author:** [@mkelsey](https://geant4-forum.web.cern.ch/u/mkelsey)\
**Replies:** 3\
**Last updated:** [January 6, 2026, 9:50am UTC](https://geant4-forum.web.cern.ch/t/how-did-g4tools-build-successfully-before-11-3/14819 "2026-01-06T09:50:32Z")

</div>

Geant4 Version: 10.7.4, 11.0.1, 11.2.1 Operating System: macOS Tahoe Compiler/Version: Apple clang version 17.0.0 CMake Version: 4.2.1 So I’m trying to rebuild my Geant4 installation, and move forward to G4 11, on m…

---

## [Contradictory rpath errors with MacOS build of 11.3.2](https://geant4-forum.web.cern.ch/t/contradictory-rpath-errors-with-macos-build-of-11-3-2/14824)

<div class="topic-metadata">

**Author:** [@mkelsey](https://geant4-forum.web.cern.ch/u/mkelsey)\
**Replies:** 2\
**Last updated:** [January 5, 2026, 7:02pm UTC](https://geant4-forum.web.cern.ch/t/contradictory-rpath-errors-with-macos-build-of-11-3-2/14824 "2026-01-05T19:02:23Z")

</div>

Geant4 Version: 11.3.2 Operating System: macOS Tahoe 26.2 Compiler/Version: Apple clang 17.0.0 CMake Version: 4.2.1 I’m building both G4 11.3.2 and 11.4.0 on my new MacBook Pro (Tahoe 26.2). With 11.3.2, but not 11…

---

## [Has anyone successfully rebuilt G4 10.07.p04 on Apple Silicon?](https://geant4-forum.web.cern.ch/t/has-anyone-successfully-rebuilt-g4-10-07-p04-on-apple-silicon/14818)

<div class="topic-metadata">

**Author:** [@mkelsey](https://geant4-forum.web.cern.ch/u/mkelsey)\
**Replies:** 4\
**Last updated:** [January 5, 2026, 6:29pm UTC](https://geant4-forum.web.cern.ch/t/has-anyone-successfully-rebuilt-g4-10-07-p04-on-apple-silicon/14818 "2026-01-05T18:29:31Z")

</div>

Geant4 Version: 10.07.p04 Operating System: macOS Tahoe 26.2 Compiler/Version: Apple clang version 17.0.0 (clang-1700.6.3.2) CMake Version: 4.2.1 I’ve upgraded my obsolete MacBook Pro (mid-2012 series, MacOS 10.15…

[Next page](https://geant4-forum.web.cern.ch/c/getting-started/7.md?page=1)
