Import Geant4 10.7.0 source tree
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
|
||||
|
||||
Examples in the physicslist category show the possible ways how to define
|
||||
a physics list from Geant4 physics constructors. This example demonstrates
|
||||
the usage of G4GenericPhysicsList to build the concrete physics list at
|
||||
the run time.
|
||||
a physics list from Geant4 physics constructors. This example demonstrates
|
||||
the usage of G4GenericPhysicsList to build the concrete physics list at
|
||||
the run time.
|
||||
|
||||
In Geant4 versions < 10.4, the generic physics list was demonstrated in the
|
||||
In Geant4 versions < 10.4, the generic physics list was demonstrated in the
|
||||
extended/hadronic/Hadr05 example.
|
||||
|
||||
The G4GenericPhysicsList class allows to build the physics list at the run
|
||||
@@ -29,7 +29,7 @@ To run the example you can call
|
||||
|
||||
./genericPL -m run.mac [ -p FTFP_BERT.mac ]
|
||||
|
||||
where FTFP_BERT.mac is the macro file containing the 'physics list'.
|
||||
where FTFP_BERT.mac is the macro file containing the 'physics list'.
|
||||
|
||||
If you run this example by calling
|
||||
|
||||
@@ -45,16 +45,16 @@ The same experimental setup is used for all examples in the physicslist category
|
||||
|
||||
The geometry (defined in the DetectorConstruction class) consists in a box of scintillator material (CsI) followed by a thin box of air (screen) which is used to simplify scoring.
|
||||
|
||||
|
||||
|
||||
2- Primary generator
|
||||
--------------------
|
||||
|
||||
The primary generator is defined with usage of G4ParticleGun.
|
||||
The default particle is proton which hits the box perpendicular to the input face.
|
||||
The default particle is proton which hits the box perpendicular to the input face.
|
||||
The type of the particle and its energy are set in the PrimaryGeneratorAction class, and can
|
||||
be changed via the G4 built-in commands of the G4ParticleGun class.
|
||||
|
||||
|
||||
|
||||
3- Scoring (ntuples)
|
||||
--------------------
|
||||
|
||||
@@ -71,10 +71,10 @@ in RunAction class. The ntuple is saved in a Root file, which name is set to be
|
||||
example name in main () function.
|
||||
|
||||
4- How to build
|
||||
----------------
|
||||
----------------
|
||||
|
||||
An additional step is needed when building the example with GNUmake
|
||||
due to using the extra shared directory:
|
||||
due to using the extra shared directory:
|
||||
% cd path_to_example/example
|
||||
% gmake setup
|
||||
% gmake
|
||||
|
||||
Reference in New Issue
Block a user