Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
@@ -1,51 +0,0 @@
/// @file "MPI/examples/exMPI01/.README.txt"
/// @brief Example exMPI01 README
/*! \page exMPI01 Example : exMPI01
Description
===========
A simple application
### Configuration:
- Geometry : chamber / calorimeter
- Primary : particle gun (200 MeV electron as default)
- Physics List : FTFP_BERT
The environment variable *G4LEDATA* for low energy EM data is required.
### Features:
- Particles are transported in a geometry without any scoring.
- Learn how to parallelized your G4 session.
- - -
How to build
============
Use CMake on Geant4 library installed with CMake build.
This example requires G4mpi library to be installed
(see examples/extended/parallel/MPI/source/REDME.md)
Follow these commands,
> mkdir build
> cd build
> cmake -DG4mpi_DIR=<where-G4mpi-wasintalled>/lib[64]/G4mpi -DCMAKE_CXX_COMPILER=mpicxx \
-DGeant4_DIR=<your Geant4 install path>/lib[64]/Geant4-V.m.n <path-to-source>
(V.m.n is the version of Geant4, eg. Geant4-9.6.0)
> make
> make install
Replace mpicxx with your MPI-compiler wrapper.
How to run
----------
> mpiexec -n # ./exMPI01 [run.mac]
*/
@@ -1,3 +1,5 @@
\page ExampleexMPI01 Example : exMPI01
MPI/Examples : exMPI01
======================
@@ -22,9 +22,9 @@
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
/// @file exMPI01.cc
//
/// @brief A MPI example code
/// \file exMPI01.cc
/// \brief Main program of the MPI/exMPI01 example
#include "G4MPImanager.hh"
#include "G4MPIsession.hh"
@@ -23,9 +23,10 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// @file ActionInitialization.hh
/// @brief Define action initialization
/// \file ActionInitialization.hh
/// \brief Definition of the ActionInitialization class
///
/// Define action initialization
#ifndef ACTION_INITIALIZATION_H
#define ACTION_INITIALIZATION_H
@@ -23,9 +23,10 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// @file DetectorConstruction.hh
/// @brief Define geometry
/// \file DetectorConstruction.hh
/// \brief Definition of the DetectorConstruction class
///
/// Define geometry
#ifndef DETECTOR_CONSTRUCTION_H
#define DETECTOR_CONSTRUCTION_H
@@ -23,9 +23,10 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// @file Materials.hh
/// @brief Define materials
/// \file Materials.hh
/// \brief Definition of the Materials class
///
/// Define materials
#ifndef MATERIALS_H
#define MATERIALS_H
@@ -23,9 +23,10 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// @file PrimaryGeneratorAction.hh
/// @brief Define primary generator action
/// \file PrimaryGeneratorAction.hh
/// \brief Definition of the PrimaryGeneratorAction class
///
/// Define primary generator action
#ifndef PRIMARY_GENERATOR_ACTION_H
#define PRIMARY_GENERATOR_ACTION_H
@@ -23,9 +23,10 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// @file ActionInitialization.cc
/// @brief Define action initialization
/// \file ActionInitialization.cc
/// \brief Implementation of the ActionInitialization class
///
/// Define action initialization
#include "ActionInitialization.hh"
@@ -23,9 +23,10 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// @file DetectorConstruction.cc
/// @brief Define geometry
/// \file DetectorConstruction.cc
/// \brief Implementation of the DetectorConstruction class
///
/// Define geometry
#include "DetectorConstruction.hh"
@@ -23,9 +23,10 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// @file Materials.cc
/// @brief Define materials
/// \file Materials.cc
/// \brief Implementation of the Materials class
///
/// Define materials
#include "Materials.hh"
@@ -23,9 +23,10 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// @file PrimaryGeneratorAction.cc
/// @brief Define primary generator action
/// \file PrimaryGeneratorAction.cc
/// \brief Implementation of the PrimaryGeneratorAction class
///
/// Define primary generator action
#include "PrimaryGeneratorAction.hh"