Import Geant4 10.5.0.beta source tree
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
/// \brief Main program of the electromagnetic/TestEm0 example
|
||||
//
|
||||
//
|
||||
// $Id: DirectAccess.cc 94302 2015-11-11 12:58:04Z gcosmo $
|
||||
// $Id: DirectAccess.cc 108856 2018-03-12 07:41:27Z gcosmo $
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
//
|
||||
@@ -163,7 +163,7 @@ int main() {
|
||||
G4VEmModel* brem = new G4SeltzerBergerModel();
|
||||
ioni->Initialise(elec, cuts);
|
||||
brem->Initialise(elec, cuts);
|
||||
|
||||
|
||||
// compute CrossSection per atom and MeanFreePath
|
||||
//
|
||||
Emin = 1.01*MeV; Emax = 101.01*MeV; dE = 10*MeV;
|
||||
@@ -200,7 +200,7 @@ int main() {
|
||||
}
|
||||
|
||||
G4cout << G4endl;
|
||||
|
||||
|
||||
// initialise proton processes (models)
|
||||
//
|
||||
ioni = new G4BetheBlochModel();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
$Id: History 107324 2017-11-08 16:35:06Z gcosmo $
|
||||
$Id: History 108856 2018-03-12 07:41:27Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -15,6 +15,9 @@ track of all tags.
|
||||
----------------------------------------------------------
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
11-03-18 mma (testem0-V10-04-00)
|
||||
- Testem0.cc : remove G4UI_USE
|
||||
|
||||
07-11-17 D.Sawkey (testem0-V10-03-01)
|
||||
- RunAction: write html documentation of physics list if envvars
|
||||
|
||||
@@ -27,10 +27,11 @@
|
||||
/// \brief Main program of the electromagnetic/TestEm0 example
|
||||
//
|
||||
//
|
||||
// $Id: TestEm0.cc 66241 2012-12-13 18:34:42Z gunter $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
// $Id: TestEm0.cc 108856 2018-03-12 07:41:27Z gcosmo $
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
||||
|
||||
#include "G4RunManager.hh"
|
||||
#include "G4UImanager.hh"
|
||||
@@ -40,14 +41,16 @@
|
||||
#include "PrimaryGeneratorAction.hh"
|
||||
#include "RunAction.hh"
|
||||
|
||||
#ifdef G4UI_USE
|
||||
#include "G4UIExecutive.hh"
|
||||
#endif
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
||||
|
||||
int main(int argc,char** argv) {
|
||||
|
||||
|
||||
//detect interactive mode (if no arguments) and define UI session
|
||||
G4UIExecutive* ui = 0;
|
||||
if (argc == 1) ui = new G4UIExecutive(argc,argv);
|
||||
|
||||
// Construct the default run manager
|
||||
G4RunManager * runManager = new G4RunManager;
|
||||
|
||||
@@ -60,27 +63,25 @@ int main(int argc,char** argv) {
|
||||
|
||||
// set user action classes
|
||||
runManager->SetUserAction(new RunAction(det,prim));
|
||||
|
||||
if (argc!=1) // batch mode
|
||||
{
|
||||
G4String command = "/control/execute ";
|
||||
G4String fileName = argv[1];
|
||||
G4UImanager::GetUIpointer()->ApplyCommand(command+fileName);
|
||||
}
|
||||
|
||||
else // define UI terminal for interactive mode
|
||||
{
|
||||
#ifdef G4UI_USE
|
||||
G4UIExecutive * ui = new G4UIExecutive(argc,argv);
|
||||
ui->SessionStart();
|
||||
delete ui;
|
||||
#endif
|
||||
}
|
||||
// job termination
|
||||
|
||||
//get the pointer to the User Interface manager
|
||||
G4UImanager* UImanager = G4UImanager::GetUIpointer();
|
||||
|
||||
if (ui) {
|
||||
//interactive mode
|
||||
ui->SessionStart();
|
||||
delete ui;
|
||||
}
|
||||
else {
|
||||
//batch mode
|
||||
G4String command = "/control/execute ";
|
||||
G4String fileName = argv[1];
|
||||
UImanager->ApplyCommand(command+fileName);
|
||||
}
|
||||
|
||||
//job termination
|
||||
//
|
||||
delete runManager;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
############################################
|
||||
|
||||
**************************************************************
|
||||
Geant4 version Name: geant4-10-04-patch-02 (25-May-2018)
|
||||
Geant4 version Name: geant4-10-05-beta-01 (29-June-2018)
|
||||
Copyright : Geant4 Collaboration
|
||||
References : NIM A 506 (2003), 250-303
|
||||
: IEEE-TNS 53 (2006), 270-278
|
||||
@@ -268,7 +268,6 @@ Spline of EM tables enabled 1
|
||||
Apply cuts on all EM processes 0
|
||||
Use integral approach for tracking 1
|
||||
X-section factor for integral approach 0.8
|
||||
Use built-in Birks satuaration 0
|
||||
Min kinetic energy for tables 10 eV
|
||||
Max kinetic energy for tables 100 TeV
|
||||
Number of bins in tables 260
|
||||
@@ -277,20 +276,23 @@ Verbose level 0
|
||||
Verbose level for worker thread 0
|
||||
Bremsstrahlung energy threshold above which
|
||||
primary is added to the list of secondary 100 TeV
|
||||
Lowest triplet kinetic energy 1 MeV
|
||||
5D gamma conversion model type 0
|
||||
5D gamma conversion model on isolated ion 0
|
||||
=======================================================================
|
||||
====== Ionisation Parameters ========
|
||||
=======================================================================
|
||||
Step function for e+- (0.2, 1 mm)
|
||||
Step function for muons/hadrons (0.2, 0.1 mm)
|
||||
Lowest e+e- kinetic energy 100 eV
|
||||
Lowest muon/hadron kinetic energy 1 keV
|
||||
Fluctuations of dE/dx are enabled 1
|
||||
Use built-in Birks satuaration 0
|
||||
Build CSDA range enabled 1
|
||||
Use cut as a final range enabled 1
|
||||
Enable angular generator interface 0
|
||||
Factor of cut reduction for sub-cutoff method 1
|
||||
Max kinetic energy for CSDA tables 1 GeV
|
||||
Lowest e+e- kinetic energy 100 eV
|
||||
Lowest muon/hadron kinetic energy 1 keV
|
||||
Lowest triplet kinetic energy 1 MeV
|
||||
Linear loss limit 0.01
|
||||
=======================================================================
|
||||
====== Multiple Scattering Parameters ========
|
||||
@@ -299,7 +301,7 @@ Type of msc step limit algorithm for e+- 3
|
||||
Type of msc step limit algorithm for muons/hadrons 0
|
||||
Msc lateral displacement for e+- enabled 1
|
||||
Msc lateral displacement for muons and hadrons 1
|
||||
Msc lateral displacement alg96 for e+- 0
|
||||
Urban msc model lateral displacement alg96 1
|
||||
Msc lateral displacement beyond geometry safety 0
|
||||
Range factor for msc step limit for e+- 0.04
|
||||
Range factor for msc step limit for muons/hadrons 0.2
|
||||
@@ -310,6 +312,7 @@ Factor used for dynamic computation of angular
|
||||
limit between single and multiple scattering 1
|
||||
Fixed angular limit between single
|
||||
and multiple scattering 3.1416 rad
|
||||
Upper energy limit for e+- multiple scattering 100 MeV
|
||||
Type of nuclear form-factor 1
|
||||
Screening factor 1
|
||||
=======================================================================
|
||||
@@ -329,6 +332,7 @@ Type of PIXE cross section for e+- Livermore
|
||||
Use fast sampling in DNA models 0
|
||||
Use Stationary option in DNA models 0
|
||||
Use DNA with multiple scattering of e- 0
|
||||
Use DNA e- solvation model type 3
|
||||
=======================================================================
|
||||
|
||||
========= Table of registered couples ==============================
|
||||
@@ -403,7 +407,7 @@ Index : 1 used in the geometry : Yes
|
||||
range from restrict dE/dx: 6.07217 cm ( 6.07217 g/cm2 )
|
||||
range from full dE/dx : 4.93182 cm ( 4.93182 g/cm2 )
|
||||
|
||||
transport mean free path : 2.79107 mm ( 279.107 mg/cm2)
|
||||
transport mean free path : 27.9107 cm ( 27.9107 g/cm2 )
|
||||
|
||||
critical energy (Rossi) : 78.7732 MeV
|
||||
Moliere radius : 0.269193 X0 = 9.71583 cm
|
||||
|
||||
Reference in New Issue
Block a user