Import Geant4 10.5.0.beta source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$Id: History 100650 2016-10-31 10:09:46Z gcosmo $
|
||||
$Id: History 109976 2018-05-14 07:11:12Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -17,6 +17,11 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
10.05.2018 B.Morgan, tag xraytel-V10-04-00
|
||||
Include G4Types before use of G4MULTITHREADED. For forward
|
||||
compatibility with move to #defines over -D for G4 preprocessor
|
||||
symbols.
|
||||
|
||||
28.11.2016 G.Folger, tag xraytel-V10-02-00
|
||||
Remove direct use of theParticleIterator, use GetParticleTableIterator().
|
||||
fix required by clang39 on Linux and MAC
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
// * *
|
||||
// * GEANT 4 xray_telescope advanced example *
|
||||
// * *
|
||||
// * MODULE: XrayTel.cc main file *
|
||||
// * MODULE: XrayTel.cc main file *
|
||||
// * ------- *
|
||||
// * *
|
||||
// * Version: 0.4 *
|
||||
@@ -41,14 +41,14 @@
|
||||
// HISTORY
|
||||
// -------
|
||||
//
|
||||
// The development of this advanced example is based on earlier work
|
||||
// The development of this advanced example is based on earlier work
|
||||
// carried out by a team of Geant4 collaborators to simulate the Chandra
|
||||
// and XMM X-ray observatories. The authors involved in those models are
|
||||
// J Apostolakis, P Arce, S Giani, F Lei, R Nartallo, S Magni,
|
||||
// P Truscott, L Urban
|
||||
//
|
||||
// **********************************************************************
|
||||
//
|
||||
//
|
||||
// CHANGE HISTORY
|
||||
// --------------
|
||||
//
|
||||
@@ -63,8 +63,8 @@
|
||||
// - Implementation of analysis manager code for histograming
|
||||
//
|
||||
// 15.11.2000 R. Nartallo
|
||||
// - Minor changes proposed by F. Lei to implement the GPS module now
|
||||
// replacing the standard particle gun
|
||||
// - Minor changes proposed by F. Lei to implement the GPS module now
|
||||
// replacing the standard particle gun
|
||||
// - Remove commented lines related to old histograming code
|
||||
//
|
||||
// 06.11.2000 R.Nartallo
|
||||
@@ -75,6 +75,8 @@
|
||||
//
|
||||
// **********************************************************************
|
||||
|
||||
#include "G4Types.hh"
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
#include "G4MTRunManager.hh"
|
||||
#else
|
||||
@@ -113,32 +115,32 @@ int main( int argc, char** argv )
|
||||
#ifdef G4VIS_USE
|
||||
// visualization manager
|
||||
G4VisManager* visManager = new G4VisExecutive;
|
||||
visManager->Initialize();
|
||||
visManager->Initialize();
|
||||
#endif
|
||||
|
||||
//Initialize G4 kernel
|
||||
runManager->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 ){
|
||||
#ifdef G4UI_USE
|
||||
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
|
||||
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
|
||||
#ifdef G4VIS_USE
|
||||
UImanager->ApplyCommand("/control/execute vis.mac");
|
||||
#endif
|
||||
UImanager->ApplyCommand("/control/execute vis.mac");
|
||||
#endif
|
||||
ui->SessionStart();
|
||||
delete ui;
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
// Create a pointer to the User Interface manager
|
||||
// Create a pointer to the User Interface manager
|
||||
G4String command = "/control/execute ";
|
||||
for (int i=2; i<=argc; i++) {
|
||||
G4String macroFileName = argv[i-1];
|
||||
UImanager->ApplyCommand(command+macroFileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// job termination
|
||||
#ifdef G4VIS_USE
|
||||
|
||||
@@ -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
|
||||
@@ -74,8 +74,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
|
||||
|
||||
msc: for e- SubType= 10
|
||||
RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1
|
||||
@@ -380,7 +380,7 @@ Opening output file xraytel ... done
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 1000
|
||||
User=0.03s Real=0.03s Sys=0s
|
||||
User=0.010000s Real=0.013161s Sys=0.000000s
|
||||
##########################################
|
||||
WARNING: command "/vis/viewer/update" could not be applied: no current viewer.
|
||||
Graphics systems deleted.
|
||||
|
||||
Reference in New Issue
Block a user