Geant4 Windows Dev C++

  • How to execute a program in the Geant4? I have tried both in windows and linux. This interface allows you to describe your simulation via scripts much easier than geant4 C.
  • Hey everyone, My impression from my failed attempt with Windows, and from another previous post, is that Geant4 is not installable with Windows Visual Studio 2019, only with VS 2017.
-->

Nov 10, 2016  Dev-C is an integrated development environment (IDE) for the C programming language. It presents a feature-rich environment, tools for writing and debugging, as well as a compiler to provide you with all the tools necessary to program software in C. The program is a fork of the Bloodshed Dev-C environment, designed for advanced programmers looking to create applications.

The aim of this Get Started series is to teach you how to write a desktop program in C++ using Win32 and COM APIs.

In the first module, you'll learn step-by-step how to create and show a window. Later modules will introduce the Component Object Model (COM), graphics and text, and user input.

C++

For this series, it is assumed that you have a good working knowledge of C++ programming. No previous experience with Windows programming is assumed. If you are new to C++, you can find learning material at the Visual C++ Developer Center. (This resource may not be available in some languages and countries.)

In this section

TopicDescription
Introduction to Windows Programming in C++
This section describes some of the basic terminology and coding conventions used in Windows programming.
Module 1. Your First Windows Program
In this module, you will create a simple Windows program that shows a blank window.
Module 2. Using COM in Your Windows Program
This module introduces the Component Object Model (COM), which underlies many of the modern Windows APIs.
Module 3. Windows Graphics
This module introduces the Windows graphics architecture, with a focus on Direct2D.
Module 4. User Input
This module describes mouse and keyboard input.
Sample Code
Contains links to download the sample code for this series.
Geant4
Developer(s)Geant4 Collaboration
Initial release1998; 22 years ago[1]
Stable release
Repository
Operating systemCross-platform
TypeComputational physics
LicenseGeant4 Software License
Websitegeant4.org
Usage
Visualisation of a simulation. The detector is red and radiation is green.

Geant4[1][2][3][4] (for GEometry ANd Tracking) is a platform for 'the simulation of the passage of particles through matter' using Monte Carlo methods. It is the successor of the GEANT series of software toolkits developed by The Geant4 collaboration, and the first to use object oriented programming (in C++). Its development, maintenance and user support are taken care by the international Geant4 Collaboration. Application areas include high energy physics and nuclearexperiments, medical, accelerator and space physics studies.[3] The software is used by a number of research projects around the world.

The Geant4 software and source code is freely available from the project web site; until version 8.1 (released June 30, 2006), no specific software license for its use existed; Geant4 is now provided under the Geant4 Software License.

Features[edit]

Geant4 includes facilities for handling geometry, tracking, detector response, run management, visualization and user interface. For many physics simulations, this means less time needs to be spent on the low level details, and researchers can start immediately on the more important aspects of the simulation.

Following is a summary of each of the facilities listed above:

  • Geometry is an analysis of the physical layout of the experiment, including detectors, absorbers, etc., and considering how this layout will affect the path of particles in the experiment.
  • Tracking is simulating the passage of a particle through matter. This involves considering possible interactions and decay processes.
  • Detector response is recording when a particle passes through the volume of a detector, and approximating how a real detector would respond.
  • Run management is recording the details of each run (a set of events), as well as setting up the experiment in different configurations between runs.
  • Geant4 offers a number of options for visualization, including OpenGL, and a familiar user interface, based on Tcsh.

Geant4 can also perform basic histogramming; it requires external analysis tools or software that implements the AIDA framework for exploiting advanced histogramming features.

Since release 10.0, Geant4 implements multithreading,[4] making use of thread-local storage to allow for efficient generation of simulated events in parallel. There is not yet support for multithreading under Windows; GEANT4 must be installed under a Unix-based operating system such as MacOS or Ubuntu if multithreading is required.

Some high energy physics experiments using Geant4[edit]

  • BES III at BEPCII
  • BaBar and GLAST at SLAC
  • ATLAS, CMS and LHCb at LHC, CERN
  • COMPASS at SPS, CERN
  • Borexino at Gran Sasso Laboratory
  • DUNE, MINOS, and Mu2e at Fermilab
  • Enriched Xenon Observatory (EXO)
  • Dark Matter Detectors: SuperCDMS, LUX, XENON

Applications outside high energy physics[edit]

GEANT4 simulation of relativistic electron avalanche driven by an electric field in air as might occur in thunderstorms and lightning.

Because of its general purpose nature, Geant4 is well suited for development of computational tools for analysing interactions of particle with matter in many areas. These include:

