Import Geant4 10.5.0.beta source tree
This commit is contained in:
@@ -8,6 +8,10 @@ $Id: History,v 1.24 2010-11-18 11:48:21 allison Exp $
|
||||
|
||||
Package History file
|
||||
--------------------
|
||||
10 May 2018 - B. Morgan - microelectronics-V10-04-00
|
||||
- Include G4Types before use of G4MULTITHREADED. For forward
|
||||
compatibility with move to #defines over -D for G4 preprocessor
|
||||
symbols.
|
||||
|
||||
2 November 2016 - L. Garnier - microelectronics-V10-02-03
|
||||
- Remove icons.mac. Automatically include since interfaces-V10-02-07
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
#include "G4Types.hh"
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
#include "G4MTRunManager.hh"
|
||||
#else
|
||||
@@ -49,7 +51,7 @@
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
int main(int argc,char** argv)
|
||||
int main(int argc,char** argv)
|
||||
{
|
||||
G4UIExecutive* session = NULL;
|
||||
if (argc==1) // Define UI session for interactive mode.
|
||||
@@ -58,11 +60,11 @@ int main(int argc,char** argv)
|
||||
}
|
||||
|
||||
// Choose the Random engine
|
||||
|
||||
|
||||
G4Random::setTheEngine(new CLHEP::RanecuEngine);
|
||||
|
||||
// Construct the default run manager
|
||||
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
G4MTRunManager* runManager = new G4MTRunManager;
|
||||
// runManager->SetNumberOfThreads(2); // Is equal to 2 by default
|
||||
@@ -73,20 +75,20 @@ int main(int argc,char** argv)
|
||||
// Set mandatory user initialization classes
|
||||
DetectorConstruction* detector = new DetectorConstruction;
|
||||
runManager->SetUserInitialization(detector);
|
||||
|
||||
|
||||
runManager->SetUserInitialization(new PhysicsList);
|
||||
|
||||
|
||||
// User action initialization
|
||||
runManager->SetUserInitialization(new ActionInitialization(detector));
|
||||
|
||||
|
||||
// Initialize G4 kernel
|
||||
runManager->Initialize();
|
||||
|
||||
|
||||
G4VisManager* visManager = new G4VisExecutive;
|
||||
visManager->Initialize();
|
||||
|
||||
// Get the pointer to the User Interface manager
|
||||
G4UImanager* UImanager = G4UImanager::GetUIpointer();
|
||||
|
||||
// Get the pointer to the User Interface manager
|
||||
G4UImanager* UImanager = G4UImanager::GetUIpointer();
|
||||
|
||||
if (argc==1) // Define UI session for interactive mode.
|
||||
{
|
||||
@@ -95,7 +97,7 @@ int main(int argc,char** argv)
|
||||
delete session;
|
||||
}
|
||||
else // Batch mode
|
||||
{
|
||||
{
|
||||
G4String command = "/control/execute ";
|
||||
G4String fileName = argv[1];
|
||||
UImanager->ApplyCommand(command+fileName);
|
||||
|
||||
@@ -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
|
||||
@@ -192,13 +192,13 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
|
||||
Total memory consumed for geometry optimisation: 0 kByte
|
||||
Total CPU time elapsed for geometry optimisation: 0 seconds
|
||||
### Run 0 starts.
|
||||
##### Create analysis manager 0x9000d0
|
||||
##### Create analysis manager 0x1e87ee0
|
||||
Using Root analysis manager
|
||||
... open Root analysis file : microelectronics.root - done
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 1
|
||||
User=0.01s Real=0s Sys=0s
|
||||
User=0.000000s Real=0.003147s Sys=0.010000s
|
||||
... write Root file : microelectronics.root - done
|
||||
... close Root file : microelectronics.root - done
|
||||
Number and type of particles created outside region "Target" :
|
||||
@@ -245,13 +245,13 @@ Index : 1 used in the geometry : Yes
|
||||
====================================================================
|
||||
|
||||
### Run 1 starts.
|
||||
##### Create analysis manager 0x9000d0
|
||||
##### Create analysis manager 0x1e87ee0
|
||||
Using Root analysis manager
|
||||
... open Root analysis file : microelectronics.root - done
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 1
|
||||
User=0s Real=0s Sys=0s
|
||||
User=0.000000s Real=0.000048s Sys=0.000000s
|
||||
... write Root file : microelectronics.root - done
|
||||
... close Root file : microelectronics.root - done
|
||||
Number and type of particles created outside region "Target" :
|
||||
|
||||
Reference in New Issue
Block a user