Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
+22 -11
View File
@@ -16,11 +16,14 @@ examples/extended/optical/LXe and wls.
main()
------
==> define Random Number Engine and initial seed
==> define Random Number generator initial seed
G4Optical Physics
-----------------
The G4OpticalPhysics physics class is used. The messenger is the
G4OpticalParametersMessenger class.
==> define particles; including *** G4OpticalPhoton ***
define processes; including *** G4Cerenkov ***
*** G4Scintillation ***
@@ -50,14 +53,13 @@ G4VUserPrimaryGeneratorAction
==> A messenger command allows to define interactively the polarization of an
primary optical photon (see for instance optPhoton.mac)
G4UserRunAction
---------------
G4UserRunAction and G4Run
-------------------------
==> define G4Timer (start/stop)
set verbose levels
Used to accumulate statistics.
G4UserStackingAction
--------------------
G4UserStackingAction and G4UserEventAction
------------------------------------------
==> show how to count the number of secondary particles in an event
@@ -79,7 +81,7 @@ Visualisation
This example handles the program arguments in a new way.
It can be run with the following optional arguments:
% OpNovice [-m macro ] [-u UIsession] [-t nThreads]
$ OpNovice [-m macro ] [-u UIsession] [-t nThreads]
The -t option is available only in multi-threading mode
and it allows the user to override the Geant4 default number of
@@ -87,13 +89,22 @@ Visualisation
environment variable which has the top priority.
- execute OpNovice in 'batch' mode from macro files
% OpNovice -m OpNovice.in
$ OpNovice -m OpNovice.in
- execute OpNovice in 'interactive mode' with visualization
% OpNovice
$ OpNovice
....
Idle> type your commands. For instance:
Idle> /control/execute optPhoton.mac
....
Idle> exit
Macros
------
The following macros are provided:
optPhoton.mac: Shoot optical photons with energy 3 eV
OpNovice.in: Shoot positrons with energy 500 keV.
gui.mac: Configure the graphical user interface.
vis.mac: Configure visualization.