Import Geant4 9.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:37:50 +02:00
parent a8e9364cea
commit 96c8bcd0af
6923 changed files with 198390 additions and 41849 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.58 2007/06/14 10:06:20 gcosmo Exp $
$Id: History,v 1.60 2007/07/02 13:28:34 vnivanch Exp $
-------------------------------------------------------------------
=========================================================
@@ -14,6 +14,10 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
02-07-07 V.Ivant (exampleN04-V09-00-00)
25-06-07 mma (exampleN04-V08-03-01)
- cosmetic in exampleN04.cc
14-06-07 G.Cosmo (exampleN04-V08-03-00)
- Delete materials and elements when quitting application.
+20 -52
View File
@@ -1,45 +1,15 @@
*************************************************************
Geant4 version Name: geant4-09-00-cand-03 (29-June-2007)
Geant4 version Name: global-V09-00-02 (14-December-2007)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
*************************************************************
<<< Geant4 Physics List engine packaging library: PACK 5.3
<<< Geant4 Physics List engine packaging library: PACK 5.4
<<< Geant4 Physics List simulation engine: QGSP 3.3
Visualization Manager instantiating...
Visualization Manager initialising...
Registering graphics systems...
You have successfully registered the following graphics systems.
Current available graphics systems are:
ASCIITree (ATree)
DAWNFILE (DAWNFILE)
G4HepRep (HepRepXML)
G4HepRepFile (HepRepFile)
RayTracer (RayTracer)
VRML1FILE (VRML1FILE)
VRML2FILE (VRML2FILE)
Registering model factories...
You have successfully registered the following model factories.
Registered model factories:
generic
drawByCharge
drawByParticleID
drawByOriginVolume
drawByAttribute
Registered filter factories:
chargeFilter
particleFilter
originVolumeFilter
attributeFilter
### Adding Neutron tracking cut for neutron
### cut value is 10 microseconds
@@ -66,7 +36,7 @@ eIoni: tables are built for e-
Lambda tables from threshold to 100 TeV in 120 bins.
Delta cross sections and sampling from MollerBhabha model
Good description from 1 KeV to 100 GeV.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
eBrem: tables are built for e-
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -79,7 +49,7 @@ eIoni: tables are built for e+
Lambda tables from threshold to 100 TeV in 120 bins.
Delta cross sections and sampling from MollerBhabha model
Good description from 1 KeV to 100 GeV.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
eBrem: tables are built for e+
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -102,7 +72,7 @@ hIoni: tables are built for proton
Scaling relation is used from proton dE/dx and range.
Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
Parametrisation from Bragg for protons below.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
msc: Model variant of multiple scattering for GenericIon
LateralDisplacementFlag= 0 Skin= 0
@@ -116,7 +86,7 @@ ionIoni: tables are built for GenericIon
Parametrisation from BraggIon for protons below. NuclearStopping 1
Stopping Power data for 8 ion/material pairs are used.
Step function: finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1
Step function: finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1
hIoni: tables are built for anti_proton
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -124,7 +94,7 @@ hIoni: tables are built for anti_proton
Scaling relation is used from proton dE/dx and range.
Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
Parametrisation from Bragg for protons below.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
msc: Model variant of multiple scattering for mu+
Lambda tables from 100 eV to 100 TeV in 120 bins.
@@ -136,7 +106,7 @@ muIoni: tables are built for mu+
Lambda tables from threshold to 100 TeV in 120 bins.
Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below,
radiative corrections for E > 1 GeV
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
muBrems: tables are built for mu+
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -153,7 +123,7 @@ muIoni: tables are built for mu-
Lambda tables from threshold to 100 TeV in 120 bins.
Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below,
radiative corrections for E > 1 GeV
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
muBrems: tables are built for mu-
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -173,7 +143,7 @@ hIoni: tables are built for pi+
Scaling relation is used from proton dE/dx and range.
Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV
Parametrisation from Bragg for protons below.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
msc: Model variant of multiple scattering for pi-
Lambda tables from 100 eV to 100 TeV in 120 bins.
@@ -186,29 +156,27 @@ hIoni: tables are built for pi-
Scaling relation is used from proton dE/dx and range.
Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV
Parametrisation from Bragg for protons below.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
### Run 0 start.
Stage 0->1 : 1 hits found in the muon chamber.
Stage 1->2 : 1 isolated muon found.
>>> Event 0
6 hits are stored in ExN04TrackerHitsCollection.
5 hits are stored in ExN04CalorimeterHitsCollection.
Total energy deposition in calorimeter : 0.23087518 (GeV)
54 hits are stored in ExN04TrackerHitsCollection.
7 hits are stored in ExN04CalorimeterHitsCollection.
Total energy deposition in calorimeter : 0.34645851 (GeV)
1 hits are stored in ExN04MuonHitsCollection.
### Run 1 start.
Stage 0->1 : 1 hits found in the muon chamber.
Stage 1->2 : 1 isolated muon found.
>>> Event 0
5 hits are stored in ExN04TrackerHitsCollection.
45 hits are stored in ExN04CalorimeterHitsCollection.
Total energy deposition in calorimeter : 31.077301 (GeV)
41 hits are stored in ExN04TrackerHitsCollection.
16 hits are stored in ExN04CalorimeterHitsCollection.
Total energy deposition in calorimeter : 4.3373563 (GeV)
1 hits are stored in ExN04MuonHitsCollection.
Stage 0->1 : 1 hits found in the muon chamber.
Stage 1->2 : 1 isolated muon found.
>>> Event 1
5 hits are stored in ExN04TrackerHitsCollection.
28 hits are stored in ExN04CalorimeterHitsCollection.
Total energy deposition in calorimeter : 15.454959 (GeV)
186 hits are stored in ExN04TrackerHitsCollection.
12 hits are stored in ExN04CalorimeterHitsCollection.
Total energy deposition in calorimeter : 2.0797183 (GeV)
1 hits are stored in ExN04MuonHitsCollection.
Graphics systems deleted.
Visualization Manager deleting...
+37 -36
View File
@@ -24,13 +24,12 @@
// ********************************************************************
//
//
// $Id: exampleN04.cc,v 1.14 2006/12/08 09:34:14 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: exampleN04.cc,v 1.16 2007/07/02 13:28:34 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
//
// --------------------------------------------------------------
// GEANT 4 - exampleN04
// --------------------------------------------------------------
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4RunManager.hh"
#include "G4UImanager.hh"
@@ -69,13 +68,6 @@ int main(int argc,char** argv)
//
G4VUserPhysicsList* physics = new QGSP;
runManager->SetUserInitialization(physics);
#ifdef G4VIS_USE
// Visualization, if you choose to have it!
//
G4VisManager* visManager = new G4VisExecutive;
visManager->Initialize();
#endif
runManager->Initialize();
@@ -100,37 +92,46 @@ int main(int argc,char** argv)
runManager->SetUserAction(stepping_action);
//get the pointer to the User Interface manager
G4UImanager* UImanager = G4UImanager::GetUIpointer();
G4UImanager* UI = G4UImanager::GetUIpointer();
if(argc==1) // Define (G)UI terminal for interactive mode
{
// G4UIterminal is a (dumb) terminal
//
#ifdef G4UI_USE_TCSH
G4UIsession* session = new G4UIterminal(new G4UItcsh);
#else
G4UIsession* session = new G4UIterminal();
if (argc!=1) // batch mode
{
G4String command = "/control/execute ";
G4String fileName = argv[1];
UI->ApplyCommand(command+fileName);
}
else // interactive mode : define visualization and UI terminal
{
#ifdef G4VIS_USE
G4VisManager* visManager = new G4VisExecutive;
visManager->Initialize();
#endif
UImanager->ApplyCommand("/control/execute vis.mac");
session->SessionStart();
delete session;
}
else // Batch mode
{
G4String command = "/control/execute ";
G4String fileName = argv[1];
UImanager->ApplyCommand(command+fileName);
}
G4UIsession * session = 0;
#ifdef G4UI_USE_TCSH
session = new G4UIterminal(new G4UItcsh);
#else
session = new G4UIterminal();
#endif
UI->ApplyCommand("/control/execute vis.mac");
session->SessionStart();
delete session;
#ifdef G4VIS_USE
delete visManager;
#endif
}
// Job termination
// Free the store: user actions, physics_list and detector_description are
// owned and deleted by the run manager, so they should not
// be deleted in the main() program !
#ifdef G4VIS_USE
delete visManager;
#endif
delete runManager;
delete verbosity;
return 0;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
+19 -51
View File
@@ -1,48 +1,18 @@
*************************************************************
Geant4 version Name: geant4-09-00-cand-03 (29-June-2007)
Geant4 version Name: global-V09-00-02 (14-December-2007)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
*************************************************************
<<< Geant4 Physics List engine packaging library: PACK 5.3
<<< Geant4 Physics List engine packaging library: PACK 5.4
<<< Geant4 Physics List simulation engine: QGSP 3.3
Visualization Manager instantiating...
Visualization Manager initialising...
Registering graphics systems...
You have successfully registered the following graphics systems.
Current available graphics systems are:
ASCIITree (ATree)
DAWNFILE (DAWNFILE)
G4HepRep (HepRepXML)
G4HepRepFile (HepRepFile)
RayTracer (RayTracer)
VRML1FILE (VRML1FILE)
VRML2FILE (VRML2FILE)
Registering model factories...
You have successfully registered the following model factories.
Registered model factories:
generic
drawByCharge
drawByParticleID
drawByOriginVolume
drawByAttribute
Registered filter factories:
chargeFilter
particleFilter
originVolumeFilter
attributeFilter
### Adding Neutron tracking cut for neutron
### cut value is 10 microseconds
/run/verbose 1
/run/verbose 1
/tracking/verbose 0
/run/beamOn 3
@@ -69,7 +39,7 @@ eIoni: tables are built for e-
Lambda tables from threshold to 100 TeV in 120 bins.
Delta cross sections and sampling from MollerBhabha model
Good description from 1 KeV to 100 GeV.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
eBrem: tables are built for e-
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -82,7 +52,7 @@ eIoni: tables are built for e+
Lambda tables from threshold to 100 TeV in 120 bins.
Delta cross sections and sampling from MollerBhabha model
Good description from 1 KeV to 100 GeV.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
eBrem: tables are built for e+
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -105,7 +75,7 @@ hIoni: tables are built for proton
Scaling relation is used from proton dE/dx and range.
Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
Parametrisation from Bragg for protons below.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
msc: Model variant of multiple scattering for GenericIon
LateralDisplacementFlag= 0 Skin= 0
@@ -119,7 +89,7 @@ ionIoni: tables are built for GenericIon
Parametrisation from BraggIon for protons below. NuclearStopping 1
Stopping Power data for 8 ion/material pairs are used.
Step function: finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1
Step function: finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1
hIoni: tables are built for anti_proton
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -127,7 +97,7 @@ hIoni: tables are built for anti_proton
Scaling relation is used from proton dE/dx and range.
Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
Parametrisation from Bragg for protons below.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
msc: Model variant of multiple scattering for mu+
Lambda tables from 100 eV to 100 TeV in 120 bins.
@@ -139,7 +109,7 @@ muIoni: tables are built for mu+
Lambda tables from threshold to 100 TeV in 120 bins.
Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below,
radiative corrections for E > 1 GeV
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
muBrems: tables are built for mu+
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -156,7 +126,7 @@ muIoni: tables are built for mu-
Lambda tables from threshold to 100 TeV in 120 bins.
Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below,
radiative corrections for E > 1 GeV
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
muBrems: tables are built for mu-
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -176,7 +146,7 @@ hIoni: tables are built for pi+
Scaling relation is used from proton dE/dx and range.
Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV
Parametrisation from Bragg for protons below.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
msc: Model variant of multiple scattering for pi-
Lambda tables from 100 eV to 100 TeV in 120 bins.
@@ -189,7 +159,7 @@ hIoni: tables are built for pi-
Scaling relation is used from proton dE/dx and range.
Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV
Parametrisation from Bragg for protons below.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
========= Table of registered couples ==============================
@@ -235,9 +205,9 @@ Start Run processing.
Stage 0->1 : 1 hits found in the muon chamber.
Stage 1->2 : 1 isolated muon found.
>>> Event 0
70 hits are stored in ExN04TrackerHitsCollection.
38 hits are stored in ExN04CalorimeterHitsCollection.
Total energy deposition in calorimeter : 0.64504905 (GeV)
126 hits are stored in ExN04TrackerHitsCollection.
30 hits are stored in ExN04CalorimeterHitsCollection.
Total energy deposition in calorimeter : 0.48844005 (GeV)
1 hits are stored in ExN04MuonHitsCollection.
Stage 0->1 : 0 hits found in the muon chamber.
++++++++ event aborted
@@ -249,14 +219,12 @@ Stage 0->1 : 0 hits found in the muon chamber.
Stage 0->1 : 1 hits found in the muon chamber.
Stage 1->2 : 1 isolated muon found.
>>> Event 2
42 hits are stored in ExN04TrackerHitsCollection.
25 hits are stored in ExN04CalorimeterHitsCollection.
Total energy deposition in calorimeter : 0.55887322 (GeV)
79 hits are stored in ExN04TrackerHitsCollection.
22 hits are stored in ExN04CalorimeterHitsCollection.
Total energy deposition in calorimeter : 0.50393446 (GeV)
1 hits are stored in ExN04MuonHitsCollection.
Run terminated.
Run Summary
Number of events processed : 3
User=10.12s Real=10.7s Sys=0.23s
Graphics systems deleted.
Visualization Manager deleting...
User=6.92s Real=7.44s Sys=0.15s
G4 kernel has come to Quit state.
@@ -25,7 +25,7 @@
//
//
// $Id: ExN04RunAction.hh,v 1.5 2006/06/29 17:49:56 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -25,7 +25,7 @@
//
//
// $Id: ExN04SteppingVerbose.hh,v 1.2 2006/06/29 17:50:08 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// This class manages the verbose outputs in G4SteppingManager.
// It inherits from G4SteppingVerbose.
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: ExN04RunAction.cc,v 1.5 2006/06/29 17:51:44 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -25,7 +25,7 @@
//
//
// $Id: ExN04SteppingVerbose.cc,v 1.4 2006/06/29 17:51:55 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......