Import Geant4 10.5.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2018-06-29 10:58:11 +02:00
parent fe81a77428
commit 6aa23be517
1581 changed files with 124288 additions and 83758 deletions
+6 -1
View File
@@ -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
+15 -13
View File
@@ -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);
+23 -27
View File
@@ -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 |
=============================================
+6 -1
View File
@@ -1,4 +1,4 @@
$Id: History 103007 2017-03-08 08:14:00Z gcosmo $
$Id: History 109717 2018-05-08 13:41:05Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,11 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 8th, 2018 B. Morgan - B02-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 - B02-V10-03-00
- Removed unnecessary clear sampling from B02
+10 -8
View File
@@ -27,9 +27,9 @@
/// \brief Main program of the biasing/B02 example
//
//
// $Id: exampleB02.cc 103007 2017-03-08 08:14:00Z gcosmo $
// $Id: exampleB02.cc 109717 2018-05-08 13:41:05Z gcosmo $
//
//
//
// --------------------------------------------------------------
// GEANT 4 - exampleB02
//
@@ -39,12 +39,12 @@
// 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
// the importance store.
//
//
// --------------------------------------------------------------
@@ -52,6 +52,8 @@
#include <stdlib.h>
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
@@ -86,7 +88,7 @@ int main(int argc, char **argv)
G4int mode = 0;
if (argc>1) mode = atoi(argv[1]);
if(mode != 0) {
G4cout << " mode not used yet, refer to B01 to see WeightWindow technique "
G4cout << " mode not used yet, refer to B01 to see WeightWindow technique "
<< mode << G4endl;
}
@@ -110,7 +112,7 @@ int main(int argc, char **argv)
runManager->SetUserInitialization(detector);
G4String parallelName("ParallelBiasingWorld");
B02ImportanceDetectorConstruction* pdet =
B02ImportanceDetectorConstruction* pdet =
new B02ImportanceDetectorConstruction(parallelName);
detector->RegisterParallelWorld(pdet);
@@ -134,10 +136,10 @@ int main(int argc, char **argv)
pdet->CreateImportanceStore();
//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);
+11 -2
View File
@@ -17,16 +17,25 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 8th, 2018 B. Morgan - B03-V10-04-01
- Include G4Types before use of G4MULTITHREADED. For forward
compatibility with move to #defines over -D for G4 preprocessor
symbols.
Feb 15th, 2018 A. Howard - B03-V10-04-00
- Removed parallel geometry setting directly from main - created a data-race
in MT mode. Now everything is handled with B03PhysicsList.cc
Mar 8th, 2017 A. Howard - B03-V10-03-01
- B03PhysicsList - removed obsolete unnececssary instantiation of
de-excitation sub-models
de-excitation sub-models
Mar 7th, 2017 A. Howard - B03-V10-03-00
- Removed unnecessary clear sampling from B03
October 14th, 2016 G.Folger - B03-V10-02-01
- remove direct use of theParticleIterator, use GetParticleTableIterator().
fix required by clang39 on Linux and MAC
fix required by clang39 on Linux and MAC
Jul 20th, 2016 I. Hrivnacova
- Coding guidelines (redundant empty lines)
+31 -25
View File
@@ -29,7 +29,7 @@
//
// $Id: exampleB03.cc 70528 2013-05-31 16:50:36Z gcosmo $
//
//
//
// --------------------------------------------------------------
// GEANT 4 - exampleB03
//
@@ -39,23 +39,25 @@
// This example intends to show how to use both importance sampling and a
// customized scoring making use of the scoring framework
// in a parallel geometry.
//
//
// A simple geometry consisting of a 180 cm high concrete cylinder
// is constructed in the mass geometry.
// A geometry is constructed in the parallel geometry
// in order to assign importance values to slabs
// of width 10cm and for scoring. The parallel world volume should
// overlap the mass world volume and the radii of the slabs is larger
// of width 10cm and for scoring. The parallel world volume should
// overlap the mass world volume and the radii of the slabs is larger
// than the radius of the concrete cylinder in the mass geometry.
// Pairs of G4GeometryCell and importance values are stored in
// the importance store.
// The scoring uses the primitive scorers via the Multi Functional Detector
//
//
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include <iostream>
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
@@ -78,13 +80,13 @@
// Files specific for biasing and scoring
//#include "G4Scorer.hh"
#include "G4GeometrySampler.hh"
// #include "G4GeometrySampler.hh"
#include "G4IStore.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
int main(int , char **)
{
{
G4int numberOfEvents = 100;
G4long myseed = 345354;
@@ -108,16 +110,20 @@ int main(int , char **)
// create a parallel detector
G4String parallelName("ParallelBiasingWorld");
B03ImportanceDetectorConstruction *pdet =
B03ImportanceDetectorConstruction *pdet =
new B03ImportanceDetectorConstruction(parallelName);
detector->RegisterParallelWorld(pdet);
G4GeometrySampler pgs(pdet->GetWorldVolume(),"neutron");
B03PhysicsList* physlist = new B03PhysicsList;
physlist->AddParallelWorldName(parallelName);
// G4GeometrySampler pgs(pdet->GetWorldVolume(),"neutron");
// B03PhysicsList* physlist = new B03PhysicsList;
// name of first parallel world:
B03PhysicsList* physlist = new B03PhysicsList(parallelName);
// push parallel world to store in case of multiple worlds:
physlist->AddParallelWorldName(parallelName);
// physlist->AddParallelWorldName(parallelName);
//physlist->AddParallelWorldName(sparallelName);
physlist->AddBiasing(&pgs,parallelName);
// physlist->AddBiasing(&pgs,parallelName);
runManager->SetUserInitialization(physlist);
// Set user action classes through Worker Initialization
@@ -134,7 +140,7 @@ int main(int , char **)
G4VPhysicalVolume& aghostWorld = pdet->GetWorldVolumeAddress();
G4cout << " ghost world: " << pdet->GetName() << G4endl;
// create an importance
// create an importance
G4IStore *aIstore = G4IStore::GetInstance(pdet->GetName());
// create a geometry cell for the world volume replpicanumber is 0!
@@ -142,12 +148,12 @@ int main(int , char **)
// set world volume importance to 1
aIstore->AddImportanceGeometryCell(1, gWorldVolumeCell);
// set importance values and create scorers
// set importance values and create scorers
G4int cell(1);
for (cell=1; cell<=18; cell++) {
G4GeometryCell gCell = pdet->GetGeometryCell(cell);
G4cout << " adding cell: " << cell
<< " replica: " << gCell.GetReplicaNumber()
G4cout << " adding cell: " << cell
<< " replica: " << gCell.GetReplicaNumber()
<< " name: " << gCell.GetPhysicalVolume().GetName() << G4endl;
G4double imp = std::pow(2.0,cell-1);
//x aIstore.AddImportanceGeometryCell(imp, gCell);
@@ -158,18 +164,18 @@ int main(int , char **)
// G4GeometryCell gCell = pdet->GetGeometryCell(18);
// create importance geometry cell pair for the "rest"cell
// with the same importance as the last concrete cell
// with the same importance as the last concrete cell
G4GeometryCell gCell = pdet->GetGeometryCell(19);
// G4double imp = std::pow(2.0,18);
G4double imp = std::pow(2.0,17);
// G4double imp = std::pow(2.0,18);
G4double imp = std::pow(2.0,17);
aIstore->AddImportanceGeometryCell(imp, gCell.GetPhysicalVolume(), 19);
//temporary fix before runManager->BeamOn works...
G4UImanager* UImanager = G4UImanager::GetUIpointer();
G4UImanager* UImanager = G4UImanager::GetUIpointer();
G4String command1 = "/control/cout/setCoutFile fileName";
UImanager->ApplyCommand(command1);
G4String command2 = "/run/beamOn "
G4String command2 = "/run/beamOn "
+ G4UIcommand::ConvertToString(numberOfEvents);;
UImanager->ApplyCommand(command2);
@@ -178,7 +184,7 @@ int main(int , char **)
// pgs.ClearSampling();
delete runManager;
return 0;
}
+26 -26
View File
@@ -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
@@ -19,8 +19,8 @@
G4IStore:: Creating new Parallel IStore ParallelBiasingWorld
G4IStore:: ParallelWorldName = ParallelBiasingWorld
G4IStore:: fParallelWorldVolume = ParallelBiasingWorld
G4GeometrySampler:: preparing importance sampling WorldName is
G4ImportanceConfigurator:: setting world name:
G4GeometrySampler:: preparing importance sampling WorldName is ParallelBiasingWorld
G4ImportanceConfigurator:: setting world name: ParallelBiasingWorld
G4ImportanceConfigurator:: entering importance configure, paraflag 1
@@ -93,8 +93,8 @@ B03PhysicsList::SetCuts:CutLength : 1 (mm)
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
compt: for gamma SubType= 13 BuildTable= 1
Lambda table from 100 eV to 1 MeV, 7 bins per decade, spline: 1
@@ -525,7 +525,7 @@ Max 2J for sampling of angular correlations 10
*** G4Exception : GeomBias1001
issued by : G4ImportanceAlgorithm::Warning()
Calculate() - ipre_over_ipost ! in [0.25, 4].
ipre_over_ipost = 8192.
ipre_over_ipost = 131072.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
@@ -545,24 +545,24 @@ ipre_over_ipost = 8192.
=============================================================
=============================================================
Volume | Tr.Entering | Population | Collisions | Coll*WGT | NumWGTedE | FluxWGTedE | Av.Tr.WGT | SL | SLW | SLW_v | SLWE | SLWE_v |
cell_00 | 31 | 129 | 0 | 0 | 0.534326 | 1.74782 | 1 | 5791.85 | 5791.85 | 929.432 | 10123.1 | 496.62 |
cell_01 | 138 | 187 | 471 | 471 | 0.686917 | 4.52128 | 1 | 23183 | 23183 | 4361.23 | 104817 | 2995.8 |
cell_02 | 196 | 301 | 1392 | 696 | 0.255351 | 2.68603 | 0.5 | 47904.1 | 23952.1 | 8131.59 | 64335.8 | 2076.41 |
cell_03 | 265 | 406 | 2240 | 560 | 0.150434 | 1.82021 | 0.25 | 70671.1 | 17667.8 | 7685.8 | 32159 | 1156.2 |
cell_04 | 277 | 441 | 2358 | 294.75 | 0.140877 | 1.6999 | 0.125 | 72856.8 | 9107.1 | 4062.42 | 15481.1 | 572.301 |
cell_05 | 257 | 435 | 2246 | 140.375 | 0.151716 | 1.73836 | 0.0625 | 71376.2 | 4461.01 | 1878.8 | 7754.83 | 285.043 |
cell_06 | 267 | 422 | 2402 | 75.0625 | 0.110526 | 1.45753 | 0.03125 | 72153.6 | 2254.8 | 1138.59 | 3286.45 | 125.843 |
cell_07 | 250 | 400 | 2162 | 33.7812 | 0.141267 | 1.59481 | 0.015625 | 69304.8 | 1082.89 | 473.851 | 1727 | 66.9392 |
cell_08 | 231 | 366 | 1811 | 14.1484 | 0.167754 | 1.82952 | 0.0078125 | 60050.9 | 469.148 | 190.276 | 858.314 | 31.9196 |
cell_09 | 247 | 398 | 2104 | 8.21875 | 0.174693 | 1.59253 | 0.00390625 | 67841.3 | 265.005 | 97.5597 | 422.029 | 17.043 |
cell_10 | 256 | 423 | 2313 | 4.51758 | 0.144169 | 1.64423 | 0.00195312 | 71735 | 140.107 | 61.2612 | 230.368 | 8.83195 |
cell_11 | 274 | 396 | 2383 | 2.32715 | 0.121508 | 1.61002 | 0.000976562 | 72474.1 | 70.7755 | 34.8874 | 113.95 | 4.23911 |
cell_12 | 274 | 445 | 2446 | 1.19434 | 0.114649 | 1.40995 | 0.000488281 | 74472.8 | 36.3637 | 17.5739 | 51.2708 | 2.01483 |
cell_13 | 268 | 415 | 2281 | 0.556885 | 0.131622 | 1.56155 | 0.000244141 | 70517.2 | 17.2161 | 7.99014 | 26.8838 | 1.05168 |
cell_14 | 268 | 406 | 2523 | 0.307983 | 0.112905 | 1.27507 | 0.00012207 | 79221.7 | 9.67062 | 4.66185 | 12.3307 | 0.526345 |
cell_15 | 253 | 402 | 2295 | 0.140076 | 0.112027 | 1.27071 | 6.10352e-05 | 71983.2 | 4.39351 | 2.14411 | 5.58287 | 0.240198 |
cell_16 | 217 | 339 | 2095 | 0.0639343 | 0.0932734 | 1.03489 | 3.05176e-05 | 61939.2 | 1.89024 | 0.967455 | 1.95619 | 0.0902378 |
cell_17 | 214 | 318 | 1910 | 0.0291443 | 0.102657 | 1.0284 | 1.52588e-05 | 55898.8 | 0.852949 | 0.405486 | 0.87717 | 0.0416258 |
cell_18 | 126 | 247 | 1407 | 0.0107346 | 0.10947 | 1.10822 | 7.62939e-06 | 42660 | 0.32547 | 0.150884 | 0.360692 | 0.0165173 |
cell_19 | 78 | 78 | 0 | 0 | 0.25497 | 2.0042 | 7.62939e-06 | 11723.7 | 0.0894449 | 0.0266877 | 0.179266 | 0.00680455 |
cell_00 | 32 | 127 | 0 | 0 | 0.593306 | 1.95909 | 1 | 6279.53 | 6279.53 | 881.972 | 12302.2 | 523.279 |
cell_01 | 154 | 181 | 524 | 524 | 0.547197 | 4.12749 | 1 | 23011.1 | 23011.1 | 4939.89 | 94977.8 | 2703.1 |
cell_02 | 187 | 286 | 1170 | 585 | 0.313165 | 3.07217 | 0.5 | 41939.7 | 20969.9 | 6296.47 | 64423.1 | 1971.84 |
cell_03 | 260 | 437 | 2075 | 518.75 | 0.24692 | 2.46756 | 0.25 | 70514.2 | 17628.6 | 5856.17 | 43499.4 | 1446 |
cell_04 | 325 | 519 | 2633 | 329.125 | 0.181556 | 2.01538 | 0.125 | 91166.2 | 11395.8 | 4492.49 | 22966.8 | 815.638 |
cell_05 | 355 | 565 | 3175 | 198.438 | 0.144475 | 1.73798 | 0.0625 | 102685 | 6417.8 | 2863.85 | 11154 | 413.756 |
cell_06 | 420 | 606 | 3394 | 106.062 | 0.147559 | 1.66185 | 0.03125 | 105987 | 3312.1 | 1408.32 | 5504.21 | 207.811 |
cell_07 | 424 | 667 | 4041 | 63.1406 | 0.133434 | 1.50288 | 0.015625 | 125790 | 1965.47 | 864.069 | 2953.86 | 115.296 |
cell_08 | 368 | 590 | 3231 | 25.2422 | 0.116068 | 1.4137 | 0.0078125 | 99015.7 | 773.56 | 375.037 | 1093.58 | 43.5299 |
cell_09 | 319 | 512 | 3039 | 11.8711 | 0.102887 | 1.27181 | 0.00390625 | 89430.7 | 349.339 | 177.162 | 444.291 | 18.2278 |
cell_10 | 293 | 462 | 2617 | 5.11133 | 0.115569 | 1.43395 | 0.00195312 | 78429.6 | 153.183 | 74.8065 | 219.656 | 8.6453 |
cell_11 | 278 | 437 | 2407 | 2.35059 | 0.138263 | 1.52835 | 0.000976562 | 74562.6 | 72.815 | 32.2267 | 111.287 | 4.45576 |
cell_12 | 290 | 415 | 2410 | 1.17676 | 0.110652 | 1.23252 | 0.000488281 | 73158 | 35.7217 | 17.2477 | 44.0276 | 1.9085 |
cell_13 | 294 | 414 | 2360 | 0.576172 | 0.106277 | 1.14182 | 0.000244141 | 70384 | 17.1836 | 8.23382 | 19.6206 | 0.875063 |
cell_14 | 254 | 386 | 2372 | 0.289551 | 0.0990127 | 1.23349 | 0.00012207 | 70702.3 | 8.63065 | 4.5553 | 10.6458 | 0.451033 |
cell_15 | 223 | 315 | 2036 | 0.124268 | 0.106262 | 1.10229 | 6.10352e-05 | 63270 | 3.8617 | 1.83807 | 4.25672 | 0.195318 |
cell_16 | 204 | 297 | 1902 | 0.0580444 | 0.121743 | 1.24257 | 3.05176e-05 | 55708.3 | 1.70008 | 0.756269 | 2.11248 | 0.0920704 |
cell_17 | 170 | 266 | 1544 | 0.0235596 | 0.124343 | 1.30729 | 1.52588e-05 | 46864.7 | 0.715099 | 0.3242 | 0.934843 | 0.040312 |
cell_18 | 104 | 208 | 1047 | 0.00798798 | 0.135573 | 1.47168 | 7.62939e-06 | 33237.9 | 0.253585 | 0.115103 | 0.373196 | 0.0156048 |
cell_19 | 60 | 60 | 0 | 0 | 0.373423 | 2.41136 | 7.62939e-06 | 9768.85 | 0.0745304 | 0.0183939 | 0.17972 | 0.00686869 |
=============================================
@@ -41,15 +41,15 @@
class B03PhysicsList: public G4VUserPhysicsList
{
public:
B03PhysicsList();
B03PhysicsList(G4String);
virtual ~B03PhysicsList();
public:
void AddParallelWorldName(G4String& pname)
{fParaWorldName.push_back(pname);}
void AddBiasing(G4GeometrySampler *mgs, G4String& pname)
{fGeomSampler = mgs; fBiasWorldName = pname;}
// void AddBiasing(G4GeometrySampler *mgs, G4String& pname)
// {fGeomSampler = mgs; fBiasWorldName = pname;}
protected:
// Construct particle and physics
@@ -79,8 +79,8 @@ class B03PhysicsList: public G4VUserPhysicsList
private:
std::vector<G4String> fParaWorldName;
G4String fBiasWorldName;
G4GeometrySampler* fGeomSampler;
G4String fBiasWorldName;
// G4GeometrySampler* fGeomSampler;
};
@@ -53,7 +53,9 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
B03PhysicsList::B03PhysicsList(): G4VUserPhysicsList()
B03PhysicsList::B03PhysicsList(G4String parallelname):
G4VUserPhysicsList(),
fBiasWorldName(parallelname)
{
fParaWorldName.clear();
SetVerboseLevel(1);
@@ -661,25 +663,26 @@ void B03PhysicsList::AddScoringProcess(){
#include "G4IStore.hh"
void B03PhysicsList::AddBiasingProcess(){
G4cout << " Preparing Importance Sampling with GhostWorld "
<< fBiasWorldName << G4endl;
fGeomSampler->SetParallel(true); // parallelworld
G4IStore* iStore = G4IStore::GetInstance(fBiasWorldName);
fGeomSampler->SetWorld(iStore->GetParallelWorldVolumePointer());
G4GeometrySampler fGeomSampler(fBiasWorldName,"neutron");
fGeomSampler.SetParallel(true); // parallelworld
// fGeomSampler.SetWorld(iStore->GetParallelWorldVolumePointer());
// fGeomSampler->PrepareImportanceSampling(G4IStore::
// GetInstance(fBiasWorldName), 0);
static G4bool first = true;
if(first) {
fGeomSampler->PrepareImportanceSampling(iStore, 0);
fGeomSampler.PrepareImportanceSampling(iStore, 0);
fGeomSampler->Configure();
fGeomSampler.Configure();
G4cout << " GeomSampler Configured!!! " << G4endl;
first = false;
}
#ifdef G4MULTITHREADED
fGeomSampler->AddProcess();
if(!G4Threading::IsMasterThread()) fGeomSampler.AddProcess();
#else
G4cout << " Running in singlethreaded mode!!! " << G4endl;
#endif
+9
View File
@@ -17,6 +17,15 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 8th, 2018 J. Allison - GB01-V10-04-01
- Remove G4UI_USE and G4VIS_USE.
- Move instantiation of G4UIExecutive nearer to start of main.
May 8th, 2018 B. Morgan - GB01-V10-04-00
- Include G4Types before use of G4MULTITHREADED. For forward
compatibility with move to #defines over -D for G4 preprocessor
symbols.
Nov 02, 2016 I. Hrivnacova
- Added files description (for Doxygen)
+13 -20
View File
@@ -29,6 +29,8 @@
// $Id: $
//
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
@@ -44,13 +46,8 @@
#include "FTFP_BERT.hh"
#include "G4GenericBiasingPhysics.hh"
#ifdef G4VIS_USE
#include "G4VisExecutive.hh"
#endif
#ifdef G4UI_USE
#include "G4UIExecutive.hh"
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -74,7 +71,7 @@ int main(int argc,char** argv)
PrintUsage();
return 1;
}
G4String macro("");
G4String onOffBiasing("");
if ( argc == 2 ) macro = argv[1];
@@ -91,9 +88,15 @@ int main(int argc,char** argv)
}
}
}
if ( onOffBiasing == "" ) onOffBiasing = "on";
// Instantiate G4UIExecutive if interactive mode
G4UIExecutive* ui = nullptr;
if ( macro == "" ) {
ui = new G4UIExecutive(argc, argv);
}
// -- Construct the run manager : MT or sequential one
#ifdef G4MULTITHREADED
G4MTRunManager * runManager = new G4MTRunManager;
@@ -135,40 +138,30 @@ int main(int argc,char** argv)
// Initialize G4 kernel
runManager->Initialize();
#ifdef G4VIS_USE
// Initialize visualization
G4VisManager* visManager = new G4VisExecutive;
// G4VisExecutive can take a verbosity argument - see /vis/verbose guidance.
visManager->Initialize();
#endif
// Get the pointer to the User Interface manager
G4UImanager* UImanager = G4UImanager::GetUIpointer();
if ( macro != "" ) // batch mode
if ( !ui ) // batch mode
{
G4String command = "/control/execute ";
UImanager->ApplyCommand(command+macro);
}
else
{ // interactive mode : define UI session
#ifdef G4UI_USE
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
#ifdef G4VIS_USE
// UImanager->ApplyCommand("/control/execute vis.mac");
#endif
// UImanager->ApplyCommand("/control/execute vis.mac");
// if (ui->IsGUI())
// UImanager->ApplyCommand("/control/execute gui.mac");
ui->SessionStart();
delete ui;
#endif
}
#ifdef G4VIS_USE
delete visManager;
#endif
delete runManager;
return 0;
File diff suppressed because it is too large Load Diff
+9
View File
@@ -17,6 +17,15 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 20, 2018 J. Allison - GB02-V10-04-01
- Remove G4UI_USE and G4VIS_USE.
- Move instantiation of G4UIExecutive nearer to start of main.
May 8th, 2018 B. Morgan - GB02-V10-04-00
- Include G4Types before use of G4MULTITHREADED. For forward
compatibility with move to #defines over -D for G4 preprocessor
symbols.
Nov 02, 2016 I. Hrivnacova
- Added files description (for Doxygen)
+11 -19
View File
@@ -29,6 +29,8 @@
// $Id: $
//
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
@@ -44,13 +46,8 @@
#include "FTFP_BERT.hh"
#include "G4GenericBiasingPhysics.hh"
#ifdef G4VIS_USE
#include "G4VisExecutive.hh"
#endif
#ifdef G4UI_USE
#include "G4UIExecutive.hh"
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -74,7 +71,7 @@ int main(int argc,char** argv)
PrintUsage();
return 1;
}
G4String macro("");
G4String onOffBiasing("");
if ( argc == 2 ) macro = argv[1];
@@ -91,9 +88,15 @@ int main(int argc,char** argv)
}
}
}
if ( onOffBiasing == "" ) onOffBiasing = "on";
// Instantiate G4UIExecutive if interactive mode
G4UIExecutive* ui = nullptr;
if ( macro == "" ) {
ui = new G4UIExecutive(argc, argv);
}
// -- Construct the run manager : MT or sequential one
#ifdef G4MULTITHREADED
G4MTRunManager * runManager = new G4MTRunManager;
@@ -133,14 +136,11 @@ int main(int argc,char** argv)
// Initialize G4 kernel
runManager->Initialize();
#ifdef G4VIS_USE
// Initialize visualization
G4VisManager* visManager = new G4VisExecutive;
// G4VisExecutive can take a verbosity argument - see /vis/verbose guidance.
visManager->Initialize();
#endif
// Get the pointer to the User Interface manager
G4UImanager* UImanager = G4UImanager::GetUIpointer();
@@ -152,23 +152,15 @@ int main(int argc,char** argv)
}
else
{ // interactive mode : define UI session
#ifdef G4UI_USE
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
#ifdef G4VIS_USE
// UImanager->ApplyCommand("/control/execute vis.mac");
#endif
// UImanager->ApplyCommand("/control/execute vis.mac");
// if (ui->IsGUI())
// UImanager->ApplyCommand("/control/execute gui.mac");
ui->SessionStart();
delete ui;
#endif
}
#ifdef G4VIS_USE
delete visManager;
#endif
delete runManager;
return 0;
}
File diff suppressed because it is too large Load Diff
+9
View File
@@ -17,6 +17,15 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 20th, 2018 J. Allison - GB03-V10-04-01
- Remove G4UI_USE and G4VIS_USE.
- Move instantiation of G4UIExecutive nearer to start of main.
May 8th, 2018 B. Morgan - GB03-V10-04-00
- Include G4Types before use of G4MULTITHREADED. For forward
compatibility with move to #defines over -D for G4 preprocessor
symbols.
Nov 19, 2016 A. Dotti
- explicit set of SD to manager
- tag GB03-V10-02-00
+20 -28
View File
@@ -24,19 +24,16 @@
// ********************************************************************
//
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
#include "G4RunManager.hh"
#endif
#ifdef G4VIS_USE
#include "G4VisExecutive.hh"
#endif
#ifdef G4UI_USE
#include "G4UIExecutive.hh"
#endif
#include "G4UImanager.hh"
@@ -48,7 +45,12 @@
int main(int argc,char** argv)
{
// Instantiate G4UIExecutive if interactive mode
G4UIExecutive* ui = nullptr;
if ( argc == 1 ) {
ui = new G4UIExecutive(argc, argv);
}
// -- Construct the run manager : MT or sequential one
#ifdef G4MULTITHREADED
G4MTRunManager * runManager = new G4MTRunManager;
@@ -59,8 +61,7 @@ int main(int argc,char** argv)
G4RunManager * runManager = new G4RunManager;
G4cout << " ********** Run Manager constructed in sequential mode ************ " << G4endl;
#endif
// -- Set mandatory initialization classes
G4VUserDetectorConstruction* detector = new GB03DetectorConstruction;
runManager->SetUserInitialization(detector);
@@ -72,48 +73,39 @@ int main(int argc,char** argv)
biasingPhysics->NonPhysicsBias("neutron");
physicsList->RegisterPhysics(biasingPhysics);
runManager->SetUserInitialization(physicsList);
// -- Set user action initialization class
G4VUserActionInitialization* actions = new GB03ActionInitialization;
runManager->SetUserInitialization(actions);
#ifdef G4VIS_USE
// Visualization manager
//
G4VisManager* visManager = new G4VisExecutive;
visManager->Initialize();
#endif
// Initialize G4 kernel
//
runManager->Initialize();
// Get the pointer to the User Interface manager
//
G4UImanager* UImanager = G4UImanager::GetUIpointer();
if (argc==1) // Define UI session for interactive mode
G4UImanager* UImanager = G4UImanager::GetUIpointer();
if (ui) // Define UI session for interactive mode
{
#ifdef G4UI_USE
G4UIExecutive * ui = new G4UIExecutive(argc,argv);
#ifdef G4VIS_USE
UImanager->ApplyCommand("/control/execute vis.mac");
#endif
UImanager->ApplyCommand("/control/execute vis.mac");
ui->SessionStart();
delete ui;
#endif
}
else // Batch mode
{
{
G4String command = "/control/execute ";
G4String fileName = argv[1];
UImanager->ApplyCommand(command+fileName);
}
#ifdef G4VIS_USE
delete visManager;
#endif
delete runManager;
return 0;
}
+11 -16
View File
@@ -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
@@ -95,8 +95,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
@@ -463,7 +463,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
@@ -706,7 +705,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
@@ -723,7 +721,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
@@ -747,7 +744,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
@@ -841,7 +837,7 @@ GB03BOptrGeometryBasedBiasing : starting run with splitting factor = 2, and prob
Run terminated.
Run Summary
Number of events processed : 10
User=0.17s Real=0.2s Sys=0s
User=0.110000s Real=0.112160s Sys=0.000000s
Region <DefaultRegionForTheWorld> -- -- appears in <World> world volume
This region is in the mass world.
@@ -901,7 +897,7 @@ GB03BOptrGeometryBasedBiasing : starting run with splitting factor = 2, and prob
Run terminated.
Run Summary
Number of events processed : 10
User=0.3s Real=0.32s Sys=0s
User=0.120000s Real=0.124344s Sys=0.000000s
Graphics systems deleted.
Visualization Manager deleting...
G4 kernel has come to Quit state.
@@ -914,22 +910,21 @@ G4SDManager deleted.
EventManager deleted.
Units table cleared.
TransportationManager deleted.
Total navigation history collections cleaned: 13
Total navigation history collections cleaned: 19
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.0183 MB
Pool ID '20G4NavigationLevelRep', size : 0.0269 MB
Pool ID '24G4ReferenceCountedHandleIvE', size : 0.000961 MB
Pool ID '17G4DynamicParticle', size : 0.00577 MB
Pool ID '17G4DynamicParticle', size : 0.00481 MB
Pool ID '7G4Event', size : 0.000961 MB
Pool ID '15G4PrimaryVertex', size : 0.000961 MB
Pool ID '17G4PrimaryParticle', size : 0.000961 MB
Pool ID '15G4HCofThisEvent', size : 0.000961 MB
Pool ID '16G4HitsCollection', size : 0 MB
Pool ID '7G4Track', size : 0.0106 MB
Pool ID '7G4Track', size : 0.00865 MB
Pool ID '18G4TouchableHistory', size : 0.00192 MB
Pool ID '15G4CountedObjectIvE', size : 0.000961 MB
Pool ID '10G4Fragment', size : 0.00192 MB
Number of memory pools allocated: 12 of which, static: 0
Dynamic pools deleted: 12 / Total memory freed: 0.044 MB
Number of memory pools allocated: 11 of which, static: 0
Dynamic pools deleted: 11 / Total memory freed: 0.048 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
+9
View File
@@ -17,6 +17,15 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 20, 2018 J. Allison (GB04-V10-04-01)
- Remove G4UI_USE and G4VIS_USE.
- Move instantiation of G4UIExecutive nearer to start of main.
May 8, 2018 B. Morgan (GB04-V10-04-00)
- Include G4Types before use of G4MULTITHREADED. For forward
compatibility with move to #defines over -D for G4 preprocessor
symbols.
Jul 20, 2016 I. Hrivnacova
- Coding guidelines(redundant empty lines, class data member names)
+16 -24
View File
@@ -29,6 +29,8 @@
/// \brief Main program of the GB04 example
//
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
@@ -44,13 +46,8 @@
#include "FTFP_BERT.hh"
#include "G4GenericBiasingPhysics.hh"
#ifdef G4VIS_USE
#include "G4VisExecutive.hh"
#endif
#ifdef G4UI_USE
#include "G4UIExecutive.hh"
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -74,7 +71,7 @@ int main(int argc,char** argv)
PrintUsage();
return 1;
}
G4String macro("");
G4String onOffBiasing("");
if ( argc == 2 ) macro = argv[1];
@@ -91,9 +88,15 @@ int main(int argc,char** argv)
}
}
}
if ( onOffBiasing == "" ) onOffBiasing = "on";
// Instantiate G4UIExecutive if interactive mode
G4UIExecutive* ui = nullptr;
if ( macro == "" ) {
ui = new G4UIExecutive(argc, argv);
}
// -- Construct the run manager : MT or sequential one
#ifdef G4MULTITHREADED
G4MTRunManager * runManager = new G4MTRunManager;
@@ -107,7 +110,6 @@ int main(int argc,char** argv)
<< G4endl;
#endif
// -- Set mandatory initialization classes
GB04DetectorConstruction* detector = new GB04DetectorConstruction();
runManager->SetUserInitialization(detector);
@@ -125,11 +127,11 @@ int main(int argc,char** argv)
biasingPhysics->PhysicsBias("e-", processToBias);
biasingPhysics->PhysicsBias("e+", processToBias);
physicsList->RegisterPhysics(biasingPhysics);
G4cout << " ********************************************************* "
G4cout << " ********************************************************* "
<< G4endl;
G4cout << " ********** processes are wrapped for biasing ************ "
G4cout << " ********** processes are wrapped for biasing ************ "
<< G4endl;
G4cout << " ********************************************************* "
G4cout << " ********************************************************* "
<< G4endl;
}
else
@@ -144,42 +146,32 @@ int main(int argc,char** argv)
// Initialize G4 kernel
runManager->Initialize();
#ifdef G4VIS_USE
// Initialize visualization
G4VisManager* visManager = new G4VisExecutive;
// G4VisExecutive can take a verbosity argument - see /vis/verbose guidance.
visManager->Initialize();
#endif
// Get the pointer to the User Interface manager
G4UImanager* UImanager = G4UImanager::GetUIpointer();
if ( macro != "" ) // batch mode
if ( !ui ) // batch mode
{
G4String command = "/control/execute ";
UImanager->ApplyCommand(command+macro);
}
else
{ // interactive mode : define UI session
#ifdef G4UI_USE
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
#ifdef G4VIS_USE
// UImanager->ApplyCommand("/control/execute vis.mac");
#endif
// UImanager->ApplyCommand("/control/execute vis.mac");
// if (ui->IsGUI())
// UImanager->ApplyCommand("/control/execute gui.mac");
ui->SessionStart();
delete ui;
#endif
}
#ifdef G4VIS_USE
delete visManager;
#endif
delete runManager;
return 0;
}
File diff suppressed because it is too large Load Diff
+9
View File
@@ -17,6 +17,15 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 20, 2018 J. Allison - GB05-V10-04-01
- Remove G4UI_USE and G4VIS_USE.
- Move instantiation of G4UIExecutive nearer to start of main.
May 8, 2018 B. Morgan - GB05-V10-04-00
- Include G4Types before use of G4MULTITHREADED. For forward
compatibility with move to #defines over -D for G4 preprocessor
symbols.
Nov 18, 2016 G. Folger - biasingGB05-V10-02-02
- correct name in GNUmakefile
+12 -22
View File
@@ -28,6 +28,7 @@
/// \file exampleGB05.cc
/// \brief Main program of example GB05
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
@@ -44,13 +45,8 @@
#include "FTFP_BERT.hh"
#include "G4GenericBiasingPhysics.hh"
#ifdef G4VIS_USE
#include "G4VisExecutive.hh"
#endif
#ifdef G4UI_USE
#include "G4UIExecutive.hh"
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -76,7 +72,7 @@ int main(int argc,char** argv)
PrintUsage();
return 1;
}
G4String macro("");
G4String onOffBiasing("");
if ( argc == 2 ) macro = argv[1];
@@ -93,9 +89,15 @@ int main(int argc,char** argv)
}
}
}
if ( onOffBiasing == "" ) onOffBiasing = "on";
// Instantiate G4UIExecutive if interactive mode
G4UIExecutive* ui = nullptr;
if ( macro == "" ) {
ui = new G4UIExecutive(argc, argv);
}
// -- Construct the run manager : MT or sequential one
#ifdef G4MULTITHREADED
G4MTRunManager * runManager = new G4MTRunManager;
@@ -141,43 +143,31 @@ int main(int argc,char** argv)
// Initialize G4 kernel
runManager->Initialize();
#ifdef G4VIS_USE
// Initialize visualization
G4VisManager* visManager = new G4VisExecutive;
// G4VisExecutive can take a verbosity argument - see /vis/verbose guidance.
visManager->Initialize();
#endif
// Get the pointer to the User Interface manager
G4UImanager* UImanager = G4UImanager::GetUIpointer();
if ( macro != "" ) // batch mode
if ( !ui ) // batch mode
{
G4String command = "/control/execute ";
UImanager->ApplyCommand(command+macro);
}
else
{ // interactive mode : define UI session
#ifdef G4UI_USE
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
#ifdef G4VIS_USE
UImanager->ApplyCommand("/control/execute vis.mac");
#endif
UImanager->ApplyCommand("/control/execute vis.mac");
// if (ui->IsGUI())
// UImanager->ApplyCommand("/control/execute gui.mac");
ui->SessionStart();
delete ui;
#endif
}
#ifdef G4VIS_USE
delete visManager;
#endif
delete runManager;
return 0;
}
File diff suppressed because it is too large Load Diff
+9
View File
@@ -17,6 +17,15 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 20th, 2018 J. Allison - GB06-V10-04-01
- Remove G4UI_USE and G4VIS_USE.
- Move instantiation of G4UIExecutive nearer to start of main.
May 8, 2018 B. Morgan - GB06-V10-04-00
- Include G4Types before use of G4MULTITHREADED. For forward
compatibility with move to #defines over -D for G4 preprocessor
symbols.
Nov 18, 2016 G. Folger - biasingGB06-V10-02-01
- correct name in GNUmakefile
+15 -24
View File
@@ -29,6 +29,8 @@
// $Id: $
//
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
@@ -45,13 +47,8 @@
#include "FTFP_BERT.hh"
#include "G4GenericBiasingPhysics.hh"
#ifdef G4VIS_USE
#include "G4VisExecutive.hh"
#endif
#ifdef G4UI_USE
#include "G4UIExecutive.hh"
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -77,7 +74,7 @@ int main(int argc,char** argv)
PrintUsage();
return 1;
}
G4String macro("");
G4String onOffBiasing("");
if ( argc == 2 ) macro = argv[1];
@@ -94,9 +91,15 @@ int main(int argc,char** argv)
}
}
}
if ( onOffBiasing == "" ) onOffBiasing = "on";
// Instantiate G4UIExecutive if interactive mode
G4UIExecutive* ui = nullptr;
if ( macro == "" ) {
ui = new G4UIExecutive(argc, argv);
}
// -- Construct the run manager : MT or sequential one
#ifdef G4MULTITHREADED
G4MTRunManager * runManager = new G4MTRunManager;
@@ -112,7 +115,7 @@ int main(int argc,char** argv)
// -- Set mandatory initialization classes
// -- Create geometry:
GB06DetectorConstruction* detector = new GB06DetectorConstruction();
// -- Create parallel world:
@@ -121,7 +124,7 @@ int main(int argc,char** argv)
// -- and "augment" detector geometry with the parallelWorld one:
detector->RegisterParallelWorld( parallelWorld );
runManager->SetUserInitialization(detector);
// -- Select a physics list:
FTFP_BERT* physicsList = new FTFP_BERT;
// -- and augment it with biasing facilities:
@@ -150,20 +153,17 @@ int main(int argc,char** argv)
G4cout << " ************************************************* " << G4endl;
}
runManager->SetUserInitialization(physicsList);
// -- Action initialization:
runManager->SetUserInitialization(new GB06ActionInitialization);
// Initialize G4 kernel
runManager->Initialize();
#ifdef G4VIS_USE
// Initialize visualization
G4VisManager* visManager = new G4VisExecutive;
// G4VisExecutive can take a verbosity argument - see /vis/verbose guidance.
visManager->Initialize();
#endif
// Get the pointer to the User Interface manager
G4UImanager* UImanager = G4UImanager::GetUIpointer();
@@ -175,24 +175,15 @@ int main(int argc,char** argv)
}
else
{ // interactive mode : define UI session
#ifdef G4UI_USE
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
#ifdef G4VIS_USE
UImanager->ApplyCommand("/control/execute vis.mac");
#endif
UImanager->ApplyCommand("/control/execute vis.mac");
// if (ui->IsGUI())
// UImanager->ApplyCommand("/control/execute gui.mac");
ui->SessionStart();
delete ui;
#endif
}
#ifdef G4VIS_USE
delete visManager;
#endif
delete runManager;
return 0;
}
+289 -145
View File
@@ -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
@@ -91,8 +91,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
@@ -459,7 +459,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
@@ -702,7 +701,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
@@ -719,7 +717,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
@@ -743,7 +740,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
@@ -778,143 +774,291 @@ Electron internal conversion ID 2
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
=======================================================================
gamma, kinetic energy (MeV) = 4.84909, position (cm) = (-70.747,-101.054,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.000106545, position (cm) = (-77.0894,-104.727,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 3.02142, position (cm) = (-83.3442,-98.7452,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.5083, position (cm) = (-85.9216,-83.5005,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.404899, position (cm) = (-76.9359,-86.7708,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.119148, position (cm) = (-111.548,-119.105,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 4.06488, position (cm) = (-85.3866,-127.732,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.000274532, position (cm) = (-128.024,-138.905,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.439239, position (cm) = (-59.6413,-94.4964,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 11.8441, position (cm) = (-50.5311,-110.106,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.0994675, position (cm) = (-49.7287,-113.722,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 54.1143, position (cm) = (-48.1253,-114.63,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 58.161, position (cm) = (-90.5186,-94.7505,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.389167, position (cm) = (-61.1349,-88.7455,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.229395, position (cm) = (-52.5733,-74.5468,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 94.5151, position (cm) = (-69.5273,-104.003,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 76.2963, position (cm) = (-64.2624,-106.742,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 97.1484, position (cm) = (-68.4915,-103.735,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.98099, position (cm) = (-78.3814,-114.177,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.435526, position (cm) = (-64.6188,-118.885,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.162234, position (cm) = (-64.9377,-66.8058,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 72.4129, position (cm) = (-94.0438,-133.302,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 4.31811e-06, position (cm) = (-82.4994,-125.415,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 31.6118, position (cm) = (-133.585,-69.5408,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.247036, position (cm) = (-108.08,-115.197,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.01436, position (cm) = (-109.457,-108.818,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 22.6688, position (cm) = (-103.556,-103.983,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.289185, position (cm) = (-132.15,-56.1977,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 95.088, position (cm) = (-61.8283,5.1988,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 92.2936, position (cm) = (-71.376,-3.63321,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.114976, position (cm) = (-49.2756,-18.5469,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.54623, position (cm) = (-56.1056,-19.3689,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 3.73899, position (cm) = (-64.3922,-9.18621,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.428299, position (cm) = (-38.284,-21.7867,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 3.55749e-07, position (cm) = (-71.4926,-19.4423,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.26733, position (cm) = (-20.1624,-15.8481,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 2.21623, position (cm) = (-27.3464,13.3926,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.249164, position (cm) = (-10.138,14.3693,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.22314, position (cm) = (-87.0741,31.8421,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.0893867, position (cm) = (-62.9806,122.356,500), weight = 1.52588e-05
anti_nu_e, kinetic energy (MeV) = 0.649351, position (cm) = (5.31158,-86.6273,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 2.54606, position (cm) = (-10.5364,-39.6364,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.26107, position (cm) = (-8.28456,-31.8466,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.02775, position (cm) = (-1.60209,-45.9322,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 3.91407, position (cm) = (-21.9166,-44.0902,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.39549, position (cm) = (72.8878,2.62233,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.122025, position (cm) = (37.8903,28.0937,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.674547, position (cm) = (43.7554,33.093,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.97727, position (cm) = (43.4939,33.1442,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 2.88947, position (cm) = (37.8895,69.5858,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 54.4958, position (cm) = (6.63019,-42.651,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 76.3588, position (cm) = (12.6757,-15.809,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.55298, position (cm) = (20.5428,2.45748,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 5.09317e-10, position (cm) = (12.532,-15.4038,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.108989, position (cm) = (58.9822,-20.5306,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.84594, position (cm) = (50.39,-115.927,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.80633, position (cm) = (-133.877,-41.9135,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.02402, position (cm) = (-118.201,-51.5983,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.82127, position (cm) = (-109.544,-41.427,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.174305, position (cm) = (-115.329,-16.5827,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 3.43468, position (cm) = (-130.139,-32.0476,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.18004, position (cm) = (-117.129,-40.1816,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.164584, position (cm) = (-84.9742,-0.473619,500), weight = 1.90735e-06
anti_nu_e, kinetic energy (MeV) = 0.650599, position (cm) = (-149.461,94.7487,500), weight = 1.52588e-05
gamma, kinetic energy (MeV) = 0.315942, position (cm) = (28.6314,-47.4486,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 6.62177, position (cm) = (17.8652,-26.4289,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 0.211548, position (cm) = (25.473,-100.758,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 38.4699, position (cm) = (21.5396,-92.4989,500), weight = 1.90735e-06
anti_nu_e, kinetic energy (MeV) = 0.538895, position (cm) = (81.5546,126.004,500), weight = 0.0078125
neutron, kinetic energy (MeV) = 72.271, position (cm) = (77.8619,-13.9864,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.311886, position (cm) = (91.9012,-11.799,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.75801, position (cm) = (47.5491,-32.7214,500), weight = 3.8147e-06
neutron, kinetic energy (MeV) = 5.35124e-10, position (cm) = (54.9761,-35.407,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 98.7395, position (cm) = (69.4406,-22.7563,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.6456, position (cm) = (-91.2626,100.753,500), weight = 7.62939e-06
gamma, kinetic energy (MeV) = 0.0807801, position (cm) = (-89.2485,86.7284,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 4.27082, position (cm) = (-145.864,88.8826,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.0688, position (cm) = (-57.2455,20.9665,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 0.29312, position (cm) = (21.0603,24.3199,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.197307, position (cm) = (16.9141,26.3471,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.91592, position (cm) = (21.1432,24.9508,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 4.47643, position (cm) = (26.9518,24.5477,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 8.70858e-05, position (cm) = (25.3886,8.26112,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 75.9225, position (cm) = (54.825,100.699,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 71.417, position (cm) = (33.0664,111.361,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 60.9414, position (cm) = (37.4655,83.9121,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 59.8743, position (cm) = (37.0271,92.0336,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 76.115, position (cm) = (38.2631,86.7332,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 76.115, position (cm) = (38.2631,86.7332,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.919046, position (cm) = (21.5814,22.7224,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 93.4714, position (cm) = (68.1227,5.6077,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 93.8943, position (cm) = (69.9136,-4.36477,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.59597, position (cm) = (66.2138,-81.0865,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.09084, position (cm) = (68.9064,-77.977,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 3.38778, position (cm) = (73.3805,-87.0967,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.192815, position (cm) = (84.4793,-81.1646,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.319204, position (cm) = (96.5198,-73.6991,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.575174, position (cm) = (87.3983,-85.5635,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.77551, position (cm) = (70.8488,-88.1301,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 2.25856, position (cm) = (88.4418,-84.5616,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.06334, position (cm) = (102.312,-82.587,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 8.29084e-09, position (cm) = (24.829,-59.7648,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 9.13678e-09, position (cm) = (-3.216,-61.4297,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.0601607, position (cm) = (-8.75873,-64.2293,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.286298, position (cm) = (-14.6289,-57.5788,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.510999, position (cm) = (-15.9853,-55.918,500), weight = 3.8147e-06
neutron, kinetic energy (MeV) = 4.04855e-05, position (cm) = (-12.4335,-51.2062,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.27376, position (cm) = (25.6896,-42.8573,500), weight = 3.8147e-06
neutron, kinetic energy (MeV) = 76.4747, position (cm) = (28.5911,-94.6531,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 75.4058, position (cm) = (25.0727,-100.252,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.262667, position (cm) = (-46.4422,-66.151,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 54.3912, position (cm) = (-18.9234,-71.2286,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 55.6515, position (cm) = (-13.5845,-74.6318,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 53.2039, position (cm) = (-2.80133,-61.5206,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 7.98435, position (cm) = (-33.1581,-89.0453,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 52.6364, position (cm) = (1.49634,-53.6192,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 98.2757, position (cm) = (-15.3714,-70.0738,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 58.2697, position (cm) = (-0.0955956,-79.6446,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.00386908, position (cm) = (-75.0342,-78.3196,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.49402, position (cm) = (-82.9911,-32.429,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.45599, position (cm) = (-78.5707,-135.49,500), weight = 1.90735e-06
e-, kinetic energy (MeV) = 2.88735, position (cm) = (-86.5961,-94.9886,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.0805363, position (cm) = (-40.6895,-73.4256,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.807243, position (cm) = (-51.3587,-80.4058,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.146194, position (cm) = (-70.8081,-63.1181,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.46954, position (cm) = (-72.6245,-62.5187,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 5.14907, position (cm) = (-70.7164,-63.06,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 30.2888, position (cm) = (-72.6235,-64.4321,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 7.57091, position (cm) = (-35.1138,-138.508,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 55.5537, position (cm) = (-22.4046,-99.2368,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 70.4872, position (cm) = (-31.8195,-86.2301,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.393332, position (cm) = (-26.9556,-91.5045,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.110055, position (cm) = (-31.3143,-94.8582,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 71.2695, position (cm) = (-29.3816,-95.678,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 97.2022, position (cm) = (-48.1275,-129.399,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 96.8288, position (cm) = (-46.836,-129.188,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 6.98923e-05, position (cm) = (-40.0422,-133.125,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.0133645, position (cm) = (-29.5677,-124.023,500), weight = 1.90735e-06
anti_nu_e, kinetic energy (MeV) = 0.363894, position (cm) = (102.527,16.699,500), weight = 0.000976562
neutron, kinetic energy (MeV) = 10.8393, position (cm) = (50.5729,-28.0688,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.000876398, position (cm) = (37.0328,-4.39526,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 69.6427, position (cm) = (53.7364,-36.6096,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 22.7299, position (cm) = (56.18,-28.0309,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.510999, position (cm) = (58.1197,-24.6589,500), weight = 3.8147e-06
neutron, kinetic energy (MeV) = 22.8283, position (cm) = (69.1625,14.4624,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 3.87082, position (cm) = (65.4846,13.4767,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 31.6541, position (cm) = (69.9779,20.1886,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.22306, position (cm) = (51.8111,-4.06962,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.344462, position (cm) = (79.6882,10.0014,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.178271, position (cm) = (78.1385,1.88155,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 3.30465, position (cm) = (75.7207,5.37194,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.568991, position (cm) = (73.123,-0.0998537,500), weight = 1.90735e-06
anti_nu_e, kinetic energy (MeV) = 0.383486, position (cm) = (11.0098,-59.4373,500), weight = 0.125
neutron, kinetic energy (MeV) = 66.2648, position (cm) = (-77.4867,41.3382,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.75444e-06, position (cm) = (-67.5993,39.2724,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 6.3113, position (cm) = (-61.514,38.2799,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 57.1454, position (cm) = (-69.8124,28.4152,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 3.8425e-05, position (cm) = (-11.288,0.320168,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.0769908, position (cm) = (-111.143,53.7887,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 3.46175, position (cm) = (-129.779,49.5467,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 2.53299e-07, position (cm) = (-139.419,19.6572,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.153519, position (cm) = (24.2661,-47.2739,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.440794, position (cm) = (48.3868,-83.0371,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.78488e-10, position (cm) = (-16.5344,-73.4691,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.22305, position (cm) = (15.7963,-89.0657,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.000205371, position (cm) = (57.2646,-65.3361,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 5.89286, position (cm) = (59.8023,-53.0483,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 37.3691, position (cm) = (61.5651,-58.2493,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.00126796, position (cm) = (76.9372,-53.1133,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.375133, position (cm) = (-116.583,-32.1782,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 2.13586e-06, position (cm) = (-96.4162,-22.1411,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 90.0313, position (cm) = (-147.396,-49.7653,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.00627007, position (cm) = (-145.909,-55.4906,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.288592, position (cm) = (-130.922,-61.7687,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.82615, position (cm) = (-109.079,-56.7285,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.299594, position (cm) = (-97.7299,-57.6802,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.80601, position (cm) = (-80.8346,-54.3323,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.50061, position (cm) = (-87.3445,-44.8825,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.18783, position (cm) = (-130.842,-22.6378,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.558356, position (cm) = (-116.984,-14.815,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.0523668, position (cm) = (-116.038,-14.9684,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.69907, position (cm) = (-86.4702,-38.3761,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 3.71142, position (cm) = (-106.424,-0.034702,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 3.15002, position (cm) = (-135.896,-50.7885,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.642868, position (cm) = (-148.358,-53.8673,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.11312, position (cm) = (-123.075,19.2167,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.98701, position (cm) = (-81.873,-73.8968,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 0.804967, position (cm) = (-101.342,-46.0489,500), weight = 7.62939e-06
neutron, kinetic energy (MeV) = 0.579868, position (cm) = (-115.689,-73.368,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.00198085, position (cm) = (-136.1,-71.6518,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 10.2737, position (cm) = (-115.519,-82.0957,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.03988, position (cm) = (-114.091,-40.034,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.56244, position (cm) = (-93.5798,-48.0084,500), weight = 3.8147e-06
neutron, kinetic energy (MeV) = 0.0565475, position (cm) = (-102.585,-35.8349,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 58.9524, position (cm) = (-109.943,-38.4112,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 75.3489, position (cm) = (-117.484,-71.2188,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.22305, position (cm) = (-96.9557,-44.4402,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 4.25032e-07, position (cm) = (-100.644,-68.1958,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 76.2919, position (cm) = (-89.4252,-77.3073,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 76.6358, position (cm) = (-103.858,-75.2861,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 2.86892, position (cm) = (-112.334,-111.411,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.362811, position (cm) = (-103.388,-97.3139,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.724684, position (cm) = (146.093,-3.89859,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.129804, position (cm) = (146.985,-2.79208,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 6.90022e-09, position (cm) = (135.354,-32.7062,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.89858, position (cm) = (135.692,16.7396,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 74.5539, position (cm) = (144.257,20.9958,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 35.9216, position (cm) = (33.33,-34.9402,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 36.4816, position (cm) = (28.9608,-54.6994,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 7.58119, position (cm) = (15.1701,-25.4465,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 0.114, position (cm) = (72.9073,-57.4084,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.118776, position (cm) = (75.0423,-61.5117,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.41205, position (cm) = (76.445,-53.2705,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.0986486, position (cm) = (75.4318,-60.1454,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.68053, position (cm) = (70.7695,-48.576,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.42893, position (cm) = (72.6343,-59.3099,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.69187, position (cm) = (73.4597,-57.5045,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.373032, position (cm) = (79.7159,-47.1042,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 52.9422, position (cm) = (53.1813,-61.4016,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 66.5968, position (cm) = (60.3501,-72.1035,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 2.27785e-08, position (cm) = (18.0925,-51.6879,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.983844, position (cm) = (46.6253,-34.4918,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.157567, position (cm) = (72.7682,-54.6024,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 29.3519, position (cm) = (44.0356,-34.4846,500), weight = 1.90735e-06
anti_nu_e, kinetic energy (MeV) = 0.173109, position (cm) = (139.675,44.5918,500), weight = 7.62939e-06
gamma, kinetic energy (MeV) = 0.228406, position (cm) = (94.3671,146.298,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.263284, position (cm) = (69.745,136.864,500), weight = 1.90735e-06
anti_nu_e, kinetic energy (MeV) = 0.710249, position (cm) = (144.668,42.9363,500), weight = 7.62939e-06
neutron, kinetic energy (MeV) = 2.43055, position (cm) = (122.871,54.2918,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.158979, position (cm) = (46.9506,2.18865,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.510971, position (cm) = (96.8146,10.8224,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.0860374, position (cm) = (119.641,68.4269,500), weight = 7.62939e-06
gamma, kinetic energy (MeV) = 2.71296, position (cm) = (79.3671,45.5809,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 26.6567, position (cm) = (144.166,59.818,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 5.19188, position (cm) = (94.5842,47.6394,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.02815, position (cm) = (99.051,75.64,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.138141, position (cm) = (77.5759,85.9509,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 85.8128, position (cm) = (87.1687,11.42,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 86.5832, position (cm) = (85.8308,8.26833,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.360125, position (cm) = (97.3329,10.8894,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 61.5387, position (cm) = (42.5856,-27,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.538727, position (cm) = (25.0797,-60.6342,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.30617, position (cm) = (26.6224,-18.3579,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.74322, position (cm) = (78.1503,37.4038,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 2.07321, position (cm) = (98.8931,46.9398,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.755723, position (cm) = (101.168,29.6595,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 3.08169, position (cm) = (99.9564,29.8371,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 7.63972, position (cm) = (101.284,31.8515,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.623861, position (cm) = (104.891,24.1234,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 6.16286, position (cm) = (107.432,25.4902,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.352436, position (cm) = (94.9416,19.3878,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.228489, position (cm) = (101.858,53.6874,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 1.32842, position (cm) = (121.407,24.0237,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 0.12791, position (cm) = (84.8958,107.654,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 0.135335, position (cm) = (92.1421,96.3727,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.000137685, position (cm) = (14.6681,-77.7446,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 38.9194, position (cm) = (26.0828,-82.1707,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.645876, position (cm) = (-85.0805,-7.44954,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 27.5531, position (cm) = (-86.7134,-7.56521,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 56.952, position (cm) = (-86.1049,-7.04001,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 10.1152, position (cm) = (54.5701,-125.095,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 6.51515, position (cm) = (53.3447,-129.685,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 42.5364, position (cm) = (40.782,-113.909,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 63.9441, position (cm) = (33.8672,-109.627,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 70.5771, position (cm) = (40.7574,-121.547,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.456475, position (cm) = (57.0204,-126.636,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.188669, position (cm) = (61.5331,-128.529,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 70.6888, position (cm) = (43.7053,-120.894,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 2.54316, position (cm) = (103.847,83.1907,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.56498, position (cm) = (91.1084,75.6191,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 9.4891, position (cm) = (85.0472,103.322,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.204337, position (cm) = (94.1532,98.0472,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.201407, position (cm) = (86.621,99.6015,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.448632, position (cm) = (86.5325,99.5573,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.22255, position (cm) = (89.1467,98.9378,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 3.0196, position (cm) = (92.9134,96.4784,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.0666748, position (cm) = (94.9297,91.868,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 14.2353, position (cm) = (90.2127,99.8596,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 94.1591, position (cm) = (92.4021,97.3271,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 52.3161, position (cm) = (100.533,113.532,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 53.0444, position (cm) = (99.4446,113.508,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 4.4651, position (cm) = (88.1379,103.664,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 2.31401, position (cm) = (90.1467,107.41,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.11935, position (cm) = (91.5156,104.114,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.155055, position (cm) = (86.8376,78.3023,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.510999, position (cm) = (112.757,109.725,500), weight = 7.62939e-06
gamma, kinetic energy (MeV) = 7.10982, position (cm) = (68.8226,141.034,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.69187, position (cm) = (99.6117,127.02,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 11.4566, position (cm) = (101.664,98.9505,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 94.0666, position (cm) = (67.6404,112.044,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.335615, position (cm) = (77.7281,114.556,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.000141714, position (cm) = (86.2076,118.314,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 6.87535, position (cm) = (97.176,108.707,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 5.89852, position (cm) = (-69.3182,-105.563,500), weight = 1.90735e-06
e-, kinetic energy (MeV) = 1.9959, position (cm) = (-67.3874,-103.777,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 29.1296, position (cm) = (-69.4857,-104.509,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 3.36925, position (cm) = (-88.5605,-81.5636,500), weight = 3.8147e-06
anti_nu_e, kinetic energy (MeV) = 0.61845, position (cm) = (72.165,-98.0343,500), weight = 1.52588e-05
gamma, kinetic energy (MeV) = 7.11014, position (cm) = (-102.246,-24.1149,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 0.94435, position (cm) = (-85.2043,-31.621,500), weight = 3.8147e-06
anti_nu_e, kinetic energy (MeV) = 0.36282, position (cm) = (-122.581,-149.407,500), weight = 1.52588e-05
neutron, kinetic energy (MeV) = 37.1935, position (cm) = (-142.921,-5.23051,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 63.025, position (cm) = (-143.631,-5.19333,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 64.988, position (cm) = (-126.354,-16.9852,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.257963, position (cm) = (-126.705,-17.6612,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.108036, position (cm) = (-126.96,-23.1202,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 3.67816, position (cm) = (-126.513,-15.3912,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.00852184, position (cm) = (-125.957,-24.8609,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.215741, position (cm) = (-120.592,-31.8277,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.092695, position (cm) = (-132.322,-22.3151,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.265432, position (cm) = (-124.33,-13.6087,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.30228, position (cm) = (-140.931,-27.9261,500), weight = 3.8147e-06
neutron, kinetic energy (MeV) = 39.3749, position (cm) = (94.4729,-133.877,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 76.8254, position (cm) = (67.4955,-128.06,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 77.124, position (cm) = (69.9686,-129.143,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.156465, position (cm) = (67.6021,-133.599,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.5529, position (cm) = (59.4137,-141.863,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 3.31426, position (cm) = (58.6544,-142,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.184589, position (cm) = (54.0867,-145.536,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 8.46006, position (cm) = (84.8573,-114.691,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.25624e-10, position (cm) = (78.5879,-100.791,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 49.1471, position (cm) = (84.5153,-70.9931,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 51.2589, position (cm) = (74.91,-71.6766,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 31.5985, position (cm) = (65.0315,-64.8793,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.0515182, position (cm) = (142.248,45.8354,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.09529, position (cm) = (146.536,48.1738,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 95.4713, position (cm) = (141.226,53.4104,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.24557, position (cm) = (-127.742,-104.819,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 36.79, position (cm) = (-138.634,-115.555,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 72.2504, position (cm) = (-141.159,-93.1872,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 72.5579, position (cm) = (-140.913,-94.8902,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.05168, position (cm) = (-12.9462,126.989,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.5247, position (cm) = (-20.9562,135.714,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 3.73226, position (cm) = (-35.4771,142.3,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.06413, position (cm) = (-38.3965,130.56,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.317041, position (cm) = (-2.92332,130.096,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 5.48604, position (cm) = (-11.4425,126.245,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.152241, position (cm) = (-18.8422,136.935,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 4.4164, position (cm) = (-125.139,-10.3513,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 44.8547, position (cm) = (-104.171,-22.3624,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.412068, position (cm) = (-86.2731,-46.1916,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.22306, position (cm) = (-58.2726,-46.8247,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.13162, position (cm) = (-57.7741,-13.5816,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.776457, position (cm) = (-49.6479,12.1087,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 61.6089, position (cm) = (-39.4718,-57.775,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 19.2365, position (cm) = (-34.9171,-90.9571,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.82441, position (cm) = (-90.6849,-44.3196,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.332748, position (cm) = (-67.1768,-19.3228,500), weight = 1.90735e-06
e-, kinetic energy (MeV) = 1.50132, position (cm) = (-84.5284,-18.1421,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 6.50582, position (cm) = (-89.7631,-43.1742,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.83212, position (cm) = (-98.9931,-44.9073,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 8.36095, position (cm) = (-97.4605,-44.1348,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 79.9852, position (cm) = (-89.645,-61.4992,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 95.7004, position (cm) = (-69.6367,-7.95281,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.679843, position (cm) = (-51.8838,-3.3617,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.24768, position (cm) = (-55.8577,-5.17102,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 23.3238, position (cm) = (-76.6704,-8.76938,500), weight = 1.90735e-06
anti_nu_e, kinetic energy (MeV) = 0.260792, position (cm) = (-96.9611,-0.289514,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 4.39336, position (cm) = (-48.6519,-82.5148,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.854435, position (cm) = (-82.174,-52.456,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 26.9307, position (cm) = (-65.1517,83.6487,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.819984, position (cm) = (-55.4243,78.7576,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.0990695, position (cm) = (-48.9119,70.0075,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.216129, position (cm) = (-61.8029,58.8491,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 5.69191, position (cm) = (-58.2566,60.7167,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 3.76374e-08, position (cm) = (44.4767,-120.188,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.386448, position (cm) = (23.5189,-134.348,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.91823, position (cm) = (15.7909,-149.279,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 1.38604, position (cm) = (-6.65479,-102.219,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 2.20522, position (cm) = (-24.674,-80.6052,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 97.0662, position (cm) = (3.38361,-125.296,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.153851, position (cm) = (2.83573,-125.308,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.0834357, position (cm) = (4.94401,-117.66,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 50.9544, position (cm) = (0.452419,-123.541,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.390243, position (cm) = (-6.70863,-132.767,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 51.1748, position (cm) = (-109.553,36.5736,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.49781, position (cm) = (-70.5698,64.6397,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 77.6892, position (cm) = (-96.0283,63.6286,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.276679, position (cm) = (-103.021,45.54,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.260951, position (cm) = (-100.149,67.9985,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.22306, position (cm) = (-115.831,13.7289,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.871832, position (cm) = (74.6117,-78.3763,500), weight = 3.8147e-06
gamma, kinetic energy (MeV) = 0.898757, position (cm) = (107.086,-67.5243,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 49.9585, position (cm) = (47.002,-52.5329,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 62.7744, position (cm) = (54.7547,-61.9445,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.237743, position (cm) = (51.4288,-67.312,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.000878912, position (cm) = (60.445,-71.8293,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.77257, position (cm) = (51.0855,-67.9572,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 5.70554, position (cm) = (78.4336,-99.7963,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 62.2443, position (cm) = (63.8074,-56.116,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.0849279, position (cm) = (61.6097,-54.9931,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.239847, position (cm) = (70.9079,-46.6492,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.000147633, position (cm) = (65.3418,-56.9603,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.5455, position (cm) = (55.4173,-55.4074,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.181063, position (cm) = (1.97059,-133.41,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 68.646, position (cm) = (0.249097,-145.563,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 85.6814, position (cm) = (1.51221,-148.439,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.89056, position (cm) = (66.5025,-60.3198,500), weight = 3.8147e-06
neutron, kinetic energy (MeV) = 50.9857, position (cm) = (81.9766,-81.7224,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 53.3905, position (cm) = (84.2862,-73.4229,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.25659, position (cm) = (130.645,-40.3386,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.22306, position (cm) = (23.3726,-76.0943,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.766647, position (cm) = (62.0579,-59.6416,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 6.04261, position (cm) = (81.4855,-103.81,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 21.4069, position (cm) = (79.2581,-101.237,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.33209, position (cm) = (87.4053,-85.6185,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 4.49963, position (cm) = (85.5964,-107.99,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.335604, position (cm) = (86.3862,29.0784,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 78.4978, position (cm) = (124.999,-17.9929,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 3.3916, position (cm) = (87.0869,-21.9541,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.57221, position (cm) = (121.741,-27.8218,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.02791, position (cm) = (120.117,-10.9867,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.57233, position (cm) = (116.457,-14.1708,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 2.15696, position (cm) = (111.365,-14.2976,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 93.4378, position (cm) = (103.736,-35.2956,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 93.8306, position (cm) = (101.021,-30.856,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 0.000260469, position (cm) = (137.732,-4.51145,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.87663, position (cm) = (135.432,-22.8477,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 58.4712, position (cm) = (125.81,-19.4838,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 93.8836, position (cm) = (128.4,-19.1801,500), weight = 1.90735e-06
neutron, kinetic energy (MeV) = 23.0484, position (cm) = (90.9595,-24.7167,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.27334, position (cm) = (141.784,-25.4562,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 0.410168, position (cm) = (145.152,-24.9951,500), weight = 1.90735e-06
gamma, kinetic energy (MeV) = 1.57218, position (cm) = (138.231,-22.5114,500), weight = 1.90735e-06
Graphics systems deleted.
Visualization Manager deleting...
@@ -1,4 +1,4 @@
$Id: History 107258 2017-11-07 09:58:16Z gcosmo $
$Id: History 110378 2018-05-22 07:43:50Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,11 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 20, 2018 J.Allison (ReverseMC01-V10-04-00)
- Add #include "G4Types.hh"
- Remove G4UI_USE and G4VIS_USE.
- Move instantiation of G4UIExecutive nearer to start of main.
Nov 6, 2017 V.Ivanchenko (ReverseMC01-V10-03-01)
- G4AdjointPhysicsList - use SetEmModel(..) instead of AddEmModel
where possible in order to remove initialisation warning
@@ -27,7 +27,7 @@
/// \brief Main program of the biasing/ReverseMC01 example
//
//
// $Id: exampleRMC01.cc 101303 2016-11-14 11:21:18Z gcosmo $
// $Id: exampleRMC01.cc 110378 2018-05-22 07:43:50Z gcosmo $
//
//
// --------------------------------------------------------------
@@ -43,18 +43,15 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4Types.hh"
#include "G4RunManager.hh"
#include "G4UImanager.hh"
#include "Randomize.hh"
#ifdef G4VIS_USE
#include "G4VisExecutive.hh"
#endif
#ifdef G4UI_USE
#include "G4UIExecutive.hh"
#endif
#include "G4AdjointSimManager.hh"
#include "RMC01DetectorConstruction.hh"
@@ -70,8 +67,12 @@
int main(int argc,char** argv) {
// Instantiate G4UIExecutive if interactive mode
G4UIExecutive* ui = nullptr;
if ( argc == 1 ) {
ui = new G4UIExecutive(argc, argv);
}
// Construct the default run manager
G4RunManager * theRunManager = new G4RunManager;
@@ -101,17 +102,14 @@ int main(int argc,char** argv) {
//theAdjointSimManager->SetAdjointEventAction(new RMC01AdjointEventAction);
theAdjointSimManager->SetAdjointEventAction(new RMC01EventAction);
#ifdef G4VIS_USE
// visualization manager
G4VisManager* visManager = new G4VisExecutive;
visManager->Initialize();
#endif
// get the pointer to the User Interface manager
G4UImanager* UImanager = G4UImanager::GetUIpointer();
if (argc!=1) // batch mode
if (!ui) // batch mode
{
G4String command = "/control/execute ";
G4String fileName = argv[1];
@@ -119,17 +117,12 @@ int main(int argc,char** argv) {
}
else
{ // interactive mode : define UI session
#ifdef G4UI_USE
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
ui->SessionStart();
delete ui;
#endif
}
// job termination
#ifdef G4VIS_USE
delete visManager;
#endif
delete theRunManager;
return 0;
@@ -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
@@ -321,11 +321,11 @@ nb event 175000
1% Precision reached!
Run terminated.
Run Summary
Run Aborted after 176814 events processed.
User=118.73s Real=125.33s Sys=0.1s
Run Aborted after 175384 events processed.
User=89.130000s Real=89.553164s Sys=0.070000s
Results of reverse/adjoint simulation!
normalised edep [MeV] = 0.00168653
error[MeV] = 1.68652e-05
normalised edep [MeV] = 0.00162731
error[MeV] = 1.62731e-05
----> Histogram Tree is saved in adjoint_sim.root
Graphics systems deleted.
@@ -333,6 +333,6 @@ Visualization Manager deleting...
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 12 of which, static: 1
Dynamic pools deleted: 11 / Total memory freed: 29 MB
Dynamic pools deleted: 11 / Total memory freed: 28 MB
============================================================
RunManagerKernel is deleted. Good bye :)