Geant4 Windows Dev C++
  • Space applications where it is used to study interactions between the natural space radiation environment and space hardware or astronauts;
  • Medical applications where interactions of radiations used for treatment are simulated.
  • Radiation effects in microelectronics where ionizing effects on semiconductor devices are modeled.
  • Nuclear physics

See also[edit]

  • CLHEP and FreeHEP, libraries for high energy physics.
  • Methodical Accelerator Design, for modelling the charged particles in the rest of the accelerator.
Dev

References[edit]

  1. ^ abAgostinelli, S.; Allison, J.; Amako, K.; Apostolakis, J.; Araujo, H.; Arce, P.; Asai, M.; Axen, D.; Banerjee, S.; Barrand, G.; Behner, F.; Bellagamba, L.; Boudreau, J.; Broglia, L.; Brunengo, A.; et al. (2003). 'Geant4—a simulation toolkit'. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment. 506 (3): 250. Bibcode:2003NIMPA.506..250A. doi:10.1016/S0168-9002(03)01368-8.
  2. ^Allison, J.; Amako, K.; Apostolakis, J.; Arce, P.; Asai, M.; Aso, T.; Bagli, E.; Bagulya, A.; Banerjee, S.; Barrand, G.; Beck, B.R.; Bogdanov, A.G.; Brandt, D.; Brown, J.M.C.; Burkhardt, H.; Canal, Ph.; Cano-Ott, D.; Chauvie, S.; Cho, K.; Cirrone, G.A.P.; Cooperman, G.; Cortés-Giraldo, M.A.; Cosmo, G.; Cuttone, G.; Depaola, G.; Desorgher, L.; Dong, X.; Dotti, A.; Elvira, V.D.; Folger, G.; Francis, Z.; Galoyan, A.; Garnier, L.; Gayer, M.; Genser, K.L.; Grichine, V.M.; Guatelli, S.; Guèye, P.; Gumplinger, P.; Howard, A.S.; Hřivnáčová, I.; Hwang, S.; Incerti, S.; Ivanchenko, A.; Ivanchenko, V.N.; Jones, F.W.; Jun, S.Y.; Kaitaniemi, P.; Karakatsanis, N.; Karamitros, M.; Kelsey, M.; Kimura, A.; Koi, T.; Kurashige, H.; Lechner, A.; Lee, S.B.; Longo, F.; Maire, M.; Mancusi, D.; Mantero, A.; Mendoza, E.; Morgan, B.; Murakami, K.; Nikitina, T.; Pandola, L.; Paprocki, P.; Perl, J.; Petrović, I.; Pia, M.G.; Pokorski, W.; Quesada, J.M.; Raine, M.; Reis, M.A.; Ribon, A.; Ristić Fira, A.; Romano, F.; Russo, G.; Santin, G.; Sasaki, T.; Sawkey, D.; Shin, J.I.; Strakovsky, I.I.; Taborda, A.; Tanaka, S.; Tomé, B.; Toshito, T.; Tran, H.N.; Truscott, P.R.; Urban, L.; Uzhinsky, V.; Verbeke, J.M.; Verderi, M.; Wendt, B.L.; Wenzel, H.; Wright, D.H.; Wright, D.M.; Yamashita, T.; Yarba, J.; Yoshida, H. (2016). 'Recent developments in G eant 4'. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment. 835: 186–225. Bibcode:2016NIMPA.835..186A. doi:10.1016/j.nima.2016.06.125. ISSN0168-9002.
  3. ^ abAllison, J.; Amako, K.; Apostolakis, J.; Araujo, H.; Arce Dubois, P.; Asai, M.; Barrand, G.; Capra, R.; Chauvie, S.; Chytracek, R.; Cirrone, G.A.P.; Cooperman, G.; Cosmo, G.; Cuttone, G.; Daquino, G.G.; et al. (2006). 'Geant4 developments and applications'(PDF). IEEE Transactions on Nuclear Science. 53 (1): 270–278. Bibcode:2006ITNS...53..270A. doi:10.1109/TNS.2006.869826. hdl:2047/d20000660.
  4. ^ abAllison, J.; Amako, K.; Apostolakis, J.; Arce, P.; Asai, M.; Aso, T.; Bagli, E.; Bagulya, A.; Banerjee, S.; Barrand, G.; Beck, B.R.; Bogdanov, A.G.; Brandt, D.; Brown, J.M.C.; Burkhardt, H.; et al. (2016). 'Recent developments in Geant4'. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment. 835: 186–225. Bibcode:2016NIMPA.835..186A. doi:10.1016/j.nima.2016.06.125.

External links[edit]

Geant4 Windows Dev C Windows 7

Retrieved from 'https://en.wikipedia.org/w/index.php?title=Geant4&oldid=950752946'