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
+7 -15
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
@@ -79,8 +79,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
@@ -447,8 +447,7 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 1 GeV ---> 5 GeV
Model: Binary Cascade: 0 eV ---> 1.5 GeV
Cr_sctns: G4NeutronInelasticXS: 0 eV ---> 100 TeV
Cr_sctns: GheishaInelastic: 0 eV ---> 100 TeV
Cr_sctns: G4ParticleInelasticXS: 0 eV ---> 100 TeV
Process: nCapture
Model: nRadCapture: 0 eV ---> 100 TeV
@@ -689,13 +688,11 @@ 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
Model: BertiniCascade: 0 eV ---> 5 GeV
Cr_sctns: Barashenkov-Glauber-Gribov: 0 eV ---> 100 TeV
Cr_sctns: GheishaInelastic: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for pi-
@@ -704,13 +701,11 @@ 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
Model: BertiniCascade: 0 eV ---> 5 GeV
Cr_sctns: Barashenkov-Glauber-Gribov: 0 eV ---> 100 TeV
Cr_sctns: GheishaInelastic: 0 eV ---> 100 TeV
Process: hBertiniCaptureAtRest
@@ -720,15 +715,12 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
Process: hadElastic
Model: hElasticCHIPS: 0 eV ---> 100 TeV
Cr_sctns: Barashenkov-Glauber: 0 eV ---> 100 TeV
Cr_sctns: ChipsProtonElasticXS: 0 eV ---> 100 TeV
Cr_sctns: GheishaElastic: 0 eV ---> 100 TeV
Process: protonInelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 1 GeV ---> 5 GeV
Model: Binary Cascade: 0 eV ---> 1.5 GeV
Cr_sctns: Barashenkov-Glauber: 0 eV ---> 100 TeV
Cr_sctns: GheishaInelastic: 0 eV ---> 100 TeV
Cr_sctns: G4ParticleInelasticXS: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for triton
@@ -777,7 +769,7 @@ Max 2J for sampling of angular correlations 10
--------------------End of Global Run-----------------------
The run consists of 1000 gamma of 6 MeV
Cumulated dose per run, in scoring volume : 39.9906 picoGy rms = 3.84284 picoGy
Cumulated dose per run, in scoring volume : 34.1355 picoGy rms = 3.38658 picoGy
------------------------------------------------------------
### Run 1 starts.
@@ -794,7 +786,7 @@ Max 2J for sampling of angular correlations 10
--------------------End of Global Run-----------------------
The run consists of 1000 proton of 210 MeV
Cumulated dose per run, in scoring volume : 4.94889 nanoGy rms = 145.96 picoGy
Cumulated dose per run, in scoring volume : 5.17307 nanoGy rms = 144.737 picoGy
------------------------------------------------------------
Graphics systems deleted.
+5 -13
View File
@@ -1,19 +1,7 @@
# Macro file for example B2 test
/tracking/verbose 1
/run/initialize
# e+ 200MeV
/gun/energy 200 MeV
/gun/particle e+
/run/beamOn 1
# mu+ 1TeV
/gun/energy 1 TeV
/gun/particle mu+
/run/beamOn 1
/tracking/verbose 0
# e+ 200MeV
@@ -26,4 +14,8 @@
/gun/particle mu+
/run/beamOn 100
exit
/tracking/verbose 1
# geantino
/gun/particle geantino
/run/beamOn 1
File diff suppressed because it is too large Load Diff
+5 -13
View File
@@ -1,19 +1,7 @@
# Macro file for example B2 test
/tracking/verbose 1
/run/initialize
# e+ 200MeV
/gun/energy 200 MeV
/gun/particle e+
/run/beamOn 1
# mu+ 1TeV
/gun/energy 1 TeV
/gun/particle mu+
/run/beamOn 1
/tracking/verbose 0
# e+ 200MeV
@@ -26,4 +14,8 @@
/gun/particle mu+
/run/beamOn 100
exit
/tracking/verbose 1
# geantino
/gun/particle geantino
/run/beamOn 1
File diff suppressed because it is too large Load Diff
+4 -1
View File
@@ -1,4 +1,4 @@
$Id: History 101658 2016-11-21 09:00:41Z gcosmo $
$Id: History 108878 2018-03-13 14:22:54Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -15,6 +15,9 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
13/03/18 I. Hrivnacova (exampleB2-V10-04-00)
- Modified exampleB2.in test to reduce the output
19/11/16 A. Dotti (exampleB2-V10-02-01)
- explitic set of SD to manager
+5 -13
View File
@@ -1,19 +1,7 @@
# Macro file for example B2 test
/tracking/verbose 1
/run/initialize
# e+ 200MeV
/gun/energy 200 MeV
/gun/particle e+
/run/beamOn 1
# mu+ 1TeV
/gun/energy 1 TeV
/gun/particle mu+
/run/beamOn 1
/tracking/verbose 0
# e+ 200MeV
@@ -26,4 +14,8 @@
/gun/particle mu+
/run/beamOn 100
exit
/tracking/verbose 1
# geantino
/gun/particle geantino
/run/beamOn 1
+11 -9
View File
@@ -23,11 +23,13 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: exampleB3a.cc 100941 2016-11-03 11:14:13Z gcosmo $
// $Id: exampleB3a.cc 109713 2018-05-08 13:37:44Z gcosmo $
//
/// \file exampleB3a.cc
/// \brief Main program of the B3a example
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
@@ -59,25 +61,25 @@ 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;
#else
G4RunManager* runManager = new G4RunManager;
#endif
#endif
// Set mandatory initialization classes
//
runManager->SetUserInitialization(new B3DetectorConstruction);
//
runManager->SetUserInitialization(new B3PhysicsList);
// Set user action initialization
//
runManager->SetUserInitialization(new B3aActionInitialization());
runManager->SetUserInitialization(new B3aActionInitialization());
// Initialize visualization
//
G4VisManager* visManager = new G4VisExecutive;
@@ -90,13 +92,13 @@ int main(int argc,char** argv)
// Process macro or start UI session
//
if ( ! ui ) {
if ( ! ui ) {
// batch mode
G4String command = "/control/execute ";
G4String fileName = argv[1];
UImanager->ApplyCommand(command+fileName);
}
else {
else {
// interactive mode
UImanager->ApplyCommand("/control/execute init_vis.mac");
ui->SessionStart();
@@ -105,7 +107,7 @@ int main(int argc,char** argv)
// 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
// owned and deleted by the run manager, so they should not be deleted
// in the main() program !
delete visManager;
+3 -3
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
@@ -225,8 +225,8 @@ Use Bearden atomic level energies 0
### Run 0 start.
--------------------End of Global Run-----------------------
The run was 10000 events Nb of 'good' e+ annihilations: 1335
Total dose in patient : 290.445 picoGy
The run was 10000 events Nb of 'good' e+ annihilations: 1344
Total dose in patient : 290.282 picoGy
------------------------------------------------------------
Graphics systems deleted.
+11 -9
View File
@@ -23,11 +23,13 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: exampleB3b.cc 100941 2016-11-03 11:14:13Z gcosmo $
// $Id: exampleB3b.cc 109713 2018-05-08 13:37:44Z gcosmo $
//
/// \file exampleB3b.cc
/// \brief Main program of the B3b example
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
@@ -59,25 +61,25 @@ 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;
#else
G4RunManager* runManager = new G4RunManager;
#endif
#endif
// Set mandatory initialization classes
//
runManager->SetUserInitialization(new B3DetectorConstruction);
//
runManager->SetUserInitialization(new B3PhysicsList);
// Set user action initialization
//
runManager->SetUserInitialization(new B3bActionInitialization());
runManager->SetUserInitialization(new B3bActionInitialization());
// Initialize visualization
//
G4VisManager* visManager = new G4VisExecutive;
@@ -90,13 +92,13 @@ int main(int argc,char** argv)
// Process macro or start UI session
//
if ( ! ui ) {
if ( ! ui ) {
// batch mode
G4String command = "/control/execute ";
G4String fileName = argv[1];
UImanager->ApplyCommand(command+fileName);
}
else {
else {
// interactive mode
UImanager->ApplyCommand("/control/execute init_vis.mac");
ui->SessionStart();
@@ -105,7 +107,7 @@ int main(int argc,char** argv)
// 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
// owned and deleted by the run manager, so they should not be deleted
// in the main() program !
delete visManager;
+3 -3
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
@@ -227,8 +227,8 @@ Use Bearden atomic level energies 0
---> end of event: 0
--------------------End of Global Run-----------------------
The run was 10000 events Nb of 'good' e+ annihilations: 1335
Total dose in patient : 290.445 picoGy
The run was 10000 events Nb of 'good' e+ annihilations: 1344
Total dose in patient : 290.282 picoGy
------------------------------------------------------------
Graphics systems deleted.
+6 -1
View File
@@ -1,4 +1,4 @@
$Id: History 102186 2017-01-09 13:35:29Z gcosmo $
$Id: History 109713 2018-05-08 13:37:44Z gcosmo $
--------------------------------------------------
=========================================================
@@ -15,6 +15,11 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
08/05/18 B. Morgan (exampleB3-V10-04-00)
- Include G4Types before use of G4MULTITHREADED. For forward
compatibility with move to #defines over -D for G4 preprocessor
symbols.
22/12/16 M. Maire (exampleB3-V10-03-00)
- PhysicsList : register Electromagnetic before RadioactiveDecay
+25 -29
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
@@ -126,8 +126,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
@@ -494,7 +494,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
@@ -737,7 +736,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
@@ -754,7 +752,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
@@ -778,7 +775,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
@@ -817,15 +813,15 @@ Max 2J for sampling of angular correlations 10
... open Root analysis file : B4.root - done
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 275.056 MeV total track length: 19.9096 cm
Gap: total energy: 14.4943 MeV total track length: 6.71045 cm
Absorber: total energy: 258.339 MeV total track length: 18.3756 cm
Gap: total energy: 18.8423 MeV total track length: 9.38109 cm
----> print histograms statistic for the entire run
EAbs : mean = 275.056 MeV rms = 0 eV
EGap : mean = 14.4943 MeV rms = 0 eV
LAbs : mean = 19.9096 cm rms = 0 fm
LGap : mean = 6.71045 cm rms = 0 fm
EAbs : mean = 258.339 MeV rms = 0 eV
EGap : mean = 18.8423 MeV rms = 0 eV
LAbs : mean = 18.3756 cm rms = 0 fm
LGap : mean = 9.38109 cm rms = 0 fm
... write Root file : B4.root - done
... close Root file : B4.root - done
Transportation, phot, compt, conv
@@ -858,8 +854,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
@@ -1213,15 +1209,15 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
... open Root analysis file : B4.root - done
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 281.888 MeV total track length: 20.3627 cm
Gap: total energy: 17.6684 MeV total track length: 8.53729 cm
Absorber: total energy: 268.388 MeV total track length: 19.3179 cm
Gap: total energy: 14.4253 MeV total track length: 7.79499 cm
----> print histograms statistic for the entire run
EAbs : mean = 281.888 MeV rms = 0 eV
EGap : mean = 17.6684 MeV rms = 0 eV
LAbs : mean = 20.3627 cm rms = 0 fm
LGap : mean = 8.53729 cm rms = 0 fm
EAbs : mean = 268.388 MeV rms = 0 eV
EGap : mean = 14.4253 MeV rms = 0 eV
LAbs : mean = 19.3179 cm rms = 0 fm
LGap : mean = 7.79499 cm rms = 0 fm
... write Root file : B4.root - done
... close Root file : B4.root - done
@@ -1239,8 +1235,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
@@ -1594,15 +1590,15 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
... open Root analysis file : B4.root - done
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 438.917 MeV total track length: 31.6985 cm
Gap: total energy: 25.1026 MeV total track length: 12.5465 cm
Absorber: total energy: 450.556 MeV total track length: 32.5519 cm
Gap: total energy: 27.8878 MeV total track length: 14.0332 cm
----> print histograms statistic for the entire run
EAbs : mean = 438.917 MeV rms = 0 eV
EGap : mean = 25.1026 MeV rms = 0 eV
LAbs : mean = 31.6985 cm rms = 0 fm
LGap : mean = 12.5465 cm rms = 0 fm
EAbs : mean = 450.556 MeV rms = 0 eV
EGap : mean = 27.8878 MeV rms = 0 eV
LAbs : mean = 32.5519 cm rms = 0 fm
LGap : mean = 14.0332 cm rms = 0 fm
... write Root file : B4.root - done
... close Root file : B4.root - done
Graphics systems deleted.
+25 -29
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
@@ -126,8 +126,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
@@ -494,7 +494,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
@@ -737,7 +736,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
@@ -754,7 +752,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
@@ -778,7 +775,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,15 +814,15 @@ Max 2J for sampling of angular correlations 10
... open Root analysis file : B4.root - done
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 275.056 MeV total track length: 19.9096 cm
Gap: total energy: 14.4943 MeV total track length: 6.71045 cm
Absorber: total energy: 258.339 MeV total track length: 18.3756 cm
Gap: total energy: 18.8423 MeV total track length: 9.38109 cm
----> print histograms statistic for the entire run
EAbs : mean = 275.056 MeV rms = 0 eV
EGap : mean = 14.4943 MeV rms = 0 eV
LAbs : mean = 19.9096 cm rms = 0 fm
LGap : mean = 6.71045 cm rms = 0 fm
EAbs : mean = 258.339 MeV rms = 0 eV
EGap : mean = 18.8423 MeV rms = 0 eV
LAbs : mean = 18.3756 cm rms = 0 fm
LGap : mean = 9.38109 cm rms = 0 fm
... write Root file : B4.root - done
... close Root file : B4.root - done
Transportation, phot, compt, conv
@@ -859,8 +855,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
@@ -1215,15 +1211,15 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
... open Root analysis file : B4.root - done
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 281.888 MeV total track length: 20.3627 cm
Gap: total energy: 17.6684 MeV total track length: 8.53729 cm
Absorber: total energy: 268.388 MeV total track length: 19.3179 cm
Gap: total energy: 14.4253 MeV total track length: 7.79499 cm
----> print histograms statistic for the entire run
EAbs : mean = 281.888 MeV rms = 0 eV
EGap : mean = 17.6684 MeV rms = 0 eV
LAbs : mean = 20.3627 cm rms = 0 fm
LGap : mean = 8.53729 cm rms = 0 fm
EAbs : mean = 268.388 MeV rms = 0 eV
EGap : mean = 14.4253 MeV rms = 0 eV
LAbs : mean = 19.3179 cm rms = 0 fm
LGap : mean = 7.79499 cm rms = 0 fm
... write Root file : B4.root - done
... close Root file : B4.root - done
@@ -1241,8 +1237,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
@@ -1597,15 +1593,15 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
... open Root analysis file : B4.root - done
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 438.917 MeV total track length: 31.6985 cm
Gap: total energy: 25.1026 MeV total track length: 12.5465 cm
Absorber: total energy: 450.556 MeV total track length: 32.5519 cm
Gap: total energy: 27.8878 MeV total track length: 14.0332 cm
----> print histograms statistic for the entire run
EAbs : mean = 438.917 MeV rms = 0 eV
EGap : mean = 25.1026 MeV rms = 0 eV
LAbs : mean = 31.6985 cm rms = 0 fm
LGap : mean = 12.5465 cm rms = 0 fm
EAbs : mean = 450.556 MeV rms = 0 eV
EGap : mean = 27.8878 MeV rms = 0 eV
LAbs : mean = 32.5519 cm rms = 0 fm
LGap : mean = 14.0332 cm rms = 0 fm
... write Root file : B4.root - done
... close Root file : B4.root - done
Graphics systems deleted.
+25 -29
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
@@ -126,8 +126,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
@@ -494,7 +494,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
@@ -737,7 +736,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
@@ -754,7 +752,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
@@ -778,7 +775,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
@@ -817,15 +813,15 @@ Max 2J for sampling of angular correlations 10
... open Root analysis file : B4.root - done
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 275.056 MeV total track length: 19.9096 cm
Gap: total energy: 14.4943 MeV total track length: 6.71045 cm
Absorber: total energy: 258.339 MeV total track length: 18.3756 cm
Gap: total energy: 18.8423 MeV total track length: 9.38109 cm
----> print histograms statistic for the entire run
EAbs : mean = 275.056 MeV rms = 0 eV
EGap : mean = 14.4943 MeV rms = 0 eV
LAbs : mean = 19.9096 cm rms = 0 fm
LGap : mean = 6.71045 cm rms = 0 fm
EAbs : mean = 258.339 MeV rms = 0 eV
EGap : mean = 18.8423 MeV rms = 0 eV
LAbs : mean = 18.3756 cm rms = 0 fm
LGap : mean = 9.38109 cm rms = 0 fm
... write Root file : B4.root - done
... close Root file : B4.root - done
Transportation, phot, compt, conv
@@ -858,8 +854,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
@@ -1213,15 +1209,15 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
... open Root analysis file : B4.root - done
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 281.888 MeV total track length: 20.3627 cm
Gap: total energy: 17.6684 MeV total track length: 8.53729 cm
Absorber: total energy: 268.388 MeV total track length: 19.3179 cm
Gap: total energy: 14.4253 MeV total track length: 7.79499 cm
----> print histograms statistic for the entire run
EAbs : mean = 281.888 MeV rms = 0 eV
EGap : mean = 17.6684 MeV rms = 0 eV
LAbs : mean = 20.3627 cm rms = 0 fm
LGap : mean = 8.53729 cm rms = 0 fm
EAbs : mean = 268.388 MeV rms = 0 eV
EGap : mean = 14.4253 MeV rms = 0 eV
LAbs : mean = 19.3179 cm rms = 0 fm
LGap : mean = 7.79499 cm rms = 0 fm
... write Root file : B4.root - done
... close Root file : B4.root - done
@@ -1239,8 +1235,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
@@ -1594,15 +1590,15 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
... open Root analysis file : B4.root - done
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 438.917 MeV total track length: 31.6985 cm
Gap: total energy: 25.1026 MeV total track length: 12.5465 cm
Absorber: total energy: 450.556 MeV total track length: 32.5519 cm
Gap: total energy: 27.8878 MeV total track length: 14.0332 cm
----> print histograms statistic for the entire run
EAbs : mean = 438.917 MeV rms = 0 eV
EGap : mean = 25.1026 MeV rms = 0 eV
LAbs : mean = 31.6985 cm rms = 0 fm
LGap : mean = 12.5465 cm rms = 0 fm
EAbs : mean = 450.556 MeV rms = 0 eV
EGap : mean = 27.8878 MeV rms = 0 eV
LAbs : mean = 32.5519 cm rms = 0 fm
LGap : mean = 14.0332 cm rms = 0 fm
... write Root file : B4.root - done
... close Root file : B4.root - done
Graphics systems deleted.
+25 -29
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
@@ -130,8 +130,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
@@ -498,7 +498,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
@@ -741,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
@@ -758,7 +756,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
@@ -782,7 +779,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
@@ -821,15 +817,15 @@ Max 2J for sampling of angular correlations 10
... open Root analysis file : B4.root - done
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 275.056 MeV total track length: 19.9096 cm
Gap: total energy: 14.4943 MeV total track length: 6.71045 cm
Absorber: total energy: 258.339 MeV total track length: 18.3756 cm
Gap: total energy: 18.8423 MeV total track length: 9.38109 cm
----> print histograms statistic for the entire run
EAbs : mean = 275.056 MeV rms = 0 eV
EGap : mean = 14.4943 MeV rms = 0 eV
LAbs : mean = 19.9096 cm rms = 0 fm
LGap : mean = 6.71045 cm rms = 0 fm
EAbs : mean = 258.339 MeV rms = 0 eV
EGap : mean = 18.8423 MeV rms = 0 eV
LAbs : mean = 18.3756 cm rms = 0 fm
LGap : mean = 9.38109 cm rms = 0 fm
... write Root file : B4.root - done
... close Root file : B4.root - done
Transportation, phot, compt, conv
@@ -862,8 +858,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
@@ -1217,15 +1213,15 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
... open Root analysis file : B4.root - done
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 281.888 MeV total track length: 20.3627 cm
Gap: total energy: 17.6684 MeV total track length: 8.53729 cm
Absorber: total energy: 268.388 MeV total track length: 19.3179 cm
Gap: total energy: 14.4253 MeV total track length: 7.79499 cm
----> print histograms statistic for the entire run
EAbs : mean = 281.888 MeV rms = 0 eV
EGap : mean = 17.6684 MeV rms = 0 eV
LAbs : mean = 20.3627 cm rms = 0 fm
LGap : mean = 8.53729 cm rms = 0 fm
EAbs : mean = 268.388 MeV rms = 0 eV
EGap : mean = 14.4253 MeV rms = 0 eV
LAbs : mean = 19.3179 cm rms = 0 fm
LGap : mean = 7.79499 cm rms = 0 fm
... write Root file : B4.root - done
... close Root file : B4.root - done
@@ -1243,8 +1239,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
@@ -1598,15 +1594,15 @@ CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
... open Root analysis file : B4.root - done
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 438.917 MeV total track length: 31.6985 cm
Gap: total energy: 25.1026 MeV total track length: 12.5465 cm
Absorber: total energy: 450.556 MeV total track length: 32.5519 cm
Gap: total energy: 27.8878 MeV total track length: 14.0332 cm
----> print histograms statistic for the entire run
EAbs : mean = 438.917 MeV rms = 0 eV
EGap : mean = 25.1026 MeV rms = 0 eV
LAbs : mean = 31.6985 cm rms = 0 fm
LGap : mean = 12.5465 cm rms = 0 fm
EAbs : mean = 450.556 MeV rms = 0 eV
EGap : mean = 27.8878 MeV rms = 0 eV
LAbs : mean = 32.5519 cm rms = 0 fm
LGap : mean = 14.0332 cm rms = 0 fm
... write Root file : B4.root - done
... close Root file : B4.root - done
Graphics systems deleted.
+5 -1
View File
@@ -15,7 +15,11 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
26/06/17 M. Maire (exampleB4-V10-03-01)
17/05/18 J. Allison (exampleB4-V10-04-00)
- macros/visTutor/exN03Vis12(3).mac(loop):
o Replaced deprecated /vis/ogl/set with /vis/viewer/set/timeWindow/.
26/06/17 I. Hrivnacova (exampleB4-V10-03-01)
- Improved plotHisto.C, added plotNtuple.C and updated documentation
23/06/17 M. Maire (exampleB4-V10-03-00)
@@ -1,4 +1,4 @@
# exN03Vis12.loop
/vis/ogl/set/startTime {startTime} ns {timeRange} ns
/vis/viewer/set/timeWindow/startTime {startTime} ns {timeRange} ns
# Print eps file
#/vis/ogl/printEPS
@@ -8,9 +8,8 @@
# CONTENTS: A basic macro for demonstrating time slicing #
# #
# USAGE: #
# exampleN03 visTutor/exN03Vis12.mac #
# or Idle> /control/execute visTutor/exN03Vis12.mac #
# or pull down "Vis" menu and click on "TimeSlicing" #
# cp -pr <install-dir>/geant4/examples/basic/B4/macros/visTutor . #
# <place-of-binary>/exampleB4a -m visTutor/exN03Vis12.mac #
# #
# REQUIRED PLATFORMS & SOFTWARES: Mac/Unix with X-Windows, OpenGL #
# #
@@ -18,8 +17,10 @@
/control/verbose 2
/vis/verbose confirmations
/run/initialize
/vis/open OGL 600x600-0+0
/vis/drawVolume
# Disable auto refresh and quieten vis messages whilst scene and
# trajectories are established:
@@ -27,7 +28,6 @@
/vis/verbose errors
/vis/viewer/set/viewpointThetaPhi 90. 180.
/vis/drawVolume
/vis/scene/add/eventID
/vis/scene/add/trajectories rich
@@ -52,8 +52,8 @@
/run/beamOn
# Configure OpenGL for display-by-time
/vis/ogl/set/fade 1
/vis/ogl/set/displayHeadTime true
/vis/viewer/set/timeWindow/fadeFactor 1
/vis/viewer/set/timeWindow/displayHeadTime true
/control/alias timeRange 0.1
# Display time slices
@@ -106,16 +106,16 @@
/run/beamOn
/control/alias timeRange 0.1
/vis/ogl/set/displayHeadTime true
/vis/ogl/set/displayLightFront true 0 0 -90 mm
/vis/viewer/set/timeWindow/displayHeadTime true
/vis/viewer/set/timeWindow/displayLightFront true 0 0 -90 mm
/vis/verbose warnings
/control/verbose 0
/control/loop visTutor/exN03Vis12.loop startTime -{timeRange} 0.7 0.001
/control/shell sleep 5
/control/verbose 2
/vis/verbose confirmations
/vis/ogl/set/displayLightFront false
/vis/ogl/set/displayHeadTime false
/vis/viewer/set/timeWindow/displayLightFront false
/vis/viewer/set/timeWindow/displayHeadTime false
# Disable auto refresh and quieten vis messages whilst scene and
# trajectories are established:
@@ -129,7 +129,7 @@
/vis/filtering/trajectories/TimeSliceFilter/add anti_nu_e
/vis/filtering/trajectories/TimeSliceFilter/add nu_e
# Accumulate several events for effect
# /vis/scene/endOfEventAction accumulate
/vis/scene/endOfEventAction accumulate
/gun/energy 100 MeV
#/vis/viewer/set/globalLineWidthScale 2
@@ -137,10 +137,10 @@
/vis/viewer/set/autoRefresh true
/vis/verbose warnings
/run/beamOn
/run/beamOn 5
/control/alias timeRange 1000
/vis/ogl/set/displayHeadTime true
/vis/viewer/set/timeWindow/displayHeadTime true
/vis/verbose warnings
/control/verbose 0
/control/loop visTutor/exN03Vis12.loop startTime -{timeRange} 3000 5
@@ -1,6 +1,6 @@
# exN03Vis13.loop
/vis/viewer/pan {dz} 0 mm
/vis/ogl/set/endTime {endTime} ns {timeRange} ns
/vis/viewer/set/timeWindow/endTime {endTime} ns {timeRange} ns
# Force refresh here (since auto-refresh switched off in main mac).
/vis/viewer/refresh
# Print eps file
@@ -5,12 +5,11 @@
# #
# DATE: 18th August 2006 #
# #
# CONTENTS: Time development of an electrmagnetic shower. #
# CONTENTS: Time development of an electromagnetic shower. #
# #
# USAGE: #
# exampleN03 visTutor/exN03Vis12.mac #
# or Idle> /control/execute visTutor/exN03Vis12.mac #
# or pull down "Vis" menu and click on "EmShower" #
# cp -pr <install-dir>/geant4/examples/basic/B4/macros/visTutor . #
# <place-of-binary>/exampleB4a -m visTutor/exN03Vis13.mac #
# #
# REQUIRED PLATFORMS & SOFTWARES: Mac/Unix with X-Windows, OpenGL #
# #
@@ -18,9 +17,10 @@
/control/verbose 2
/vis/verbose confirmations
/run/initialize
/vis/open OGL 600x600-0+0
/vis/ogl/set/displayListLimit 100000
/vis/drawVolume
# Disable auto refresh and quieten vis messages whilst scene and
# trajectories are established:
@@ -28,7 +28,6 @@
/vis/verbose errors
/vis/viewer/set/viewpointThetaPhi 90. 180.
/vis/drawVolume
/vis/scene/add/eventID
/vis/scene/add/trajectories rich
@@ -62,13 +61,13 @@
/run/beamOn
# Run time sequence
/vis/ogl/set/fade 1
/vis/ogl/set/displayHeadTime true
/vis/viewer/set/timeWindow/fadeFactor 1
/vis/viewer/set/timeWindow/displayHeadTime true
# The trajectories can appear of jump ahead of the light front because
# their time range overlaps the viewer's time range. To mitigate this
# effect of discrete time intervals, advance the light front by half the
# trajectories interval...
/vis/ogl/set/displayLightFront true 0 0 -90 mm -{halfInterval} ns
/vis/viewer/set/timeWindow/displayLightFront true 0 0 -90 mm -{halfInterval} ns
/vis/viewer/panTo -9 0 cm
/vis/viewer/zoomTo 2
/control/alias timeRange 0.1
@@ -76,7 +75,7 @@
# Switch off auto-refresh to avoid refresh on /vis/viewer/pan in loop.
# (Then force refresh in loop.)
/vis/viewer/set/autoRefresh 0
/vis/verbose warnings
/vis/verbose errors
/control/verbose 0
/control/loop visTutor/exN03Vis13.loop endTime 0 0.7 0.001
/control/verbose 2
+7 -3
View File
@@ -1,4 +1,4 @@
$Id: History 108624 2018-02-26 11:48:31Z gcosmo $
$Id: History 110371 2018-05-22 07:31:11Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -15,11 +15,15 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
19 February 2017 Ivana Hrivnacova (exampleB5-V10-03-02)
20 May 2018 John Allison (exampleB5-V10-04-01)
- Remove G4UI_USE and G4VIS_USE.
- Move instantiation of G4UIExecutive nearer to start of main.
19 February 2017 Ivana Hrivnacova (exampleB5-V10-04-00)
- Fix filling ntuple
(there was omitted call to AddNtupleRow() in the previous update)
14 April 2017 Ivana Hrivnacova (exampleB5-V10-03-01)
14 April 2017 Ivana Hrivnacova Cosmo (exampleB5-V10-03-01)
- Use std::array for related data members in B5EventAction to reduce the code
- Added data members for histogram Ids and the code to retrieve them by histogram
names via G4AnalysisManager
+3 -20
View File
@@ -41,26 +41,19 @@
#include "FTFP_BERT.hh"
#include "G4StepLimiterPhysics.hh"
#ifdef G4VIS_USE
#include "G4VisExecutive.hh"
#endif
#ifdef G4UI_USE
#include "G4UIExecutive.hh"
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
int main(int argc,char** argv)
{
#ifdef G4UI_USE
// Detect interactive mode (if no arguments) and define UI session
//
G4UIExecutive* ui = 0;
if ( argc == 1 ) {
ui = new G4UIExecutive(argc, argv);
}
#endif
// Construct the default run manager
//
@@ -80,37 +73,29 @@ int main(int argc,char** argv)
// User action initialization
runManager->SetUserInitialization(new B5ActionInitialization());
#ifdef G4VIS_USE
// Visualization manager construction
auto visManager = new G4VisExecutive;
// G4VisExecutive can take a verbosity argument - see /vis/verbose guidance.
// G4VisManager* visManager = new G4VisExecutive("Quiet");
visManager->Initialize();
#endif
// Get the pointer to the User Interface manager
auto UImanager = G4UImanager::GetUIpointer();
if ( argc != 1 ) {
if ( !ui ) {
// execute an argument macro file if exist
G4String command = "/control/execute ";
G4String fileName = argv[1];
UImanager->ApplyCommand(command+fileName);
}
else {
#ifdef G4UI_USE
#ifdef G4VIS_USE
UImanager->ApplyCommand("/control/execute init_vis.mac");
#else
UImanager->ApplyCommand("/control/execute init.mac");
#endif
UImanager->ApplyCommand("/control/execute init_vis.mac");
if (ui->IsGUI()) {
UImanager->ApplyCommand("/control/execute gui.mac");
}
// start interactive session
ui->SessionStart();
delete ui;
#endif
}
// Job termination
@@ -118,9 +103,7 @@ int main(int argc,char** argv)
// 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;
}
+212 -159
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
@@ -223,8 +223,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
@@ -591,7 +591,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
@@ -834,7 +833,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
@@ -851,7 +849,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
@@ -875,7 +872,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
@@ -916,105 +912,155 @@ Max 2J for sampling of angular correlations 10
>>> Event 0 >>> Simulation truth : proton (-0,0,100000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 4.9870028524653 (nsec)
Hodoscope[7] 4.9870028525729 (nsec)
Hodoscope 2 has 2 hits.
Hodoscope[9] 43.18761080853 (nsec)
Hodoscope[7] 671.70179225532 (nsec)
Hodoscope[9] 43.187480819977 (nsec)
Hodoscope[14] 1023.9603368977 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.6712421469054 (nsec) --- local (x,y) -0.003036230831009, -0.011109511520009
Layer[1] : time 8.3391360811358 (nsec) --- local (x,y) -0.012241588060545, -0.016003140122717
Layer[2] : time 10.007030015547 (nsec) --- local (x,y) -0.022141521122577, -0.01834681219673
Layer[3] : time 11.674923950161 (nsec) --- local (x,y) -0.032835455737733, -0.019398216645828
Layer[4] : time 13.342817884907 (nsec) --- local (x,y) -0.043102165429459, -0.022657176259632
Drift Chamber 2 has 5 hits.
Layer[0] : time 34.850008759805 (nsec) --- local (x,y) -147.63615460294, -0.066388082750764
Layer[1] : time 36.520803475206 (nsec) --- local (x,y) -177.13784036601, -0.074740357998234
Layer[2] : time 38.191598406635 (nsec) --- local (x,y) -206.64062455351, -0.083829744169361
Layer[3] : time 39.862393787387 (nsec) --- local (x,y) -236.1456937846, -0.095796899758418
Layer[4] : time 41.533189018187 (nsec) --- local (x,y) -265.64999966779, -0.10628961554127
EM Calorimeter has 58 hits. Total Edep is 744.36037364439 (MeV)
Hadron Calorimeter has 17 hits. Total Edep is 4706.8001333167 (MeV)
Layer[0] : time 6.6712421484922 (nsec) --- local (x,y) -0.012037746267256, -0.0085159382829135
Layer[1] : time 8.3391360843463 (nsec) --- local (x,y) -0.030315600792952, -0.024167566373776
Layer[2] : time 10.00703002044 (nsec) --- local (x,y) -0.048744041987221, -0.04030160498458
Layer[3] : time 11.67492395664 (nsec) --- local (x,y) -0.065891632886434, -0.057059376455903
Layer[4] : time 13.342817892365 (nsec) --- local (x,y) -0.081603481518327, -0.068553914366661
Drift Chamber 2 has 6 hits.
Layer[0] : time 34.849866312985 (nsec) --- local (x,y) -147.76317851551, -0.052147882737291
Layer[1] : time 36.520663250293 (nsec) --- local (x,y) -177.27617115259, -0.051739826089203
Layer[2] : time 38.191460957729 (nsec) --- local (x,y) -206.79308050705, -0.053740674093518
Layer[2] : time 39.351520151102 (nsec) --- local (x,y) 81.97107745426, -54.951188530361
Layer[3] : time 39.862259206257 (nsec) --- local (x,y) -236.31273979355, -0.052122312330954
Layer[4] : time 41.53305729934 (nsec) --- local (x,y) -265.83160764901, -0.051501320281097
EM Calorimeter has 49 hits. Total Edep is 651.00555426589 (MeV)
Hadron Calorimeter has 11 hits. Total Edep is 3725.6930288371 (MeV)
... write Root file : B5.root - done
... close Root file : B5.root - done
### Run 1 starts.
... open Root analysis file : B5.root - done
--> Event 0 starts.
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomNav1002
issued by : G4PropagatorInField::ComputeStep
Unfinished integration of track (likely looping particle) of momentum (-2.68288,-0.598882,1.77615) ( magnitude = 3.2728 )
after 1000 field substeps totaling 349.463645132 mm out of requested step 414.308603471 mm a fraction of 84.35 %
in volume magneticPhysical with material G4_AIR ( density = 0.001205 g / cm^3 )
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomNav1002
issued by : G4PropagatorInField::ComputeStep
Unfinished integration of track (likely looping particle) of momentum (-0.509019,-0.167916,-3.257) ( magnitude = 3.30081 )
after 1000 field substeps totaling 349.576587039 mm out of requested step 402.35768645 mm a fraction of 86.88 %
in volume magneticPhysical with material G4_AIR ( density = 0.001205 g / cm^3 )
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomNav1002
issued by : G4PropagatorInField::ComputeStep
Unfinished integration of track (likely looping particle) of momentum (-1.99519,-0.129224,1.22616) ( magnitude = 2.34541 )
after 1000 field substeps totaling 372.230888863 mm out of requested step 511.021253544 mm a fraction of 72.84 %
in volume magneticPhysical with material G4_AIR ( density = 0.001205 g / cm^3 )
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
>>> Event 0 >>> Simulation truth : pi+ (-0,0,100000)
Hodoscope 1 has 2 hits.
Hodoscope[7] 4.9867880842609 (nsec)
Hodoscope[4] 5.8691902896339 (nsec)
Hodoscope 2 has 3 hits.
Hodoscope[10] 42.6937528929 (nsec)
Hodoscope[15] 1163.0533844965 (nsec)
Hodoscope[5] 118.84404405156 (nsec)
Drift Chamber 1 has 7 hits.
Layer[0] : time 6.6709548428235 (nsec) --- local (x,y) 0.010210348280182, -0.0030658043952529
Layer[0] : time 10.207769234564 (nsec) --- local (x,y) -79.271549456483, 107.5158652836
Layer[1] : time 8.3387769447892 (nsec) --- local (x,y) 0.0079384089245271, -0.010628473682006
Layer[1] : time 8.8434993490093 (nsec) --- local (x,y) 7.7233714644476, 225.30005656282
Layer[2] : time 10.006599047091 (nsec) --- local (x,y) 0.0026247254456758, -0.022183402903725
Layer[3] : time 11.674421149555 (nsec) --- local (x,y) -0.0032113481436986, -0.035425546543795
Layer[4] : time 13.342243252121 (nsec) --- local (x,y) -0.0098826508487577, -0.049368194544026
Drift Chamber 2 has 5 hits.
Layer[0] : time 34.366438787958 (nsec) --- local (x,y) -82.755228742158, -0.30372840128874
Layer[1] : time 36.035171937594 (nsec) --- local (x,y) -99.283972604786, -0.31854233914551
Layer[2] : time 37.703905001923 (nsec) --- local (x,y) -115.81193808464, -0.33752380673772
Layer[3] : time 39.372638386525 (nsec) --- local (x,y) -132.34280865825, -0.35726153453484
Layer[4] : time 41.041372227231 (nsec) --- local (x,y) -148.87781728907, -0.37650702859576
EM Calorimeter has 47 hits. Total Edep is 375.88288731253 (MeV)
Hadron Calorimeter has 14 hits. Total Edep is 4389.0593330225 (MeV)
Hodoscope 1 has 1 hits.
Hodoscope[7] 4.9867880839764 (nsec)
Hodoscope 2 has 5 hits.
Hodoscope[10] 42.693881733502 (nsec)
Hodoscope[18] 93.163957448372 (nsec)
Hodoscope[11] 285.37031919305 (nsec)
Hodoscope[9] 440.09396163794 (nsec)
Hodoscope[2] 277.86947920843 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.670954842844 (nsec) --- local (x,y) -0.011932512347539, -0.004994055641855
Layer[1] : time 8.3387769449093 (nsec) --- local (x,y) -0.019536795700568, -0.01060756250642
Layer[2] : time 10.006599046937 (nsec) --- local (x,y) -0.025759894174303, -0.017094248670722
Layer[3] : time 11.674421148957 (nsec) --- local (x,y) -0.03164286925033, -0.023601189510452
Layer[4] : time 13.342243250928 (nsec) --- local (x,y) -0.035619293665528, -0.030208514509851
Drift Chamber 2 has 9 hits.
Layer[0] : time 34.366561991734 (nsec) --- local (x,y) -82.763705111071, -0.062733322899426
Layer[0] : time 34.378094072834 (nsec) --- local (x,y) -82.958158715605, -0.038037263675493
Layer[0] : time 34.378966580435 (nsec) --- local (x,y) -82.956438023705, -0.035246215469061
Layer[0] : time 34.379838805157 (nsec) --- local (x,y) -82.970074904249, -0.039023610816792
Layer[0] : time 34.380693960227 (nsec) --- local (x,y) -82.963169504017, -0.048878580839711
Layer[1] : time 36.035296950114 (nsec) --- local (x,y) -99.308858733803, -0.063261717168174
Layer[2] : time 37.704031717922 (nsec) --- local (x,y) -115.8522846565, -0.061747799251074
Layer[3] : time 39.372766374467 (nsec) --- local (x,y) -132.39470183875, -0.060585813064266
Layer[4] : time 41.041500940159 (nsec) --- local (x,y) -148.93629524929, -0.059002332962233
EM Calorimeter has 60 hits. Total Edep is 31014.02024653 (MeV)
Hadron Calorimeter has 15 hits. Total Edep is 2509.573154322 (MeV)
... write Root file : B5.root - done
... close Root file : B5.root - done
### Run 2 starts.
... open Root analysis file : B5.root - done
--> Event 0 starts.
>>> Event 0 >>> Simulation truth : e+ (0,0,100000)
>>> Event 0 >>> Simulation truth : e+ (-0,0,100000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 4.9867832233742 (nsec)
Hodoscope[7] 4.9867832234924 (nsec)
Hodoscope 2 has 2 hits.
Hodoscope[7] 43.22433178091 (nsec)
Hodoscope[5] 56.620404347992 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.6709483404026 (nsec) --- local (x,y) 0.018832597454591, 0.0016884869526448
Layer[1] : time 8.3387688168321 (nsec) --- local (x,y) 0.028430619567691, 0.0078804980152016
Layer[2] : time 10.006589293372 (nsec) --- local (x,y) 0.040118192258681, 0.013154688860185
Layer[3] : time 11.674409770102 (nsec) --- local (x,y) 0.054220798166719, 0.017757121231851
Layer[4] : time 13.342230247149 (nsec) --- local (x,y) 0.070109608318124, 0.025687554632141
Hodoscope[9] 43.185767217153 (nsec)
Hodoscope[0] 516.53788971606 (nsec)
Drift Chamber 1 has 7 hits.
Layer[0] : time 6.6709483404557 (nsec) --- local (x,y) -0.022965239545541, 0.00055779620382676
Layer[1] : time 8.3387688165999 (nsec) --- local (x,y) -0.029302290059748, 0.002936383965353
Layer[1] : time 8.3389395360822 (nsec) --- local (x,y) -0.029302878922502, 0.0029366035475266
Layer[1] : time 8.3389395360822 (nsec) --- local (x,y) -0.029302878922502, 0.0029366035475266
Layer[2] : time 10.006589292703 (nsec) --- local (x,y) -0.035017233228238, 0.0037718000335438
Layer[3] : time 11.674409768891 (nsec) --- local (x,y) -0.04237498692678, 0.0058740009956171
Layer[4] : time 13.342230245029 (nsec) --- local (x,y) -0.048852407219888, 0.0069303906578543
Drift Chamber 2 has 5 hits.
Layer[0] : time 34.862836146795 (nsec) --- local (x,y) -219.74122238003, 0.24884010831186
Layer[1] : time 36.538419509407 (nsec) --- local (x,y) -268.03894593336, 0.27840555011276
Layer[2] : time 38.214000979324 (nsec) --- local (x,y) -316.33077063638, 0.3025992107296
Layer[3] : time 39.889583430952 (nsec) --- local (x,y) -364.62565737325, 0.32525990344963
Layer[4] : time 41.565167500532 (nsec) --- local (x,y) -412.9255882274, 0.34939852449189
EM Calorimeter has 48 hits. Total Edep is 92269.803565457 (MeV)
Hadron Calorimeter has 6 hits. Total Edep is 32.322500974277 (MeV)
Layer[0] : time 34.84853993965 (nsec) --- local (x,y) -147.56314420052, -0.056600937070677
Layer[1] : time 36.519260285602 (nsec) --- local (x,y) -177.06085004241, -0.073288372851996
Layer[2] : time 38.189980320218 (nsec) --- local (x,y) -206.55697112207, -0.089775203386386
Layer[3] : time 39.860700345586 (nsec) --- local (x,y) -236.05304499389, -0.10648110540271
Layer[4] : time 41.531420384281 (nsec) --- local (x,y) -265.54918735851, -0.12199661626892
EM Calorimeter has 45 hits. Total Edep is 91005.597226222 (MeV)
Hadron Calorimeter has 5 hits. Total Edep is 44.392410874918 (MeV)
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomNav1002
issued by : G4Navigator::ComputeStep()
Track stuck or not moving.
Track stuck, not moving for 10 steps
in volume -worldPhysical- at point (4.517464441334093,-99.40415022000124,-999.989796205452) (local point (4.517464441334093,-99.40415022000124,-999.989796205452))
direction: (0.4037559304090129,-0.9147455652187708,0.0148895793138667) (local direction: (0.4037559304090129,-0.9147455652187708,0.0148895793138667)).
Potential geometry or navigation problem !
Trying pushing it of 1e-07 mm ...Potential overlap in geometry!
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
... write Root file : B5.root - done
... close Root file : B5.root - done
### Run 3 starts.
... open Root analysis file : B5.root - done
--> Event 0 starts.
>>> Event 0 >>> Simulation truth : proton (0,0,10000)
>>> Event 0 >>> Simulation truth : proton (-0,0,10000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 5.0086956035376 (nsec)
Hodoscope[7] 5.008695795022 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[9] 43.375803820395 (nsec)
Hodoscope[9] 43.378167118187 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.7002654460133 (nsec) --- local (x,y) -0.011085897328035, 0.055239676546995
Layer[1] : time 8.3754189497496 (nsec) --- local (x,y) -0.025703832115799, 0.11112790158647
Layer[2] : time 10.050572596649 (nsec) --- local (x,y) -0.043306359452363, 0.15102323052249
Layer[3] : time 11.725726389945 (nsec) --- local (x,y) -0.055068097744639, 0.18518518514258
Layer[4] : time 13.40088030169 (nsec) --- local (x,y) -0.066394217485187, 0.20991885686493
Layer[0] : time 6.7002642329171 (nsec) --- local (x,y) 0.17657205189459, -0.10697694066101
Layer[1] : time 8.3754163512839 (nsec) --- local (x,y) 0.25064335324126, -0.1394153819102
Layer[2] : time 10.050568598477 (nsec) --- local (x,y) 0.33570802533125, -0.15948821570928
Layer[3] : time 11.725720956289 (nsec) --- local (x,y) 0.42636454928868, -0.18831353786646
Layer[4] : time 13.400873431944 (nsec) --- local (x,y) 0.51646243927888, -0.20408985676152
Drift Chamber 2 has 5 hits.
Layer[0] : time 35.001889134982 (nsec) --- local (x,y) -147.77188385666, 0.1667926428584
Layer[1] : time 36.679958746247 (nsec) --- local (x,y) -177.27611701781, 0.15923645123716
Layer[2] : time 38.358027903145 (nsec) --- local (x,y) -206.77736166758, 0.14986900547959
Layer[3] : time 40.036097420054 (nsec) --- local (x,y) -236.27984967118, 0.15165275873687
Layer[4] : time 41.714172088017 (nsec) --- local (x,y) -265.80782792117, 0.18206921834073
EM Calorimeter has 48 hits. Total Edep is 3369.3562966467 (MeV)
Hadron Calorimeter has 15 hits. Total Edep is 231.64791885157 (MeV)
Layer[0] : time 35.004124414224 (nsec) --- local (x,y) -146.5928222183, -1.0464626491559
Layer[1] : time 36.682214913964 (nsec) --- local (x,y) -176.208403926, -1.1667465643829
Layer[2] : time 38.360310913596 (nsec) --- local (x,y) -205.85094073083, -1.2822275495254
Layer[3] : time 40.038410914166 (nsec) --- local (x,y) -235.51278410988, -1.3931596730927
Layer[4] : time 41.716512827227 (nsec) --- local (x,y) -265.18357389763, -1.5310005490854
EM Calorimeter has 10 hits. Total Edep is 186.29760866324 (MeV)
Hadron Calorimeter has 7 hits. Total Edep is 360.44691248965 (MeV)
... write Root file : B5.root - done
... close Root file : B5.root - done
### Run 4 starts.
@@ -1023,27 +1069,23 @@ Hadron Calorimeter has 15 hits. Total Edep is 231.64791885157 (MeV)
>>> Event 0 >>> Simulation truth : pi+ (0,0,10000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 4.9872691770462 (nsec)
Hodoscope 2 has 3 hits.
Hodoscope[10] 42.695220669552 (nsec)
Hodoscope[15] 195.94449466986 (nsec)
Hodoscope[13] 470.40974548967 (nsec)
Drift Chamber 1 has 7 hits.
Layer[0] : time 6.6715985017948 (nsec) --- local (x,y) -0.15429458982857, -0.061936322964784
Layer[0] : time 6.6838614385782 (nsec) --- local (x,y) -0.62637646219282, 1.0416500165568
Layer[0] : time 6.6943842734296 (nsec) --- local (x,y) -1.5418776602666, 1.359412492684
Layer[1] : time 8.3395815940211 (nsec) --- local (x,y) -0.22797278282945, -0.091692774668934
Layer[2] : time 10.007564679766 (nsec) --- local (x,y) -0.279601608542, -0.11801583238162
Layer[3] : time 11.675547776143 (nsec) --- local (x,y) -0.33752260004734, -0.16232555343309
Layer[4] : time 13.343530874786 (nsec) --- local (x,y) -0.39123849356578, -0.20670071931917
Hodoscope[7] 4.9872691718 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[10] 42.700474678988 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.6715985247411 (nsec) --- local (x,y) 0.13721518539272, -0.053516307655377
Layer[1] : time 8.3395816492673 (nsec) --- local (x,y) 0.2745638008597, -0.047645180878644
Layer[2] : time 10.007564774322 (nsec) --- local (x,y) 0.40873172515031, -0.046659700041161
Layer[3] : time 11.675547900606 (nsec) --- local (x,y) 0.54007725770754, -0.04039451002771
Layer[4] : time 13.34353101511 (nsec) --- local (x,y) 0.64917685907764, -0.016678119524356
Drift Chamber 2 has 5 hits.
Layer[0] : time 34.367047752418 (nsec) --- local (x,y) -84.31410875688, -1.5811870122596
Layer[1] : time 36.035956257476 (nsec) --- local (x,y) -100.96984252012, -1.8127264220461
Layer[2] : time 37.704861552884 (nsec) --- local (x,y) -117.59664169891, -2.0405656420118
Layer[3] : time 39.373765744027 (nsec) --- local (x,y) -134.21300061878, -2.297644008002
Layer[4] : time 41.042670292768 (nsec) --- local (x,y) -150.83286024199, -2.5336309322006
EM Calorimeter has 43 hits. Total Edep is 384.75946473939 (MeV)
Hadron Calorimeter has 10 hits. Total Edep is 372.55295817377 (MeV)
Layer[0] : time 34.372121832132 (nsec) --- local (x,y) -83.853759463184, 0.19889555234942
Layer[1] : time 36.041061095515 (nsec) --- local (x,y) -100.78589460731, 0.18327157839018
Layer[2] : time 37.71000215375 (nsec) --- local (x,y) -117.73388810176, 0.17947241842258
Layer[3] : time 39.378944772722 (nsec) --- local (x,y) -134.69564776496, 0.19171263469269
Layer[4] : time 41.047888463967 (nsec) --- local (x,y) -151.66686271465, 0.19560069760296
EM Calorimeter has 24 hits. Total Edep is 249.48223969308 (MeV)
Hadron Calorimeter has 9 hits. Total Edep is 517.79385891599 (MeV)
... write Root file : B5.root - done
... close Root file : B5.root - done
### Run 5 starts.
@@ -1052,23 +1094,29 @@ Hadron Calorimeter has 10 hits. Total Edep is 372.55295817377 (MeV)
>>> Event 0 >>> Simulation truth : e+ (0,0,10000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 4.9867832308105 (nsec)
Hodoscope[7] 4.986783233803 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[9] 43.185667371747 (nsec)
Hodoscope[9] 43.185753440735 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.6709483818438 (nsec) --- local (x,y) 0.0044874796992931, -0.16013331445677
Layer[1] : time 8.3387689077944 (nsec) --- local (x,y) 0.043305075635348, -0.27565269548114
Layer[2] : time 10.006589442596 (nsec) --- local (x,y) 0.056733368096389, -0.40590997579545
Layer[3] : time 11.674409964464 (nsec) --- local (x,y) 0.033267787954641, -0.51921397606234
Layer[4] : time 13.342230471924 (nsec) --- local (x,y) 0.011085859906286, -0.61361346744459
Drift Chamber 2 has 5 hits.
Layer[0] : time 34.847949127321 (nsec) --- local (x,y) -150.28796639257, -2.5869634307721
Layer[1] : time 36.518760586952 (nsec) --- local (x,y) -180.24541674062, -2.7587873103622
Layer[2] : time 38.189571643297 (nsec) --- local (x,y) -210.20089687705, -2.9210442392273
Layer[3] : time 39.860394020013 (nsec) --- local (x,y) -240.21325785172, -3.0421867685021
Layer[4] : time 41.531219985576 (nsec) --- local (x,y) -270.243601793, -3.154697237891
EM Calorimeter has 18 hits. Total Edep is 9455.4680457743 (MeV)
Hadron Calorimeter has 2 hits. Total Edep is 4.6578469573454 (MeV)
Layer[0] : time 6.6709483530513 (nsec) --- local (x,y) 0.064533870951125, -0.061465692340233
Layer[1] : time 8.3387688306585 (nsec) --- local (x,y) 0.069161887743294, -0.081980997261318
Layer[2] : time 10.006589310734 (nsec) --- local (x,y) 0.04787163004222, -0.10517260409917
Layer[3] : time 11.674409791798 (nsec) --- local (x,y) 0.010529542766153, -0.11355522215398
Layer[4] : time 13.342230276781 (nsec) --- local (x,y) -0.028712879877069, -0.14619768978636
Drift Chamber 2 has 11 hits.
Layer[0] : time 34.848447556683 (nsec) --- local (x,y) -147.89043280733, -0.58320597574475
Layer[1] : time 36.519182307471 (nsec) --- local (x,y) -177.46135355661, -0.62257457657496
Layer[1] : time 36.567233051909 (nsec) --- local (x,y) -179.49416892782, -1.7641701084695
Layer[1] : time 36.568492493648 (nsec) --- local (x,y) -179.45235169046, -1.7561437511835
Layer[1] : time 36.569759016836 (nsec) --- local (x,y) -179.39767736333, -1.7453862408625
Layer[1] : time 36.571054659813 (nsec) --- local (x,y) -179.34380810639, -1.7658148712235
Layer[1] : time 36.572352618225 (nsec) --- local (x,y) -179.30010342904, -1.7923589467062
Layer[1] : time 36.573653159355 (nsec) --- local (x,y) -179.3076003242, -1.8392887723218
Layer[2] : time 38.189915875942 (nsec) --- local (x,y) -207.02628451925, -0.64894842862261
Layer[3] : time 39.860651213399 (nsec) --- local (x,y) -236.60020065568, -0.67080432862284
Layer[4] : time 41.531388789205 (nsec) --- local (x,y) -266.18546838026, -0.70547154507126
EM Calorimeter has 20 hits. Total Edep is 9362.6339211789 (MeV)
Hadron Calorimeter has 1 hits. Total Edep is 4.4210451138231 (MeV)
... write Root file : B5.root - done
... close Root file : B5.root - done
### Run 6 starts.
@@ -1077,22 +1125,25 @@ Hadron Calorimeter has 2 hits. Total Edep is 4.6578469573454 (MeV)
>>> Event 0 >>> Simulation truth : proton (-0,0,1000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 6.8392496885888 (nsec)
Hodoscope[7] 6.8392952802134 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[9] 59.356240387208 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 9.1538155608426 (nsec) --- local (x,y) 0.010387531863678, 0.093742871324721
Layer[1] : time 11.446192344447 (nsec) --- local (x,y) -0.77532837979342, 0.41370316680994
Layer[2] : time 13.73874415194 (nsec) --- local (x,y) -1.4804672703479, 0.49541792474449
Layer[3] : time 16.031494748385 (nsec) --- local (x,y) -2.4387146856179, 0.47619261469308
Layer[4] : time 18.324481029444 (nsec) --- local (x,y) -4.0350750772115, 0.052975548817695
Hodoscope[9] 59.314656262884 (nsec)
Drift Chamber 1 has 8 hits.
Layer[0] : time 9.1536691199093 (nsec) --- local (x,y) -3.5020574436347, -0.81548598157171
Layer[1] : time 11.445872389762 (nsec) --- local (x,y) -6.3361255958505, -2.5727642142944
Layer[2] : time 13.738318338191 (nsec) --- local (x,y) -9.0862914532574, -4.2986179085069
Layer[3] : time 16.031001911365 (nsec) --- local (x,y) -11.720112581666, -5.6875044536949
Layer[3] : time 16.031834489526 (nsec) --- local (x,y) -11.72116513774, -5.6880030204412
Layer[3] : time 16.031834489526 (nsec) --- local (x,y) -11.72116513774, -5.6880030204412
Layer[3] : time 16.032706676447 (nsec) --- local (x,y) -11.714148127089, -5.7059431627399
Layer[4] : time 18.323938369474 (nsec) --- local (x,y) -14.744707173271, -7.170794305515
Drift Chamber 2 has 5 hits.
Layer[0] : time 47.87500461903 (nsec) --- local (x,y) -172.67368423973, 1.5248623411067
Layer[1] : time 50.175379842104 (nsec) --- local (x,y) -203.8383096226, 1.9129288637142
Layer[2] : time 52.475908645269 (nsec) --- local (x,y) -234.94694106391, 2.4876306004358
Layer[3] : time 54.776639873128 (nsec) --- local (x,y) -266.15050244742, 2.9097628712145
Layer[4] : time 57.077578272886 (nsec) --- local (x,y) -297.43312477871, 2.8272704376501
EM Calorimeter has 14 hits. Total Edep is 364.43097328894 (MeV)
Layer[0] : time 47.831062188862 (nsec) --- local (x,y) -190.93975382966, -51.842499538602
Layer[1] : time 50.131871854992 (nsec) --- local (x,y) -221.64130002608, -55.107317872887
Layer[2] : time 52.432877735559 (nsec) --- local (x,y) -252.3365837105, -58.414355395248
Layer[3] : time 54.734111265104 (nsec) --- local (x,y) -283.03398132472, -61.759099218248
Layer[4] : time 57.035548944922 (nsec) --- local (x,y) -313.72602911979, -65.352924724911
EM Calorimeter has 1 hits. Total Edep is 298.73946927936 (MeV)
Hadron Calorimeter has 0 hits. Total Edep is 0 (MeV)
... write Root file : B5.root - done
... close Root file : B5.root - done
@@ -1102,24 +1153,24 @@ Hadron Calorimeter has 0 hits. Total Edep is 0 (MeV)
>>> Event 0 >>> Simulation truth : pi+ (-0,0,1000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 5.0351614356158 (nsec)
Hodoscope 2 has 2 hits.
Hodoscope[11] 43.046458849488 (nsec)
Hodoscope[20] 98.233871102513 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.7357371855738 (nsec) --- local (x,y) -1.8561648427278, -0.54405158560948
Layer[1] : time 8.4198130350572 (nsec) --- local (x,y) -3.2810426218094, -1.4148796831892
Layer[2] : time 10.103890683198 (nsec) --- local (x,y) -4.7358954894775, -1.9801683319991
Layer[3] : time 11.787969112502 (nsec) --- local (x,y) -5.9630426960304, -2.4742776437274
Layer[4] : time 13.472049890253 (nsec) --- local (x,y) -7.0474647782438, -3.0883167863005
Hodoscope[7] 5.0351587683772 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[10] 43.117904097331 (nsec)
Drift Chamber 1 has 6 hits.
Layer[0] : time 6.735728672243 (nsec) --- local (x,y) -0.95977947013035, -1.3686661677022
Layer[0] : time 7.0327980259363 (nsec) --- local (x,y) -34.146750718868, -28.223815489636
Layer[1] : time 8.4198102756434 (nsec) --- local (x,y) -1.5459237438011, -1.9850368754433
Layer[2] : time 10.103895300334 (nsec) --- local (x,y) -2.0567421589906, -2.4570815218836
Layer[3] : time 11.787984049708 (nsec) --- local (x,y) -2.2840007218867, -2.9340064935774
Layer[4] : time 13.472077141097 (nsec) --- local (x,y) -2.2451476494002, -3.4585080362939
Drift Chamber 2 has 5 hits.
Layer[0] : time 34.641025719588 (nsec) --- local (x,y) -87.227426772918, -13.719569153145
Layer[1] : time 36.32541881558 (nsec) --- local (x,y) -96.153739805429, -15.520359179603
Layer[2] : time 38.009812728621 (nsec) --- local (x,y) -105.00848030722, -17.357892983312
Layer[3] : time 39.694208075563 (nsec) --- local (x,y) -113.76628148866, -19.50860336628
Layer[4] : time 41.378581693191 (nsec) --- local (x,y) -122.11362841179, -21.625684600915
EM Calorimeter has 13 hits. Total Edep is 629.30804943915 (MeV)
Hadron Calorimeter has 0 hits. Total Edep is 0 (MeV)
Layer[0] : time 34.707279539959 (nsec) --- local (x,y) -89.646891771731, -13.762664050733
Layer[1] : time 36.392652128283 (nsec) --- local (x,y) -108.47421950882, -14.056744119348
Layer[2] : time 38.078031867543 (nsec) --- local (x,y) -127.31903478885, -14.171026080659
Layer[3] : time 39.763467891027 (nsec) --- local (x,y) -146.57249828233, -14.268397272264
Layer[4] : time 41.448949288523 (nsec) --- local (x,y) -166.15548320653, -14.549882193619
EM Calorimeter has 16 hits. Total Edep is 246.18558832116 (MeV)
Hadron Calorimeter has 7 hits. Total Edep is 34.554218776907 (MeV)
... write Root file : B5.root - done
... close Root file : B5.root - done
### Run 8 starts.
@@ -1128,23 +1179,25 @@ Hadron Calorimeter has 0 hits. Total Edep is 0 (MeV)
>>> Event 0 >>> Simulation truth : e+ (0,0,1000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 4.9867836861458 (nsec)
Hodoscope[7] 4.9867835109519 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[9] 43.240376163714 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.6709654150686 (nsec) --- local (x,y) 1.743260748914, -0.12575453885966
Layer[1] : time 8.3388025175634 (nsec) --- local (x,y) 3.9737575424137, -0.22160870305408
Layer[2] : time 10.006642472378 (nsec) --- local (x,y) 6.375466601877, -0.47755933315591
Layer[3] : time 11.674484911535 (nsec) --- local (x,y) 8.9369749704165, -0.60229295097392
Layer[4] : time 13.342329745888 (nsec) --- local (x,y) 11.635840368744, -0.71462390368034
Hodoscope[9] 43.187994929514 (nsec)
Drift Chamber 1 has 7 hits.
Layer[0] : time 6.6709510701993 (nsec) --- local (x,y) 0.74809019072984, -0.016097999552182
Layer[0] : time 6.8536510333498 (nsec) --- local (x,y) 59.936884848627, 77.849152737753
Layer[1] : time 8.3387722850071 (nsec) --- local (x,y) 1.1841180486128, 0.14457562890344
Layer[1] : time 8.6665218694308 (nsec) --- local (x,y) -71.072239726416, 7.5056179432058
Layer[2] : time 10.006593605869 (nsec) --- local (x,y) 1.6192679828801, 0.38842209627889
Layer[3] : time 11.674416290734 (nsec) --- local (x,y) 2.3129110981386, 0.8001612305621
Layer[4] : time 13.342239592035 (nsec) --- local (x,y) 2.8639496301188, 1.534244442285
Drift Chamber 2 has 5 hits.
Layer[0] : time 34.901226560394 (nsec) --- local (x,y) -120.61588751532, 1.5816812384623
Layer[1] : time 36.572296466195 (nsec) --- local (x,y) -151.8425212456, 1.5798066078161
Layer[2] : time 38.243380615176 (nsec) --- local (x,y) -183.13747919801, 1.6616157543304
Layer[3] : time 39.914477930695 (nsec) --- local (x,y) -214.49550688403, 1.7619737947494
Layer[4] : time 41.58557627012 (nsec) --- local (x,y) -245.8584091094, 1.8573705094408
EM Calorimeter has 10 hits. Total Edep is 970.60015139061 (MeV)
Hadron Calorimeter has 1 hits. Total Edep is 1.4332823665711 (MeV)
Layer[0] : time 34.846999343119 (nsec) --- local (x,y) -164.89757897708, 47.534868483809
Layer[1] : time 36.518506421385 (nsec) --- local (x,y) -197.85184068105, 52.056661375148
Layer[2] : time 38.189988518476 (nsec) --- local (x,y) -230.71509481053, 56.407598266982
Layer[3] : time 39.861494677481 (nsec) --- local (x,y) -263.66866281009, 60.901066557876
Layer[4] : time 41.532960380325 (nsec) --- local (x,y) -296.4480427939, 65.315573792381
EM Calorimeter has 8 hits. Total Edep is 963.17659635852 (MeV)
Hadron Calorimeter has 1 hits. Total Edep is 0.4464932642345 (MeV)
... write Root file : B5.root - done
... close Root file : B5.root - done
Graphics systems deleted.
+1 -1
View File
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: B5EventAction.cc 108624 2018-02-26 11:48:31Z gcosmo $
// $Id: B5EventAction.cc 108609 2018-02-26 10:22:22Z gcosmo $
//
/// \file B5EventAction.cc
/// \brief Implementation of the B5EventAction class