Import Geant4 10.5.0.beta source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$Id: History 103006 2017-03-08 08:12:23Z gcosmo $
|
||||
$Id: History 109715 2018-05-08 13:40:02Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -17,6 +17,11 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
May 8th, 2018 B. Morgan - B01-V10-04-00
|
||||
- Include G4Types before use of G4MULTITHREADED. For forward
|
||||
compatibility with move to #defines over -D for G4 preprocessor
|
||||
symbols.
|
||||
|
||||
Mar 7th, 2017 A. Howard - B01-V10-03-00
|
||||
- Removed unnecessary clear sampling from B01
|
||||
|
||||
|
||||
@@ -27,9 +27,9 @@
|
||||
/// \brief Main program of the biasing/B01 example
|
||||
//
|
||||
//
|
||||
// $Id: exampleB01.cc 103006 2017-03-08 08:12:23Z gcosmo $
|
||||
// $Id: exampleB01.cc 109715 2018-05-08 13:40:02Z gcosmo $
|
||||
//
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
// GEANT 4 - exampleB01
|
||||
//
|
||||
@@ -39,7 +39,7 @@
|
||||
// This example intends to show how to use importance sampling and scoring
|
||||
// in the mass (tracking) geometry.
|
||||
// A simple geometry consisting of a 180 cm high concrete cylinder
|
||||
// divided into 18 slabs of 10cm each is created.
|
||||
// divided into 18 slabs of 10cm each is created.
|
||||
// Importance values are assigned to the 18 concrete slabs in the
|
||||
// detector construction class for simplicity.
|
||||
// Pairs of G4GeometryCell and importance values are stored in
|
||||
@@ -49,9 +49,9 @@
|
||||
//
|
||||
// Alex Howard (alexander.howard@cern.ch):
|
||||
// 22/11/13: Migrated to the new MT compliant design which moves the
|
||||
// biasing process to the physicslist constructor - here
|
||||
// biasing process to the physicslist constructor - here
|
||||
// via the modular physicslists
|
||||
//
|
||||
//
|
||||
|
||||
// --------------------------------------------------------------
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -60,6 +60,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "G4Types.hh"
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
#include "G4MTRunManager.hh"
|
||||
#else
|
||||
@@ -116,16 +118,16 @@ int main(int argc, char **argv)
|
||||
G4GeometrySampler mgs(detector->GetWorldVolume(),"neutron");
|
||||
|
||||
G4VModularPhysicsList* physicsList = new FTFP_BERT;
|
||||
if(mode == 0)
|
||||
if(mode == 0)
|
||||
{
|
||||
physicsList->RegisterPhysics(new G4ImportanceBiasing(&mgs));
|
||||
}
|
||||
else
|
||||
{
|
||||
wwAlg = new G4WeightWindowAlgorithm(1, // upper limit factor
|
||||
1, // survival factor
|
||||
1, // survival factor
|
||||
100); // max. number of splitting
|
||||
|
||||
|
||||
physicsList->RegisterPhysics(new G4WeightWindowBiasing
|
||||
(&mgs, wwAlg, onBoundary));
|
||||
// place of action
|
||||
@@ -139,11 +141,11 @@ int main(int argc, char **argv)
|
||||
|
||||
runManager->Initialize();
|
||||
|
||||
if (mode == 0)
|
||||
if (mode == 0)
|
||||
{
|
||||
detector->CreateImportanceStore();
|
||||
}
|
||||
else
|
||||
}
|
||||
else
|
||||
{
|
||||
detector->CreateWeightWindowStore();
|
||||
}
|
||||
@@ -151,10 +153,10 @@ int main(int argc, char **argv)
|
||||
// runManager->BeamOn(numberOfEvents);
|
||||
|
||||
//temporary fix before runManager->BeamOn works...
|
||||
G4UImanager* UImanager = G4UImanager::GetUIpointer();
|
||||
G4UImanager* UImanager = G4UImanager::GetUIpointer();
|
||||
G4String command1 = "/control/cout/setCoutFile threadOut";
|
||||
UImanager->ApplyCommand(command1);
|
||||
G4String command2 = "/run/beamOn " +
|
||||
G4String command2 = "/run/beamOn " +
|
||||
G4UIcommand::ConvertToString(numberOfEvents);;
|
||||
UImanager->ApplyCommand(command2);
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -114,8 +114,8 @@ compt: for gamma SubType= 13 BuildTable= 1
|
||||
conv: for gamma SubType= 14 BuildTable= 1
|
||||
Lambda table from 1.022 MeV to 100 TeV, 18 bins per decade, spline: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
BetheHeitler : Emin= 0 eV Emax= 80 GeV
|
||||
BetheHeitlerLPM : Emin= 80 GeV Emax= 100 TeV
|
||||
BetheHeitler : Emin= 0 eV Emax= 80 GeV AngularGenUrban
|
||||
BetheHeitlerLPM : Emin= 80 GeV Emax= 100 TeV AngularGenUrban
|
||||
|
||||
Rayl: for gamma SubType= 11 BuildTable= 1
|
||||
Lambda table from 100 eV to 100 keV, 7 bins per decade, spline: 0
|
||||
@@ -482,7 +482,6 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
|
||||
Model: BertiniCascade: 0 eV ---> 12 GeV
|
||||
Cr_sctns: G4NeutronInelasticXS: 0 eV ---> 100 TeV
|
||||
Cr_sctns: Barashenkov-Glauber: 0 eV ---> 100 TeV
|
||||
Cr_sctns: GheishaInelastic: 0 eV ---> 100 TeV
|
||||
|
||||
Process: nCapture
|
||||
Model: nRadCapture: 0 eV ---> 100 TeV
|
||||
@@ -725,7 +724,6 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
|
||||
Model: hElasticLHEP: 0 eV ---> 1.0001 GeV
|
||||
Model: hElasticGlauber: 1 GeV ---> 100 TeV
|
||||
Cr_sctns: Barashenkov-Glauber: 0 eV ---> 100 TeV
|
||||
Cr_sctns: GheishaElastic: 0 eV ---> 100 TeV
|
||||
|
||||
Process: pi+Inelastic
|
||||
Model: FTFP: 3 GeV ---> 100 TeV
|
||||
@@ -742,7 +740,6 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
|
||||
Model: hElasticLHEP: 0 eV ---> 1.0001 GeV
|
||||
Model: hElasticGlauber: 1 GeV ---> 100 TeV
|
||||
Cr_sctns: Barashenkov-Glauber: 0 eV ---> 100 TeV
|
||||
Cr_sctns: GheishaElastic: 0 eV ---> 100 TeV
|
||||
|
||||
Process: pi-Inelastic
|
||||
Model: FTFP: 3 GeV ---> 100 TeV
|
||||
@@ -766,7 +763,6 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
|
||||
Model: FTFP: 3 GeV ---> 100 TeV
|
||||
Model: BertiniCascade: 0 eV ---> 12 GeV
|
||||
Cr_sctns: Barashenkov-Glauber: 0 eV ---> 100 TeV
|
||||
Cr_sctns: GheishaInelastic: 0 eV ---> 100 TeV
|
||||
|
||||
---------------------------------------------------
|
||||
Hadronic Processes for triton
|
||||
@@ -818,24 +814,24 @@ Max 2J for sampling of angular correlations 10
|
||||
=============================================================
|
||||
=============================================================
|
||||
Volume | Tr.Entering | Population | Collisions | Coll*WGT | NumWGTedE | FluxWGTedE | Av.Tr.WGT | SL | SLW | SLW_v | SLWE | SLWE_v |
|
||||
cell_00 | 45 | 136 | 45 | 45 | 0.00448436 | 2.48579 | 1 | 7974.02 | 7974.02 | 157832 | 19821.7 | 707.777 |
|
||||
cell_01 | 160 | 191 | 776 | 776 | 0.0113358 | 3.6665 | 1 | 28883.3 | 28883.3 | 265740 | 105901 | 3012.38 |
|
||||
cell_02 | 152 | 253 | 1206 | 603 | 0.00743581 | 2.7154 | 0.5 | 41602.3 | 20801.2 | 230509 | 56483.5 | 1714.02 |
|
||||
cell_03 | 194 | 306 | 1424 | 356 | 0.00738174 | 2.51189 | 0.25 | 48888.1 | 12222 | 133814 | 30700.4 | 987.777 |
|
||||
cell_04 | 249 | 359 | 1938 | 242.25 | 0.00536816 | 1.88067 | 0.125 | 65344 | 8168 | 99504.9 | 15361.3 | 534.158 |
|
||||
cell_05 | 301 | 434 | 2912 | 182 | 0.00443784 | 1.61111 | 0.0625 | 86545.9 | 5409.12 | 69447.3 | 8714.67 | 308.196 |
|
||||
cell_06 | 294 | 457 | 2795 | 87.3438 | 0.00361211 | 1.61544 | 0.03125 | 86189.2 | 2693.41 | 43433.5 | 4351.05 | 156.887 |
|
||||
cell_07 | 320 | 462 | 2523 | 39.4219 | 0.00400435 | 1.76115 | 0.015625 | 80284.7 | 1254.45 | 19940.4 | 2209.27 | 79.8484 |
|
||||
cell_08 | 353 | 507 | 2946 | 23.0156 | 0.00441224 | 1.64939 | 0.0078125 | 94657 | 739.508 | 10107.4 | 1219.73 | 44.5964 |
|
||||
cell_09 | 362 | 551 | 3164 | 12.3594 | 0.00494896 | 1.63985 | 0.00390625 | 101820 | 397.735 | 4997.79 | 652.225 | 24.7339 |
|
||||
cell_10 | 445 | 622 | 4051 | 7.91211 | 0.00370405 | 1.25021 | 0.00195312 | 124780 | 243.711 | 3443.84 | 304.691 | 12.7561 |
|
||||
cell_11 | 450 | 665 | 4459 | 4.35449 | 0.00330605 | 1.09589 | 0.000976562 | 126069 | 123.115 | 1729.54 | 134.92 | 5.71794 |
|
||||
cell_12 | 370 | 549 | 3672 | 1.79297 | 0.00167835 | 0.894545 | 0.000488281 | 100337 | 48.9928 | 1144.25 | 43.8263 | 1.92045 |
|
||||
cell_13 | 305 | 461 | 2983 | 0.728271 | 0.00202361 | 0.94942 | 0.000244141 | 83843.2 | 20.4695 | 414.878 | 19.4342 | 0.839553 |
|
||||
cell_14 | 281 | 399 | 2554 | 0.311768 | 0.00312102 | 1.18916 | 0.00012207 | 75889 | 9.2638 | 142.47 | 11.0161 | 0.44465 |
|
||||
cell_15 | 276 | 399 | 2769 | 0.169006 | 0.00313643 | 1.02224 | 6.10352e-05 | 77778.1 | 4.7472 | 67.8515 | 4.85277 | 0.212812 |
|
||||
cell_16 | 250 | 372 | 2604 | 0.0794678 | 0.00211823 | 0.8795 | 3.05176e-05 | 71526 | 2.1828 | 41.4033 | 1.91977 | 0.0877016 |
|
||||
cell_17 | 196 | 293 | 1945 | 0.0296783 | 0.00217187 | 0.890909 | 1.52588e-05 | 56557.3 | 0.862996 | 15.428 | 0.768851 | 0.0335076 |
|
||||
cell_18 | 120 | 242 | 1387 | 0.010582 | 0.0033456 | 1.23282 | 7.62939e-06 | 41927 | 0.319878 | 4.68902 | 0.394353 | 0.0156876 |
|
||||
cell_19 | 86 | 86 | 86 | 0.000656128 | 0.0210684 | 1.81473 | 7.62939e-06 | 15099.3 | 0.115199 | 0.383771 | 0.209055 | 0.00808543 |
|
||||
cell_00 | 50 | 139 | 50 | 50 | 0.0269246 | 1.8425 | 1 | 9637.07 | 9637.07 | 26502.8 | 17756.3 | 713.576 |
|
||||
cell_01 | 150 | 183 | 489 | 489 | 0.0309335 | 4.5697 | 1 | 22979 | 22979 | 93745.6 | 105007 | 2899.88 |
|
||||
cell_02 | 162 | 268 | 1287 | 643.5 | 0.0107044 | 2.74999 | 0.5 | 48061.1 | 24030.6 | 196949 | 66083.9 | 2108.21 |
|
||||
cell_03 | 197 | 317 | 1573 | 393.25 | 0.00975976 | 2.35161 | 0.25 | 56004.2 | 14001 | 113383 | 32924.9 | 1106.59 |
|
||||
cell_04 | 239 | 372 | 2117 | 264.625 | 0.00451927 | 2.02373 | 0.125 | 68323.1 | 8540.39 | 132435 | 17283.4 | 598.512 |
|
||||
cell_05 | 284 | 427 | 2666 | 166.625 | 0.00428651 | 1.70972 | 0.0625 | 83496.6 | 5218.54 | 75922.8 | 8922.22 | 325.444 |
|
||||
cell_06 | 315 | 465 | 2837 | 88.6562 | 0.00412385 | 1.53253 | 0.03125 | 87026.7 | 2719.58 | 37914.2 | 4167.86 | 156.352 |
|
||||
cell_07 | 321 | 508 | 2925 | 45.7031 | 0.00353552 | 1.47635 | 0.015625 | 90876.7 | 1419.95 | 22401.8 | 2096.34 | 79.2021 |
|
||||
cell_08 | 338 | 507 | 2919 | 22.8047 | 0.00416745 | 1.4159 | 0.0078125 | 90003.1 | 703.149 | 9698.32 | 995.59 | 40.4173 |
|
||||
cell_09 | 352 | 492 | 3211 | 12.543 | 0.00362826 | 1.20195 | 0.00390625 | 96433 | 376.691 | 5329.56 | 452.765 | 19.337 |
|
||||
cell_10 | 360 | 489 | 3320 | 6.48438 | 0.0027791 | 1.03852 | 0.00195312 | 98346 | 192.082 | 3195.03 | 199.481 | 8.87928 |
|
||||
cell_11 | 312 | 456 | 3054 | 2.98242 | 0.00232018 | 0.932531 | 0.000976562 | 84600.8 | 82.6179 | 1502.52 | 77.0438 | 3.48612 |
|
||||
cell_12 | 268 | 394 | 2763 | 1.34912 | 0.00275229 | 0.911749 | 0.000488281 | 78152.9 | 38.1606 | 578.201 | 34.7929 | 1.59138 |
|
||||
cell_13 | 250 | 359 | 2264 | 0.552734 | 0.00272858 | 0.970769 | 0.000244141 | 66634 | 16.2681 | 263.006 | 15.7925 | 0.717633 |
|
||||
cell_14 | 221 | 315 | 2212 | 0.27002 | 0.00267258 | 0.917056 | 0.00012207 | 63995.1 | 7.81191 | 123.204 | 7.16396 | 0.329273 |
|
||||
cell_15 | 197 | 289 | 1843 | 0.112488 | 0.00198318 | 0.73006 | 6.10352e-05 | 51496.4 | 3.14309 | 55.9063 | 2.29465 | 0.110872 |
|
||||
cell_16 | 142 | 218 | 1546 | 0.0471802 | 0.00203688 | 0.80356 | 3.05176e-05 | 43389 | 1.32413 | 25.299 | 1.06402 | 0.051531 |
|
||||
cell_17 | 111 | 168 | 1165 | 0.0177765 | 0.00157417 | 0.823205 | 1.52588e-05 | 31665.9 | 0.483183 | 11.2351 | 0.397759 | 0.0176859 |
|
||||
cell_18 | 70 | 132 | 833 | 0.00635529 | 0.00179783 | 0.842859 | 7.62939e-06 | 22767.9 | 0.173705 | 3.42001 | 0.146409 | 0.0061486 |
|
||||
cell_19 | 43 | 43 | 43 | 0.000328064 | 0.00449794 | 1.51442 | 7.62939e-06 | 5979.99 | 0.0456237 | 0.535836 | 0.0690932 | 0.00241016 |
|
||||
=============================================
|
||||
|
||||
Reference in New Issue
Block a user