Import Geant4 11.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2023-12-08 10:43:34 +01:00
parent dd1f179cda
commit 860a2b92bf
3962 changed files with 139318 additions and 164259 deletions
+7 -1
View File
@@ -9,7 +9,7 @@
Example AnaEx03 demonstrates usage of analysis commands for file management
(new since Geant4 11.1), in particular writing histograms and ntuples in a file
multiple times.
multiple times, and commands for histogram deleting (new since Geant4 11.2).
It uses the same scenario (detector description, primary generator
and physics) as AnaEx02 and AnaEx02. In difference from these examples
@@ -46,6 +46,12 @@
The file names then need not to be provided with the file extension and the same macro
can be used with different output types.
To demonstrate UI commands for deleting of selected histograms:
/analysis/h1/delete id [keepSetting]
two H1 histograms, id: 1 and 3, are deleted in AnaEx03.in macro before starting Run 2,
and new histograms are then created before starting Run3. New histograms are created at
id's liberated with previous deleting, 1 and 3.
It should be notes that using UI commands for writing histograms and ntuples in a file
multiple times is not necessary, the same can be achieved by calls to G4AnalysisManager
functions from the code using conditional statements.