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
@@ -1,4 +1,4 @@
$Id: History 101309 2016-11-14 11:26:17Z gcosmo $
$Id: History 109304 2018-04-10 06:57:03Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -15,6 +15,12 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
07-04-18 m. maire (testem10-V10-04-01)
- testem10.cc : set visualiation only in interactive mode
19-03-18 m. maire (testem10-V10-04-00)
- testem10.cc : remove G4UI_USE and G4VIS_USE
10-11-16 V.Ivanchenko (testem10-V10-02-03)
- DetectorConstruction, DetectorSimpleALICE - removed run time
warning by proper definition cuts per region
@@ -27,7 +27,7 @@
/// \brief Main program of the electromagnetic/TestEm10 example
//
//
// $Id: TestEm10.cc 98276 2016-07-04 18:00:15Z gcosmo $
// $Id: TestEm10.cc 109304 2018-04-10 06:57:03Z gcosmo $
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -44,29 +44,25 @@
#include "EventAction.hh"
#include "StackingAction.hh"
#ifdef G4VIS_USE
#include "G4VisExecutive.hh"
#endif
#ifdef G4UI_USE
#include "G4UIExecutive.hh"
#endif
#include "G4VisExecutive.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
int main(int argc,char** argv)
{
//choose the Random engine
//detect interactive mode (if no arguments) and define UI session
G4UIExecutive* ui = nullptr;
if (argc == 1) ui = new G4UIExecutive(argc,argv);
//choose the Random engine
CLHEP::HepRandom::setTheEngine(new CLHEP::RanecuEngine);
// Construct the default run manager
//construct the default run manager
G4RunManager * runManager = new G4RunManager;
// set mandatory initialization classes
//set mandatory initialization classes
DetectorConstruction* detector;
detector = new DetectorConstruction;
@@ -75,8 +71,8 @@ int main(int argc,char** argv)
runManager->SetUserInitialization(detector);
runManager->SetUserInitialization(new PhysicsList(detector));
// set user action classes
//set user action classes
runManager->SetUserAction(new PrimaryGeneratorAction());
RunAction* runAction = new RunAction;
@@ -87,39 +83,29 @@ int main(int argc,char** argv)
runManager->SetUserAction( new StackingAction );
//initialize visualization
G4VisManager* visManager = nullptr;
G4UImanager* UI = G4UImanager::GetUIpointer();
//get the pointer to the User Interface manager
G4UImanager* UImanager = G4UImanager::GetUIpointer();
if (argc!=1) // batch mode
{
G4String command = "/control/execute ";
G4String fileName = argv[1];
UI->ApplyCommand(command+fileName);
}
else //define visualization and UI terminal for interactive mode
{
#ifdef G4VIS_USE
G4VisManager* visManager = new G4VisExecutive;
if (ui) {
//interactive mode
visManager = new G4VisExecutive;
visManager->Initialize();
#endif
#ifdef G4UI_USE
G4UIExecutive * ui = new G4UIExecutive(argc,argv);
ui->SessionStart();
delete ui;
#endif
#ifdef G4VIS_USE
delete visManager;
#endif
}
// job termination
//
delete runManager;
ui->SessionStart();
delete ui;
}
else {
//batch mode
G4String command = "/control/execute ";
G4String fileName = argv[1];
UImanager->ApplyCommand(command+fileName);
}
return 0;
//job termination
delete visManager;
delete runManager;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-04-patch-02 (25-May-2018)
Geant4 version Name: geant4-10-05-beta-01 (29-June-2018)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -50,8 +50,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
@@ -139,13 +139,13 @@ Lorentz Factor XTR photon number
8.085e+04 3.156
9.283e+04 3.157
total time for build X-ray TR energy loss tables = 0.17 s
total time for build X-ray TR energy loss tables = 0.14 s
Build angle for energy distribution according the current radiator
Lorentz Factor XTR photon number
total time for build XTR angle for given energy tables = 0.13 s
total time for build XTR angle for given energy tables = 0.11 s
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1
@@ -231,7 +231,7 @@ Lorentz Factor XTR photon number
8.085e+04 3.156
9.283e+04 3.157
total time for build X-ray TR energy loss tables = 0.15 s
total time for build X-ray TR energy loss tables = 0.14 s
Build angle for energy distribution according the current radiator
Lorentz Factor XTR photon number
@@ -561,16 +561,16 @@ Index : 2 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 1000
User=0.27s Real=0.28s Sys=0s
User=0.320000s Real=0.327733s Sys=0.000000s
================== run summary =====================
End of Run TotNbofEvents = 1000
Mean energy deposit in absorber = 0.0491746 +-0.0185795 MeV
Total number of XTR gammas = 2766
Total number of all gammas = 2860
Mean energy deposit in absorber = 0.0480871 +-0.0188945 MeV
Total number of XTR gammas = 2724
Total number of all gammas = 2826
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1408944608, 622160001
Current couple of seeds = 957985447, 893740337
----------------------------------------
... write Root file : testem10.root - done
... close Root file : testem10.root - done