Import Geant4 10.2.0 source tree
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//$Id$
|
||||
|
||||
///\file "field/.README"
|
||||
///\file "field/.README.txt"
|
||||
///\brief Examples field README page
|
||||
|
||||
/*! \page Examples_field Category "field"
|
||||
@@ -33,7 +33,7 @@ This example demonstrates so-called "spin-frozen" condition.
|
||||
|
||||
\link Examplefield06 field06 \endlink
|
||||
|
||||
This example exercises the new (in 9.5) capability of tracking massive
|
||||
This example exercises the capability of tracking massive
|
||||
particles in a gravity field.
|
||||
|
||||
\link ExampleBlineTracer BlineTracer \endlink
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
$Id$
|
||||
|
||||
///\file "field/BlineTracer/.README"
|
||||
///\file "field/BlineTracer/.README.txt"
|
||||
///\brief Example BlineTracer README page
|
||||
|
||||
/*! \page ExampleBlineTracer Example BlineTracer
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
//$Id$
|
||||
|
||||
///\file "field/field01/.README"
|
||||
///\file "field/field01/.README.txt"
|
||||
///\brief Example field01 README page
|
||||
|
||||
/*! \page Examplefield01 Example field01
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History 78053 2013-12-03 08:25:13Z gcosmo $
|
||||
$Id: History 92496 2015-09-02 07:22:25Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -15,6 +15,14 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
September 01, 2015 - I. Hrivnacova - fieldex01-V10-01-02
|
||||
- Removed F01EventActionMessenger classes, now obsolete, and
|
||||
replaced /event/printModulo commands in macros with /run/printProgress
|
||||
- Code cleanup
|
||||
|
||||
May 22, 2015 - P. Gumplinger - fieldex01-V10-01-00
|
||||
- apply coding guideline 3.3
|
||||
|
||||
December 02, 2013
|
||||
- More fixes in gui.mac:
|
||||
Let execute vis.mac first to make the command in added menus available;
|
||||
|
||||
@@ -44,5 +44,5 @@
|
||||
/run/beamOn 1
|
||||
|
||||
/tracking/verbose 0
|
||||
/event/printModulo 10
|
||||
/run/printProgress 10
|
||||
/run/beamOn 100
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
############################################
|
||||
|
||||
*************************************************************
|
||||
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
|
||||
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
|
||||
Copyright : Geant4 Collaboration
|
||||
Reference : NIM A 506 (2003), 250-303
|
||||
WWW : http://cern.ch/geant4
|
||||
@@ -16,179 +16,179 @@
|
||||
Material: Mylar density: 1.390 g/cm3 RadL: 28.743 cm Nucl.Int.Length: 56.319 cm
|
||||
Imean: 75.967 eV
|
||||
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
|
||||
ElmMassFraction: 33.30 % ElmAbundance 18.18 %
|
||||
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
|
||||
ElmMassFraction: 62.49 % ElmAbundance 45.45 %
|
||||
|
||||
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
|
||||
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
|
||||
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
|
||||
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
|
||||
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
|
||||
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
|
||||
ElmMassFraction: 4.20 % ElmAbundance 36.36 %
|
||||
|
||||
|
||||
Material: Polypropelene density: 910.000 mg/cm3 RadL: 49.214 cm Nucl.Int.Length: 74.282 cm
|
||||
Imean: 56.518 eV
|
||||
|
||||
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
|
||||
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
|
||||
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
|
||||
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
|
||||
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
|
||||
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
|
||||
ElmMassFraction: 14.40 % ElmAbundance 66.67 %
|
||||
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
|
||||
ElmMassFraction: 85.60 % ElmAbundance 33.33 %
|
||||
|
||||
|
||||
Material: Kr density: 3.700 mg/cm3 RadL: 30.736 m Nucl.Int.Length: 413.950 m
|
||||
Imean: 352.000 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 352.000 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Kr (Kr) Z = 36.0 N = 83.8 A = 83.80 g/mole
|
||||
---> Isotope: Kr78 Z = 36 N = 78 A = 77.92 g/mole abundance: 0.35 %
|
||||
---> Isotope: Kr80 Z = 36 N = 80 A = 79.92 g/mole abundance: 2.28 %
|
||||
---> Isotope: Kr82 Z = 36 N = 82 A = 81.91 g/mole abundance: 11.58 %
|
||||
---> Isotope: Kr83 Z = 36 N = 83 A = 82.91 g/mole abundance: 11.49 %
|
||||
---> Isotope: Kr84 Z = 36 N = 84 A = 83.91 g/mole abundance: 57.00 %
|
||||
---> Isotope: Kr86 Z = 36 N = 86 A = 85.91 g/mole abundance: 17.30 %
|
||||
---> Element: Kr (Kr) Z = 36.0 N = 84 A = 83.800 g/mole
|
||||
---> Isotope: Kr78 Z = 36 N = 78 A = 77.92 g/mole abundance: 0.350 %
|
||||
---> Isotope: Kr80 Z = 36 N = 80 A = 79.92 g/mole abundance: 2.280 %
|
||||
---> Isotope: Kr82 Z = 36 N = 82 A = 81.91 g/mole abundance: 11.580 %
|
||||
---> Isotope: Kr83 Z = 36 N = 83 A = 82.91 g/mole abundance: 11.490 %
|
||||
---> Isotope: Kr84 Z = 36 N = 84 A = 83.91 g/mole abundance: 57.000 %
|
||||
---> Isotope: Kr86 Z = 36 N = 86 A = 85.91 g/mole abundance: 17.300 %
|
||||
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
|
||||
|
||||
|
||||
Material: Argon density: 1.784 mg/cm3 RadL: 109.604 m Nucl.Int.Length: 670.814 m
|
||||
Imean: 188.000 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 188.000 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Argon (Ar) Z = 18.0 N = 39.9 A = 39.95 g/mole
|
||||
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
|
||||
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
|
||||
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
|
||||
---> Element: Argon (Ar) Z = 18.0 N = 40 A = 39.948 g/mole
|
||||
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
|
||||
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
|
||||
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
|
||||
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
|
||||
|
||||
|
||||
Material: N2 density: 1.251 mg/cm3 RadL: 303.846 m Nucl.Int.Length: 674.714 m
|
||||
Imean: 82.000 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 82.000 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole
|
||||
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.63 %
|
||||
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.37 %
|
||||
---> Element: Nitrogen (N) Z = 7.0 N = 14 A = 14.010 g/mole
|
||||
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.632 %
|
||||
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.368 %
|
||||
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
|
||||
|
||||
|
||||
Material: O2 density: 1.429 mg/cm3 RadL: 239.621 m Nucl.Int.Length: 617.219 m
|
||||
Imean: 95.000 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 95.000 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
|
||||
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
|
||||
|
||||
|
||||
Material: Air density: 0.000 kg/m3 RadL: 28329263.098 km Nucl.Int.Length: 66178552.895 km
|
||||
Material: Air density: 0.000 kg/m3 RadL: 28329263.098 km Nucl.Int.Length: 66178552.901 km
|
||||
Imean: 85.664 eV temperature: 273.15 K pressure: 0.00 atm
|
||||
|
||||
---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole
|
||||
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.63 %
|
||||
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.37 %
|
||||
---> Element: Nitrogen (N) Z = 7.0 N = 14 A = 14.010 g/mole
|
||||
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.632 %
|
||||
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.368 %
|
||||
ElmMassFraction: 75.57 % ElmAbundance 78.48 %
|
||||
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
|
||||
ElmMassFraction: 23.15 % ElmAbundance 21.05 %
|
||||
|
||||
---> Element: Argon (Ar) Z = 18.0 N = 39.9 A = 39.95 g/mole
|
||||
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
|
||||
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
|
||||
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
|
||||
---> Element: Argon (Ar) Z = 18.0 N = 40 A = 39.948 g/mole
|
||||
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
|
||||
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
|
||||
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
|
||||
ElmMassFraction: 1.28 % ElmAbundance 0.47 %
|
||||
|
||||
|
||||
Material: Xenon density: 5.858 mg/cm3 RadL: 14.478 m Nucl.Int.Length: 303.666 m
|
||||
Imean: 482.000 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 482.000 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Xe (Xe) Z = 54.0 N = 131.3 A = 131.29 g/mole
|
||||
---> Isotope: Xe124 Z = 54 N = 124 A = 123.91 g/mole abundance: 0.09 %
|
||||
---> Isotope: Xe126 Z = 54 N = 126 A = 125.90 g/mole abundance: 0.09 %
|
||||
---> Isotope: Xe128 Z = 54 N = 128 A = 127.90 g/mole abundance: 1.92 %
|
||||
---> Isotope: Xe129 Z = 54 N = 129 A = 128.91 g/mole abundance: 26.44 %
|
||||
---> Isotope: Xe130 Z = 54 N = 130 A = 129.90 g/mole abundance: 4.08 %
|
||||
---> Isotope: Xe131 Z = 54 N = 131 A = 130.90 g/mole abundance: 21.18 %
|
||||
---> Isotope: Xe132 Z = 54 N = 132 A = 131.90 g/mole abundance: 26.89 %
|
||||
---> Isotope: Xe134 Z = 54 N = 134 A = 133.91 g/mole abundance: 10.44 %
|
||||
---> Isotope: Xe136 Z = 54 N = 136 A = 135.91 g/mole abundance: 8.87 %
|
||||
---> Element: Xe (Xe) Z = 54.0 N = 131 A = 131.290 g/mole
|
||||
---> Isotope: Xe124 Z = 54 N = 124 A = 123.91 g/mole abundance: 0.090 %
|
||||
---> Isotope: Xe126 Z = 54 N = 126 A = 125.90 g/mole abundance: 0.090 %
|
||||
---> Isotope: Xe128 Z = 54 N = 128 A = 127.90 g/mole abundance: 1.920 %
|
||||
---> Isotope: Xe129 Z = 54 N = 129 A = 128.91 g/mole abundance: 26.440 %
|
||||
---> Isotope: Xe130 Z = 54 N = 130 A = 129.90 g/mole abundance: 4.080 %
|
||||
---> Isotope: Xe131 Z = 54 N = 131 A = 130.90 g/mole abundance: 21.180 %
|
||||
---> Isotope: Xe132 Z = 54 N = 132 A = 131.90 g/mole abundance: 26.890 %
|
||||
---> Isotope: Xe134 Z = 54 N = 134 A = 133.91 g/mole abundance: 10.440 %
|
||||
---> Isotope: Xe136 Z = 54 N = 136 A = 135.91 g/mole abundance: 8.870 %
|
||||
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
|
||||
|
||||
|
||||
Material: CO2 density: 1.842 mg/cm3 RadL: 196.501 m Nucl.Int.Length: 466.037 m
|
||||
Imean: 90.958 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 90.958 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
|
||||
ElmMassFraction: 27.29 % ElmAbundance 33.33 %
|
||||
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
|
||||
ElmMassFraction: 72.71 % ElmAbundance 66.67 %
|
||||
|
||||
|
||||
Material: Xe20CO2 density: 5.082 mg/cm3 RadL: 17.750 m Nucl.Int.Length: 323.032 m
|
||||
Imean: 412.598 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 412.598 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Xe (Xe) Z = 54.0 N = 131.3 A = 131.29 g/mole
|
||||
---> Isotope: Xe124 Z = 54 N = 124 A = 123.91 g/mole abundance: 0.09 %
|
||||
---> Isotope: Xe126 Z = 54 N = 126 A = 125.90 g/mole abundance: 0.09 %
|
||||
---> Isotope: Xe128 Z = 54 N = 128 A = 127.90 g/mole abundance: 1.92 %
|
||||
---> Isotope: Xe129 Z = 54 N = 129 A = 128.91 g/mole abundance: 26.44 %
|
||||
---> Isotope: Xe130 Z = 54 N = 130 A = 129.90 g/mole abundance: 4.08 %
|
||||
---> Isotope: Xe131 Z = 54 N = 131 A = 130.90 g/mole abundance: 21.18 %
|
||||
---> Isotope: Xe132 Z = 54 N = 132 A = 131.90 g/mole abundance: 26.89 %
|
||||
---> Isotope: Xe134 Z = 54 N = 134 A = 133.91 g/mole abundance: 10.44 %
|
||||
---> Isotope: Xe136 Z = 54 N = 136 A = 135.91 g/mole abundance: 8.87 %
|
||||
---> Element: Xe (Xe) Z = 54.0 N = 131 A = 131.290 g/mole
|
||||
---> Isotope: Xe124 Z = 54 N = 124 A = 123.91 g/mole abundance: 0.090 %
|
||||
---> Isotope: Xe126 Z = 54 N = 126 A = 125.90 g/mole abundance: 0.090 %
|
||||
---> Isotope: Xe128 Z = 54 N = 128 A = 127.90 g/mole abundance: 1.920 %
|
||||
---> Isotope: Xe129 Z = 54 N = 129 A = 128.91 g/mole abundance: 26.440 %
|
||||
---> Isotope: Xe130 Z = 54 N = 130 A = 129.90 g/mole abundance: 4.080 %
|
||||
---> Isotope: Xe131 Z = 54 N = 131 A = 130.90 g/mole abundance: 21.180 %
|
||||
---> Isotope: Xe132 Z = 54 N = 132 A = 131.90 g/mole abundance: 26.890 %
|
||||
---> Isotope: Xe134 Z = 54 N = 134 A = 133.91 g/mole abundance: 10.440 %
|
||||
---> Isotope: Xe136 Z = 54 N = 136 A = 135.91 g/mole abundance: 8.870 %
|
||||
ElmMassFraction: 92.20 % ElmAbundance 56.91 %
|
||||
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
|
||||
ElmMassFraction: 2.13 % ElmAbundance 14.36 %
|
||||
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
|
||||
ElmMassFraction: 5.67 % ElmAbundance 28.73 %
|
||||
|
||||
|
||||
Material: Kr20CO2 density: 3.601 mg/cm3 RadL: 34.158 m Nucl.Int.Length: 391.555 m
|
||||
Imean: 296.926 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 296.926 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Kr (Kr) Z = 36.0 N = 83.8 A = 83.80 g/mole
|
||||
---> Isotope: Kr78 Z = 36 N = 78 A = 77.92 g/mole abundance: 0.35 %
|
||||
---> Isotope: Kr80 Z = 36 N = 80 A = 79.92 g/mole abundance: 2.28 %
|
||||
---> Isotope: Kr82 Z = 36 N = 82 A = 81.91 g/mole abundance: 11.58 %
|
||||
---> Isotope: Kr83 Z = 36 N = 83 A = 82.91 g/mole abundance: 11.49 %
|
||||
---> Isotope: Kr84 Z = 36 N = 84 A = 83.91 g/mole abundance: 57.00 %
|
||||
---> Isotope: Kr86 Z = 36 N = 86 A = 85.91 g/mole abundance: 17.30 %
|
||||
---> Element: Kr (Kr) Z = 36.0 N = 84 A = 83.800 g/mole
|
||||
---> Isotope: Kr78 Z = 36 N = 78 A = 77.92 g/mole abundance: 0.350 %
|
||||
---> Isotope: Kr80 Z = 36 N = 80 A = 79.92 g/mole abundance: 2.280 %
|
||||
---> Isotope: Kr82 Z = 36 N = 82 A = 81.91 g/mole abundance: 11.580 %
|
||||
---> Isotope: Kr83 Z = 36 N = 83 A = 82.91 g/mole abundance: 11.490 %
|
||||
---> Isotope: Kr84 Z = 36 N = 84 A = 83.91 g/mole abundance: 57.000 %
|
||||
---> Isotope: Kr86 Z = 36 N = 86 A = 85.91 g/mole abundance: 17.300 %
|
||||
ElmMassFraction: 89.00 % ElmAbundance 58.62 %
|
||||
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
|
||||
ElmMassFraction: 3.00 % ElmAbundance 13.79 %
|
||||
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
|
||||
ElmMassFraction: 8.00 % ElmAbundance 27.59 %
|
||||
|
||||
|
||||
@@ -199,7 +199,8 @@
|
||||
Z position of the (middle of the) absorber 21990 mm.
|
||||
|
||||
F01FieldSetup: magnetic field set to Uniform( (0.0033,0,0) )
|
||||
G4ClassicalRK4 (default) is called
|
||||
F01FieldSetup::CreateStepperAndChordFinder() called to reset Stepper.
|
||||
G4ClassicalRK4 (default) is chosen
|
||||
The minimal step is equal to 1 mm
|
||||
F01PhysicsList::SetCuts:CutLength : 1 mm
|
||||
|
||||
@@ -210,19 +211,21 @@ Registering graphics systems...
|
||||
|
||||
You have successfully registered the following graphics systems.
|
||||
Current available graphics systems are:
|
||||
ASCIITree (ATree)
|
||||
DAWNFILE (DAWNFILE)
|
||||
G4HepRep (HepRepXML)
|
||||
G4HepRepFile (HepRepFile)
|
||||
OpenGLImmediateX (OGLIX)
|
||||
OpenGLImmediateXm (OGLI, OGLIXm)
|
||||
OpenGLStoredX (OGLSX)
|
||||
OpenGLStoredXm (OGL, OGLS, OGLSXm)
|
||||
RayTracer (RayTracer)
|
||||
RayTracerX (RayTracerX)
|
||||
VRML1FILE (VRML1FILE)
|
||||
VRML2FILE (VRML2FILE)
|
||||
gMocrenFile (gMocrenFile)
|
||||
ASCIITree (ATree)
|
||||
DAWNFILE (DAWNFILE)
|
||||
G4HepRep (HepRepXML)
|
||||
G4HepRepFile (HepRepFile)
|
||||
RayTracer (RayTracer)
|
||||
VRML1FILE (VRML1FILE)
|
||||
VRML2FILE (VRML2FILE)
|
||||
gMocrenFile (gMocrenFile)
|
||||
OpenGLImmediateQt (OGLIQt, OGLI)
|
||||
OpenGLStoredQt (OGLSQt, OGL, OGLS)
|
||||
OpenGLImmediateXm (OGLIXm, OGLIQt_FALLBACK)
|
||||
OpenGLStoredXm (OGLSXm, OGLSQt_FALLBACK)
|
||||
OpenGLImmediateX (OGLIX, OGLIQt_FALLBACK, OGLIXm_FALLBACK)
|
||||
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
|
||||
RayTracerX (RayTracerX)
|
||||
|
||||
Registering model factories...
|
||||
|
||||
@@ -249,7 +252,11 @@ Some /vis commands (optionally) take a string to specify colour.
|
||||
Available colours:
|
||||
black, blue, brown, cyan, gray, green, grey, magenta, red, white, yellow
|
||||
|
||||
G4ClassicalRK4 (default) is called
|
||||
F01FieldSetup::CreateStepperAndChordFinder() called to reset Stepper.
|
||||
G4ClassicalRK4 (default) is chosen
|
||||
The minimal step is equal to 1 mm
|
||||
F01FieldSetup::CreateStepperAndChordFinder() called to reset Stepper.
|
||||
G4ClassicalRK4 (default) is chosen
|
||||
The minimal step is equal to 0.1 mm
|
||||
|
||||
phot: for gamma SubType= 12 BuildTable= 0
|
||||
@@ -279,7 +286,7 @@ eIoni: for e- SubType= 2
|
||||
eBrem: for e- SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
|
||||
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
|
||||
LPM flag: 1 for E > 1 GeV
|
||||
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
|
||||
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
|
||||
@@ -294,13 +301,13 @@ eIoni: for e+ SubType= 2
|
||||
eBrem: for e+ SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
|
||||
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
|
||||
LPM flag: 1 for E > 1 GeV
|
||||
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
|
||||
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
|
||||
|
||||
msc: for proton SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -313,7 +320,7 @@ hIoni: for proton SubType= 2
|
||||
BetheBloch : Emin= 2 MeV Emax= 10 TeV
|
||||
|
||||
msc: for kaon+ SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -326,7 +333,7 @@ hIoni: for kaon+ SubType= 2
|
||||
BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV
|
||||
|
||||
msc: for kaon- SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -339,7 +346,7 @@ hIoni: for kaon- SubType= 2
|
||||
BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV
|
||||
|
||||
msc: for mu+ SubType= 10
|
||||
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
|
||||
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -366,7 +373,7 @@ muPairProd: for mu+ SubType= 4
|
||||
muPairProd : Emin= 0 eV Emax= 10 TeV
|
||||
|
||||
msc: for mu- SubType= 10
|
||||
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
|
||||
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -393,7 +400,7 @@ muPairProd: for mu- SubType= 4
|
||||
muPairProd : Emin= 0 eV Emax= 10 TeV
|
||||
|
||||
msc: for pi+ SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -406,7 +413,7 @@ hIoni: for pi+ SubType= 2
|
||||
BetheBloch : Emin= 297.505 keV Emax= 10 TeV
|
||||
|
||||
msc: for pi- SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -430,12 +437,9 @@ Index : 0 used in the geometry : Yes
|
||||
====================================================================
|
||||
|
||||
### Run 0 starts.
|
||||
### Run 0 start.
|
||||
WARNING: Scene "none" not found.
|
||||
/vis/scene/list to see scenes.
|
||||
|
||||
---> Begin of Event: 0
|
||||
|
||||
*********************************************************************************************************
|
||||
* G4Track Information: Particle = e-, Track ID = 1, Parent ID = 0
|
||||
*********************************************************************************************************
|
||||
@@ -448,7 +452,7 @@ Step# X Y Z Direction x dir y dir
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 1
|
||||
User=0s Real=0s Sys=0s
|
||||
User=0.01s Real=0s Sys=0s
|
||||
WARNING: command "/vis/viewer/update" could not be applied: no current viewer.
|
||||
|
||||
========= Table of registered couples ==============================
|
||||
@@ -463,12 +467,9 @@ Index : 0 used in the geometry : Yes
|
||||
====================================================================
|
||||
|
||||
### Run 1 starts.
|
||||
### Run 1 start.
|
||||
WARNING: Scene "none" not found.
|
||||
/vis/scene/list to see scenes.
|
||||
|
||||
---> Begin of Event: 0
|
||||
|
||||
*********************************************************************************************************
|
||||
* G4Track Information: Particle = e-, Track ID = 1, Parent ID = 0
|
||||
*********************************************************************************************************
|
||||
@@ -496,12 +497,9 @@ Index : 0 used in the geometry : Yes
|
||||
====================================================================
|
||||
|
||||
### Run 2 starts.
|
||||
### Run 2 start.
|
||||
WARNING: Scene "none" not found.
|
||||
/vis/scene/list to see scenes.
|
||||
|
||||
---> Begin of Event: 0
|
||||
|
||||
*********************************************************************************************************
|
||||
* G4Track Information: Particle = e-, Track ID = 1, Parent ID = 0
|
||||
*********************************************************************************************************
|
||||
@@ -529,12 +527,9 @@ Index : 0 used in the geometry : Yes
|
||||
====================================================================
|
||||
|
||||
### Run 3 starts.
|
||||
### Run 3 start.
|
||||
WARNING: Scene "none" not found.
|
||||
/vis/scene/list to see scenes.
|
||||
|
||||
---> Begin of Event: 0
|
||||
|
||||
*********************************************************************************************************
|
||||
* G4Track Information: Particle = e-, Track ID = 1, Parent ID = 0
|
||||
*********************************************************************************************************
|
||||
@@ -562,12 +557,9 @@ Index : 0 used in the geometry : Yes
|
||||
====================================================================
|
||||
|
||||
### Run 4 starts.
|
||||
### Run 4 start.
|
||||
WARNING: Scene "none" not found.
|
||||
/vis/scene/list to see scenes.
|
||||
|
||||
---> Begin of Event: 0
|
||||
|
||||
*********************************************************************************************************
|
||||
* G4Track Information: Particle = e-, Track ID = 1, Parent ID = 0
|
||||
*********************************************************************************************************
|
||||
@@ -582,7 +574,8 @@ Run Summary
|
||||
Number of events processed : 1
|
||||
User=0s Real=0s Sys=0s
|
||||
WARNING: command "/vis/viewer/update" could not be applied: no current viewer.
|
||||
G4ClassicalRK4 (default) is called
|
||||
F01FieldSetup::CreateStepperAndChordFinder() called to reset Stepper.
|
||||
G4ClassicalRK4 (default) is chosen
|
||||
The minimal step is equal to 0.1 mm
|
||||
Setting Field strength to 1000 Gauss. Magnetic field vector is (0,0,1000) G
|
||||
|
||||
@@ -598,12 +591,9 @@ Index : 0 used in the geometry : Yes
|
||||
====================================================================
|
||||
|
||||
### Run 5 starts.
|
||||
### Run 5 start.
|
||||
WARNING: Scene "none" not found.
|
||||
/vis/scene/list to see scenes.
|
||||
|
||||
---> Begin of Event: 0
|
||||
|
||||
*********************************************************************************************************
|
||||
* G4Track Information: Particle = e-, Track ID = 1, Parent ID = 0
|
||||
*********************************************************************************************************
|
||||
@@ -629,40 +619,28 @@ Index : 0 used in the geometry : Yes
|
||||
====================================================================
|
||||
|
||||
### Run 6 starts.
|
||||
### Run 6 start.
|
||||
WARNING: Scene "none" not found.
|
||||
/vis/scene/list to see scenes.
|
||||
|
||||
---> Begin of Event: 0
|
||||
|
||||
---> Begin of Event: 10
|
||||
|
||||
---> Begin of Event: 20
|
||||
|
||||
---> Begin of Event: 30
|
||||
|
||||
---> Begin of Event: 40
|
||||
|
||||
---> Begin of Event: 50
|
||||
|
||||
---> Begin of Event: 60
|
||||
|
||||
---> Begin of Event: 70
|
||||
|
||||
---> Begin of Event: 80
|
||||
|
||||
---> Begin of Event: 90
|
||||
--> Event 0 starts.
|
||||
--> Event 10 starts.
|
||||
--> Event 20 starts.
|
||||
--> Event 30 starts.
|
||||
--> Event 40 starts.
|
||||
--> Event 50 starts.
|
||||
--> Event 60 starts.
|
||||
--> Event 70 starts.
|
||||
--> Event 80 starts.
|
||||
--> Event 90 starts.
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 100
|
||||
User=0.01s Real=0s Sys=0s
|
||||
User=0s Real=0s Sys=0s
|
||||
WARNING: command "/vis/viewer/update" could not be applied: no current viewer.
|
||||
Graphics systems deleted.
|
||||
Visualization Manager deleting...
|
||||
G4 kernel has come to Quit state.
|
||||
Total navigation history collections cleaned: 7
|
||||
================== Deleting memory pools ===================
|
||||
Number of memory pools allocated: 12 of which, static: 0
|
||||
Dynamic pools deleted: 12 / Total memory freed: 0.012 Mb
|
||||
Dynamic pools deleted: 12 / Total memory freed: 0.019 MB
|
||||
============================================================
|
||||
RunManagerKernel is deleted. Good bye :)
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Definition of the F01DetectorConstruction class
|
||||
//
|
||||
//
|
||||
// $Id: F01DetectorConstruction.hh 77483 2013-11-25 10:10:57Z gcosmo $
|
||||
// $Id: F01DetectorConstruction.hh 90341 2015-05-26 08:38:36Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -96,11 +96,11 @@ class F01DetectorConstruction : public G4VUserDetectorConstruction
|
||||
G4LogicalVolume* GetLogicalAbsorber() {return fLogicAbsorber;}
|
||||
|
||||
private:
|
||||
|
||||
F01DetectorMessenger* fDetectorMessenger; // pointer -> Messenger
|
||||
G4Cache<F01CalorimeterSD*> fCalorimeterSD; // pointer -> sensitive detector
|
||||
G4Cache<F01FieldSetup*> fEmFieldSetup;
|
||||
|
||||
|
||||
G4Tubs* fSolidWorld; // pointer to the solid World
|
||||
G4LogicalVolume* fLogicWorld; // pointer to the logical World
|
||||
G4VPhysicalVolume* fPhysiWorld; // pointer to the physical World
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Definition of the F01EventAction class
|
||||
//
|
||||
//
|
||||
// $Id: F01EventAction.hh 76248 2013-11-08 11:19:52Z gcosmo $
|
||||
// $Id: F01EventAction.hh 92496 2015-09-02 07:22:25Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -40,7 +40,6 @@
|
||||
#include "G4UserEventAction.hh"
|
||||
|
||||
class F01RunAction;
|
||||
class F01EventActionMessenger;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -54,17 +53,8 @@ class F01EventAction : public G4UserEventAction
|
||||
virtual void BeginOfEventAction(const G4Event*);
|
||||
virtual void EndOfEventAction(const G4Event*);
|
||||
|
||||
void SetEventVerbose(G4int level) {fVerboseLevel = level;}
|
||||
void SetPrintModulo(G4int val) {fPrintModulo = val;}
|
||||
|
||||
private:
|
||||
G4int fCalorimeterCollID;
|
||||
|
||||
F01EventActionMessenger* fEventMessenger;
|
||||
F01RunAction* fRunAction;
|
||||
|
||||
G4int fVerboseLevel;
|
||||
G4int fPrintModulo;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file field/field01/include/F01EventActionMessenger.hh
|
||||
/// \brief Definition of the F01EventActionMessenger class
|
||||
//
|
||||
//
|
||||
// $Id: F01EventActionMessenger.hh 76248 2013-11-08 11:19:52Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef F01EventActionMessenger_h
|
||||
#define F01EventActionMessenger_h 1
|
||||
|
||||
#include "G4UImessenger.hh"
|
||||
|
||||
class F01EventAction;
|
||||
class G4UIcmdWithAnInteger;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class F01EventActionMessenger: public G4UImessenger
|
||||
{
|
||||
public:
|
||||
F01EventActionMessenger(F01EventAction*);
|
||||
virtual ~F01EventActionMessenger();
|
||||
|
||||
virtual void SetNewValue(G4UIcommand*, G4String);
|
||||
|
||||
private:
|
||||
F01EventAction* fEventAction;
|
||||
|
||||
G4UIcmdWithAnInteger* fSetVerboseCmd;
|
||||
G4UIcmdWithAnInteger* fPrintCmd;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Definition of the F01FieldSetup class
|
||||
//
|
||||
//
|
||||
// $Id: F01FieldSetup.hh 77115 2013-11-21 15:06:37Z gcosmo $
|
||||
// $Id: F01FieldSetup.hh 90341 2015-05-26 08:38:36Z gcosmo $
|
||||
//
|
||||
//
|
||||
// A class for control of the Magnetic Field of the detector.
|
||||
@@ -62,7 +62,8 @@ public:
|
||||
|
||||
virtual ~F01FieldSetup();
|
||||
|
||||
void SetStepperType( G4int i ) { fStepperType = i; }
|
||||
void SetStepperType( G4int i )
|
||||
{ fStepperType = i; CreateStepperAndChordFinder(); }
|
||||
|
||||
void SetStepper();
|
||||
|
||||
|
||||
@@ -27,77 +27,48 @@
|
||||
/// \brief Implementation of the F01EventAction class
|
||||
//
|
||||
//
|
||||
// $Id: F01EventAction.cc 76248 2013-11-08 11:19:52Z gcosmo $
|
||||
// $Id: F01EventAction.cc 92496 2015-09-02 07:22:25Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "F01EventAction.hh"
|
||||
|
||||
#include "F01RunAction.hh"
|
||||
|
||||
#include "F01CalorHit.hh"
|
||||
#include "F01EventActionMessenger.hh"
|
||||
|
||||
#include "G4Event.hh"
|
||||
#include "G4EventManager.hh"
|
||||
#include "G4HCofThisEvent.hh"
|
||||
#include "G4VHitsCollection.hh"
|
||||
#include "G4SDManager.hh"
|
||||
#include "G4RunManager.hh"
|
||||
#include "Randomize.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F01EventAction::F01EventAction(F01RunAction* action)
|
||||
: G4UserEventAction(),
|
||||
fCalorimeterCollID(-1),
|
||||
fEventMessenger(0),
|
||||
fRunAction(action),
|
||||
fVerboseLevel(0),
|
||||
fPrintModulo(10000)
|
||||
{
|
||||
fEventMessenger = new F01EventActionMessenger(this);
|
||||
}
|
||||
fRunAction(action)
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F01EventAction::~F01EventAction()
|
||||
{
|
||||
delete fEventMessenger;
|
||||
}
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F01EventAction::BeginOfEventAction(const G4Event* evt)
|
||||
{
|
||||
G4int evtNb = evt->GetEventID();
|
||||
if (evtNb%fPrintModulo == 0)
|
||||
G4cout << "\n---> Begin of Event: " << evtNb << G4endl;
|
||||
|
||||
if (fVerboseLevel>1)
|
||||
G4cout << "<<< Event " << evtNb << " started." << G4endl;
|
||||
|
||||
if (fCalorimeterCollID==-1)
|
||||
{
|
||||
G4SDManager * sdManager = G4SDManager::GetSDMpointer();
|
||||
fCalorimeterCollID = sdManager->GetCollectionID("CalCollection");
|
||||
}
|
||||
}
|
||||
void F01EventAction::BeginOfEventAction(const G4Event*)
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F01EventAction::EndOfEventAction(const G4Event* evt)
|
||||
{
|
||||
if (fVerboseLevel>0)
|
||||
G4cout << "<<< Event " << evt->GetEventID() << " ended." << G4endl;
|
||||
|
||||
// save rndm status
|
||||
if (fRunAction->GetRndmFreq() == 2)
|
||||
{
|
||||
G4Random::saveEngineStatus("endOfEvent.rndm");
|
||||
|
||||
G4int evtNb = evt->GetEventID();
|
||||
if (evtNb%fPrintModulo == 0)
|
||||
G4int printProgress = G4RunManager::GetRunManager()->GetPrintProgress();
|
||||
if (evtNb%printProgress == 0)
|
||||
{
|
||||
G4cout << "\n---> End of Event: " << evtNb << G4endl;
|
||||
G4Random::showEngineStatus();
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file field/field01/src/F01EventActionMessenger.cc
|
||||
/// \brief Implementation of the F01EventActionMessenger class
|
||||
//
|
||||
//
|
||||
// $Id: F01EventActionMessenger.cc 76248 2013-11-08 11:19:52Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "F01EventActionMessenger.hh"
|
||||
|
||||
#include "F01EventAction.hh"
|
||||
#include "G4UIcmdWithAnInteger.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F01EventActionMessenger::F01EventActionMessenger(F01EventAction* evAct)
|
||||
: G4UImessenger(),
|
||||
fEventAction(evAct),
|
||||
fSetVerboseCmd(0),
|
||||
fPrintCmd(0)
|
||||
{
|
||||
fSetVerboseCmd = new G4UIcmdWithAnInteger("/event/setverbose",this);
|
||||
fSetVerboseCmd->SetGuidance("Set verbose level .");
|
||||
fSetVerboseCmd->SetParameterName("level",true);
|
||||
fSetVerboseCmd->SetDefaultValue(0);
|
||||
|
||||
fPrintCmd = new G4UIcmdWithAnInteger("/event/printModulo",this);
|
||||
fPrintCmd->SetGuidance("Print events modulo n");
|
||||
fPrintCmd->SetParameterName("EventNb",false);
|
||||
fPrintCmd->SetRange("EventNb>0");
|
||||
fPrintCmd->AvailableForStates(G4State_Idle);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F01EventActionMessenger::~F01EventActionMessenger()
|
||||
{
|
||||
delete fSetVerboseCmd;
|
||||
delete fPrintCmd;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F01EventActionMessenger::SetNewValue(G4UIcommand * command,
|
||||
G4String newValue)
|
||||
{
|
||||
if(command == fSetVerboseCmd)
|
||||
{fEventAction->SetEventVerbose(fSetVerboseCmd->GetNewIntValue(newValue));}
|
||||
|
||||
if(command == fPrintCmd)
|
||||
{fEventAction->SetPrintModulo(fPrintCmd->GetNewIntValue(newValue));}
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Implementation of the F01FieldSetup class
|
||||
//
|
||||
//
|
||||
// $Id: F01FieldSetup.cc 77115 2013-11-21 15:06:37Z gcosmo $
|
||||
// $Id: F01FieldSetup.cc 90341 2015-05-26 08:38:36Z gcosmo $
|
||||
//
|
||||
// User Field setup class implementation.
|
||||
//
|
||||
@@ -56,6 +56,10 @@
|
||||
#include "G4HelixSimpleRunge.hh"
|
||||
#include "G4CashKarpRKF45.hh"
|
||||
#include "G4RKG3_Stepper.hh"
|
||||
#include "G4ConstRK4.hh"
|
||||
#include "G4NystromRK4.hh"
|
||||
#include "G4HelixMixedStepper.hh"
|
||||
#include "G4ExactHelixStepper.hh"
|
||||
|
||||
#include "G4PhysicalConstants.hh"
|
||||
#include "G4SystemOfUnits.hh"
|
||||
@@ -129,6 +133,9 @@ void F01FieldSetup::CreateStepperAndChordFinder()
|
||||
{
|
||||
// Update field
|
||||
|
||||
G4cout<< " F01FieldSetup::CreateStepperAndChordFinder() called "
|
||||
<< " to reset Stepper." << G4endl;
|
||||
|
||||
SetStepper();
|
||||
G4cout<<"The minimal step is equal to "<<fMinStep/mm<<" mm"<<G4endl;
|
||||
|
||||
@@ -153,45 +160,64 @@ void F01FieldSetup::SetStepper()
|
||||
{
|
||||
case 0:
|
||||
fStepper = new G4ExplicitEuler( fEquation );
|
||||
G4cout<<"G4ExplicitEuler is calledS"<<G4endl;
|
||||
G4cout<<"G4ExplicitEuler is chosen."<<G4endl;
|
||||
break;
|
||||
case 1:
|
||||
fStepper = new G4ImplicitEuler( fEquation );
|
||||
G4cout<<"G4ImplicitEuler is called"<<G4endl;
|
||||
G4cout<<"G4ImplicitEuler is chosen"<<G4endl;
|
||||
break;
|
||||
case 2:
|
||||
fStepper = new G4SimpleRunge( fEquation );
|
||||
G4cout<<"G4SimpleRunge is called"<<G4endl;
|
||||
G4cout<<"G4SimpleRunge is chosen"<<G4endl;
|
||||
break;
|
||||
case 3:
|
||||
fStepper = new G4SimpleHeum( fEquation );
|
||||
G4cout<<"G4SimpleHeum is called"<<G4endl;
|
||||
G4cout<<"G4SimpleHeum is chosen"<<G4endl;
|
||||
break;
|
||||
case 4:
|
||||
fStepper = new G4ClassicalRK4( fEquation );
|
||||
G4cout<<"G4ClassicalRK4 (default) is called"<<G4endl;
|
||||
G4cout<<"G4ClassicalRK4 (default) is chosen"<<G4endl;
|
||||
break;
|
||||
case 5:
|
||||
fStepper = new G4HelixExplicitEuler( fEquation );
|
||||
G4cout<<"G4HelixExplicitEuler is called"<<G4endl;
|
||||
G4cout<<"G4HelixExplicitEuler is chosen"<<G4endl;
|
||||
break;
|
||||
case 6:
|
||||
fStepper = new G4HelixImplicitEuler( fEquation );
|
||||
G4cout<<"G4HelixImplicitEuler is called"<<G4endl;
|
||||
G4cout<<"G4HelixImplicitEuler is chosen"<<G4endl;
|
||||
break;
|
||||
case 7:
|
||||
fStepper = new G4HelixSimpleRunge( fEquation );
|
||||
G4cout<<"G4HelixSimpleRunge is called"<<G4endl;
|
||||
G4cout<<"G4HelixSimpleRunge is chosen"<<G4endl;
|
||||
break;
|
||||
case 8:
|
||||
fStepper = new G4CashKarpRKF45( fEquation );
|
||||
G4cout<<"G4CashKarpRKF45 is called"<<G4endl;
|
||||
G4cout<<"G4CashKarpRKF45 is chosen"<<G4endl;
|
||||
break;
|
||||
case 9:
|
||||
fStepper = new G4RKG3_Stepper( fEquation );
|
||||
G4cout<<"G4RKG3_Stepper is called"<<G4endl;
|
||||
G4cout<<"G4RKG3_Stepper is chosen"<<G4endl;
|
||||
break;
|
||||
case 10:
|
||||
fStepper = new G4ExactHelixStepper( fEquation );
|
||||
G4cout<<"G4ExactHelixStepper is chosen"<<G4endl;
|
||||
break;
|
||||
case 11:
|
||||
fStepper = new G4HelixMixedStepper( fEquation );
|
||||
G4cout<<"G4HelixMixedStepper is chosen"<<G4endl;
|
||||
break;
|
||||
case 12:
|
||||
fStepper = new G4ConstRK4( fEquation );
|
||||
G4cout<<"G4ConstRK4 Stepper is chosen"<<G4endl;
|
||||
break;
|
||||
case 13:
|
||||
fStepper = new G4NystromRK4( fEquation );
|
||||
G4cout<<" G4NystromRK4 Stepper is chosen"<<G4endl;
|
||||
break;
|
||||
default: // fStepper = 4;
|
||||
fStepper = new G4ClassicalRK4( fEquation );
|
||||
G4cout<<"G4ClassicalRK4 Stepper (default) is chosen"<<G4endl;
|
||||
break;
|
||||
default: fStepper = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Implementation of the F01RunAction class
|
||||
//
|
||||
//
|
||||
// $Id: F01RunAction.cc 76248 2013-11-08 11:19:52Z gcosmo $
|
||||
// $Id: F01RunAction.cc 92496 2015-09-02 07:22:25Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -61,10 +61,8 @@ F01RunAction::~F01RunAction()
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F01RunAction::BeginOfRunAction(const G4Run* run)
|
||||
void F01RunAction::BeginOfRunAction(const G4Run*)
|
||||
{
|
||||
G4cout << "### Run " << run->GetRunID() << " start." << G4endl;
|
||||
|
||||
// save Rndm status
|
||||
if (fSaveRndm > 0)
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
//$Id$
|
||||
|
||||
///\file "field/field02/.README"
|
||||
///\file "field/field02/.README.txt"
|
||||
///\brief Example field02 README page
|
||||
|
||||
/*! \page Examplefield02 Example field02
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History 78053 2013-12-03 08:25:13Z gcosmo $
|
||||
$Id: History 92497 2015-09-02 07:23:12Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -15,6 +15,14 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
September 01, 2015 - I. Hrivnacova - fieldex02-V10-01-02
|
||||
- Removed F02EventActionMessenger class, now obsolete, and
|
||||
replaced /event/printModulo commands in macros with /run/printProgress
|
||||
- Code cleanup
|
||||
|
||||
May 22, 2015 - P. Gumplinger - fieldex02-V10-01-00
|
||||
- apply coding guideline 3.3
|
||||
|
||||
December 02, 2013
|
||||
- More fixes in gui.mac:
|
||||
Let execute vis.mac first to make the command in added menus available;
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
/gun/particle e-
|
||||
/gun/energy 50.0 MeV
|
||||
#
|
||||
/event/printModulo 50
|
||||
/run/printProgress 50
|
||||
/run/beamOn 100
|
||||
#
|
||||
|
||||
+1992
-2234
File diff suppressed because it is too large
Load Diff
@@ -27,7 +27,7 @@
|
||||
/// \brief Definition of the F02DetectorConstruction class
|
||||
//
|
||||
//
|
||||
// $Id: F02DetectorConstruction.hh 77484 2013-11-25 10:11:57Z gcosmo $
|
||||
// $Id: F02DetectorConstruction.hh 90340 2015-05-26 08:38:06Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -96,11 +96,11 @@ class F02DetectorConstruction : public G4VUserDetectorConstruction
|
||||
G4LogicalVolume* GetLogicalAbsorber() {return fLogicAbsorber;}
|
||||
|
||||
private:
|
||||
|
||||
F02DetectorMessenger* fDetectorMessenger; // pointer -> Messenger
|
||||
G4Cache<F02CalorimeterSD*> fCalorimeterSD; // pointer -> sensitive detector
|
||||
G4Cache<F02ElectricFieldSetup*> fEmFieldSetup;
|
||||
|
||||
|
||||
G4Tubs* fSolidWorld; // pointer to the solid World
|
||||
G4LogicalVolume* fLogicWorld; // pointer to the logical World
|
||||
G4VPhysicalVolume* fPhysiWorld; // pointer to the physical World
|
||||
@@ -136,7 +136,6 @@ inline void F02DetectorConstruction::ComputeCalorParameters()
|
||||
|
||||
fZStartAbs = fZAbsorber-0.5*fAbsorberThickness;
|
||||
fZEndAbs = fZAbsorber+0.5*fAbsorberThickness;
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Definition of the F02EventAction class
|
||||
//
|
||||
//
|
||||
// $Id: F02EventAction.hh 76247 2013-11-08 11:18:52Z gcosmo $
|
||||
// $Id: F02EventAction.hh 92497 2015-09-02 07:23:12Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -40,7 +40,6 @@
|
||||
#include "G4UserEventAction.hh"
|
||||
|
||||
class F02RunAction;
|
||||
class F02EventActionMessenger;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -54,17 +53,8 @@ class F02EventAction : public G4UserEventAction
|
||||
virtual void BeginOfEventAction(const G4Event*);
|
||||
virtual void EndOfEventAction(const G4Event*);
|
||||
|
||||
void SetEventVerbose(G4int level) {fVerboseLevel = level;}
|
||||
void SetPrintModulo(G4int val) {fPrintModulo = val;}
|
||||
|
||||
private:
|
||||
G4int fCalorimeterCollID;
|
||||
|
||||
F02EventActionMessenger* fEventMessenger;
|
||||
F02RunAction* fRunAction;
|
||||
|
||||
G4int fVerboseLevel;
|
||||
G4int fPrintModulo;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file field/field02/include/F02EventActionMessenger.hh
|
||||
/// \brief Definition of the F02EventActionMessenger class
|
||||
//
|
||||
//
|
||||
// $Id: F02EventActionMessenger.hh 76247 2013-11-08 11:18:52Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef F02EventActionMessenger_h
|
||||
#define F02EventActionMessenger_h 1
|
||||
|
||||
#include "G4UImessenger.hh"
|
||||
|
||||
class F02EventAction;
|
||||
class G4UIcmdWithAnInteger;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class F02EventActionMessenger: public G4UImessenger
|
||||
{
|
||||
public:
|
||||
F02EventActionMessenger(F02EventAction*);
|
||||
virtual ~F02EventActionMessenger();
|
||||
|
||||
virtual void SetNewValue(G4UIcommand*, G4String);
|
||||
|
||||
private:
|
||||
F02EventAction* fEventAction;
|
||||
|
||||
G4UIcmdWithAnInteger* fSetVerboseCmd;
|
||||
G4UIcmdWithAnInteger* fPrintCmd;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -27,77 +27,48 @@
|
||||
/// \brief Implementation of the F02EventAction class
|
||||
//
|
||||
//
|
||||
// $Id: F02EventAction.cc 76247 2013-11-08 11:18:52Z gcosmo $
|
||||
// $Id: F02EventAction.cc 92497 2015-09-02 07:23:12Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "F02EventAction.hh"
|
||||
|
||||
#include "F02RunAction.hh"
|
||||
|
||||
#include "F02CalorHit.hh"
|
||||
#include "F02EventActionMessenger.hh"
|
||||
|
||||
#include "G4Event.hh"
|
||||
#include "G4EventManager.hh"
|
||||
#include "G4HCofThisEvent.hh"
|
||||
#include "G4VHitsCollection.hh"
|
||||
#include "G4SDManager.hh"
|
||||
#include "G4RunManager.hh"
|
||||
#include "Randomize.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F02EventAction::F02EventAction(F02RunAction* action)
|
||||
: G4UserEventAction(),
|
||||
fCalorimeterCollID(-1),
|
||||
fEventMessenger(0),
|
||||
fRunAction(action),
|
||||
fVerboseLevel(0),
|
||||
fPrintModulo(10000)
|
||||
{
|
||||
fEventMessenger = new F02EventActionMessenger(this);
|
||||
}
|
||||
fRunAction(action)
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F02EventAction::~F02EventAction()
|
||||
{
|
||||
delete fEventMessenger;
|
||||
}
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F02EventAction::BeginOfEventAction(const G4Event* evt)
|
||||
{
|
||||
G4int evtNb = evt->GetEventID();
|
||||
if (evtNb%fPrintModulo == 0)
|
||||
G4cout << "\n---> Begin of Event: " << evtNb << G4endl;
|
||||
|
||||
if (fVerboseLevel>1)
|
||||
G4cout << "<<< Event " << evtNb << " started." << G4endl;
|
||||
|
||||
if (fCalorimeterCollID==-1)
|
||||
{
|
||||
G4SDManager * sdManager = G4SDManager::GetSDMpointer();
|
||||
fCalorimeterCollID = sdManager->GetCollectionID("CalCollection");
|
||||
}
|
||||
}
|
||||
void F02EventAction::BeginOfEventAction(const G4Event*)
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F02EventAction::EndOfEventAction(const G4Event* evt)
|
||||
{
|
||||
if (fVerboseLevel>0)
|
||||
G4cout << "<<< Event " << evt->GetEventID() << " ended." << G4endl;
|
||||
|
||||
// save rndm status
|
||||
if (fRunAction->GetRndmFreq() == 2)
|
||||
{
|
||||
G4Random::saveEngineStatus("endOfEvent.rndm");
|
||||
|
||||
G4int evtNb = evt->GetEventID();
|
||||
if (evtNb%fPrintModulo == 0)
|
||||
G4int printProgress = G4RunManager::GetRunManager()->GetPrintProgress();
|
||||
if (evtNb%printProgress == 0)
|
||||
{
|
||||
G4cout << "\n---> End of Event: " << evtNb << G4endl;
|
||||
G4Random::showEngineStatus();
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file field/field02/src/F02EventActionMessenger.cc
|
||||
/// \brief Implementation of the F02EventActionMessenger class
|
||||
//
|
||||
//
|
||||
// $Id: F02EventActionMessenger.cc 76247 2013-11-08 11:18:52Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "F02EventActionMessenger.hh"
|
||||
|
||||
#include "F02EventAction.hh"
|
||||
#include "G4UIcmdWithAnInteger.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F02EventActionMessenger::F02EventActionMessenger(F02EventAction* evAct)
|
||||
: G4UImessenger(),
|
||||
fEventAction(evAct),
|
||||
fSetVerboseCmd(0),
|
||||
fPrintCmd(0)
|
||||
{
|
||||
fSetVerboseCmd = new G4UIcmdWithAnInteger("/event/setverbose",this);
|
||||
fSetVerboseCmd->SetGuidance("Set verbose level .");
|
||||
fSetVerboseCmd->SetParameterName("level",true);
|
||||
fSetVerboseCmd->SetDefaultValue(0);
|
||||
|
||||
fPrintCmd = new G4UIcmdWithAnInteger("/event/printModulo",this);
|
||||
fPrintCmd->SetGuidance("Print events modulo n");
|
||||
fPrintCmd->SetParameterName("EventNb",false);
|
||||
fPrintCmd->SetRange("EventNb>0");
|
||||
fPrintCmd->AvailableForStates(G4State_Idle);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F02EventActionMessenger::~F02EventActionMessenger()
|
||||
{
|
||||
delete fSetVerboseCmd;
|
||||
delete fPrintCmd;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F02EventActionMessenger::SetNewValue(G4UIcommand * command,
|
||||
G4String newValue)
|
||||
{
|
||||
if(command == fSetVerboseCmd)
|
||||
{fEventAction->SetEventVerbose(fSetVerboseCmd->GetNewIntValue(newValue));}
|
||||
|
||||
if(command == fPrintCmd)
|
||||
{fEventAction->SetPrintModulo(fPrintCmd->GetNewIntValue(newValue));}
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Implementation of the F02RunAction class
|
||||
//
|
||||
//
|
||||
// $Id: F02RunAction.cc 76247 2013-11-08 11:18:52Z gcosmo $
|
||||
// $Id: F02RunAction.cc 92497 2015-09-02 07:23:12Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -61,10 +61,8 @@ F02RunAction::~F02RunAction()
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F02RunAction::BeginOfRunAction(const G4Run* run)
|
||||
void F02RunAction::BeginOfRunAction(const G4Run*)
|
||||
{
|
||||
G4cout << "### Run " << run->GetRunID() << " start." << G4endl;
|
||||
|
||||
// save Rndm status
|
||||
if (fSaveRndm > 0)
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
//$Id$
|
||||
|
||||
///\file "field/field03/.README"
|
||||
///\file "field/field03/.README.txt"
|
||||
///\brief Example field03 README page
|
||||
|
||||
/*! \page Examplefield03 Example field03
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History 78053 2013-12-03 08:25:13Z gcosmo $
|
||||
$Id: History 92498 2015-09-02 07:24:12Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -15,6 +15,11 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
September 01, 2015 - I. Hrivnacova - fieldex03-V10-01-00
|
||||
- Removed F03EventActionMessenger class, now obsolete, and
|
||||
replaced /event/printModulo commands in macros with /run/printProgress
|
||||
- Code cleanup
|
||||
|
||||
December 02, 2013
|
||||
- More fixes in gui.mac:
|
||||
Let execute vis.mac first to make the command in added menus available;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
/run/beamOn 1
|
||||
#
|
||||
/tracking/verbose 0
|
||||
/event/printModulo 50
|
||||
/run/printProgress 50
|
||||
/run/beamOn 100
|
||||
#
|
||||
/field/setFieldZ 1.0 kG
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
############################################
|
||||
|
||||
*************************************************************
|
||||
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
|
||||
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
|
||||
Copyright : Geant4 Collaboration
|
||||
Reference : NIM A 506 (2003), 250-303
|
||||
WWW : http://cern.ch/geant4
|
||||
@@ -16,179 +16,179 @@
|
||||
Material: Mylar density: 1.390 g/cm3 RadL: 28.743 cm Nucl.Int.Length: 56.319 cm
|
||||
Imean: 75.967 eV
|
||||
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
|
||||
ElmMassFraction: 33.30 % ElmAbundance 18.18 %
|
||||
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
|
||||
ElmMassFraction: 62.49 % ElmAbundance 45.45 %
|
||||
|
||||
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
|
||||
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
|
||||
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
|
||||
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
|
||||
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
|
||||
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
|
||||
ElmMassFraction: 4.20 % ElmAbundance 36.36 %
|
||||
|
||||
|
||||
Material: Polypropelene density: 910.000 mg/cm3 RadL: 49.214 cm Nucl.Int.Length: 74.282 cm
|
||||
Imean: 56.518 eV
|
||||
|
||||
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
|
||||
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
|
||||
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
|
||||
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
|
||||
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
|
||||
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
|
||||
ElmMassFraction: 14.40 % ElmAbundance 66.67 %
|
||||
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
|
||||
ElmMassFraction: 85.60 % ElmAbundance 33.33 %
|
||||
|
||||
|
||||
Material: Kr density: 3.700 mg/cm3 RadL: 30.736 m Nucl.Int.Length: 413.950 m
|
||||
Imean: 352.000 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 352.000 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Kr (Kr) Z = 36.0 N = 83.8 A = 83.80 g/mole
|
||||
---> Isotope: Kr78 Z = 36 N = 78 A = 77.92 g/mole abundance: 0.35 %
|
||||
---> Isotope: Kr80 Z = 36 N = 80 A = 79.92 g/mole abundance: 2.28 %
|
||||
---> Isotope: Kr82 Z = 36 N = 82 A = 81.91 g/mole abundance: 11.58 %
|
||||
---> Isotope: Kr83 Z = 36 N = 83 A = 82.91 g/mole abundance: 11.49 %
|
||||
---> Isotope: Kr84 Z = 36 N = 84 A = 83.91 g/mole abundance: 57.00 %
|
||||
---> Isotope: Kr86 Z = 36 N = 86 A = 85.91 g/mole abundance: 17.30 %
|
||||
---> Element: Kr (Kr) Z = 36.0 N = 84 A = 83.800 g/mole
|
||||
---> Isotope: Kr78 Z = 36 N = 78 A = 77.92 g/mole abundance: 0.350 %
|
||||
---> Isotope: Kr80 Z = 36 N = 80 A = 79.92 g/mole abundance: 2.280 %
|
||||
---> Isotope: Kr82 Z = 36 N = 82 A = 81.91 g/mole abundance: 11.580 %
|
||||
---> Isotope: Kr83 Z = 36 N = 83 A = 82.91 g/mole abundance: 11.490 %
|
||||
---> Isotope: Kr84 Z = 36 N = 84 A = 83.91 g/mole abundance: 57.000 %
|
||||
---> Isotope: Kr86 Z = 36 N = 86 A = 85.91 g/mole abundance: 17.300 %
|
||||
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
|
||||
|
||||
|
||||
Material: Argon density: 1.784 mg/cm3 RadL: 109.604 m Nucl.Int.Length: 670.814 m
|
||||
Imean: 188.000 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 188.000 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Argon (Ar) Z = 18.0 N = 39.9 A = 39.95 g/mole
|
||||
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
|
||||
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
|
||||
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
|
||||
---> Element: Argon (Ar) Z = 18.0 N = 40 A = 39.948 g/mole
|
||||
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
|
||||
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
|
||||
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
|
||||
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
|
||||
|
||||
|
||||
Material: N2 density: 1.251 mg/cm3 RadL: 303.846 m Nucl.Int.Length: 674.714 m
|
||||
Imean: 82.000 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 82.000 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole
|
||||
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.63 %
|
||||
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.37 %
|
||||
---> Element: Nitrogen (N) Z = 7.0 N = 14 A = 14.010 g/mole
|
||||
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.632 %
|
||||
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.368 %
|
||||
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
|
||||
|
||||
|
||||
Material: O2 density: 1.429 mg/cm3 RadL: 239.621 m Nucl.Int.Length: 617.219 m
|
||||
Imean: 95.000 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 95.000 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
|
||||
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
|
||||
|
||||
|
||||
Material: Air density: 0.000 kg/m3 RadL: 28329263.098 km Nucl.Int.Length: 66178552.895 km
|
||||
Material: Air density: 0.000 kg/m3 RadL: 28329263.098 km Nucl.Int.Length: 66178552.901 km
|
||||
Imean: 85.664 eV temperature: 273.15 K pressure: 0.00 atm
|
||||
|
||||
---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole
|
||||
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.63 %
|
||||
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.37 %
|
||||
---> Element: Nitrogen (N) Z = 7.0 N = 14 A = 14.010 g/mole
|
||||
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.632 %
|
||||
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.368 %
|
||||
ElmMassFraction: 75.57 % ElmAbundance 78.48 %
|
||||
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
|
||||
ElmMassFraction: 23.15 % ElmAbundance 21.05 %
|
||||
|
||||
---> Element: Argon (Ar) Z = 18.0 N = 39.9 A = 39.95 g/mole
|
||||
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
|
||||
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
|
||||
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
|
||||
---> Element: Argon (Ar) Z = 18.0 N = 40 A = 39.948 g/mole
|
||||
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
|
||||
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
|
||||
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
|
||||
ElmMassFraction: 1.28 % ElmAbundance 0.47 %
|
||||
|
||||
|
||||
Material: Xenon density: 5.858 mg/cm3 RadL: 14.478 m Nucl.Int.Length: 303.666 m
|
||||
Imean: 482.000 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 482.000 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Xe (Xe) Z = 54.0 N = 131.3 A = 131.29 g/mole
|
||||
---> Isotope: Xe124 Z = 54 N = 124 A = 123.91 g/mole abundance: 0.09 %
|
||||
---> Isotope: Xe126 Z = 54 N = 126 A = 125.90 g/mole abundance: 0.09 %
|
||||
---> Isotope: Xe128 Z = 54 N = 128 A = 127.90 g/mole abundance: 1.92 %
|
||||
---> Isotope: Xe129 Z = 54 N = 129 A = 128.91 g/mole abundance: 26.44 %
|
||||
---> Isotope: Xe130 Z = 54 N = 130 A = 129.90 g/mole abundance: 4.08 %
|
||||
---> Isotope: Xe131 Z = 54 N = 131 A = 130.90 g/mole abundance: 21.18 %
|
||||
---> Isotope: Xe132 Z = 54 N = 132 A = 131.90 g/mole abundance: 26.89 %
|
||||
---> Isotope: Xe134 Z = 54 N = 134 A = 133.91 g/mole abundance: 10.44 %
|
||||
---> Isotope: Xe136 Z = 54 N = 136 A = 135.91 g/mole abundance: 8.87 %
|
||||
---> Element: Xe (Xe) Z = 54.0 N = 131 A = 131.290 g/mole
|
||||
---> Isotope: Xe124 Z = 54 N = 124 A = 123.91 g/mole abundance: 0.090 %
|
||||
---> Isotope: Xe126 Z = 54 N = 126 A = 125.90 g/mole abundance: 0.090 %
|
||||
---> Isotope: Xe128 Z = 54 N = 128 A = 127.90 g/mole abundance: 1.920 %
|
||||
---> Isotope: Xe129 Z = 54 N = 129 A = 128.91 g/mole abundance: 26.440 %
|
||||
---> Isotope: Xe130 Z = 54 N = 130 A = 129.90 g/mole abundance: 4.080 %
|
||||
---> Isotope: Xe131 Z = 54 N = 131 A = 130.90 g/mole abundance: 21.180 %
|
||||
---> Isotope: Xe132 Z = 54 N = 132 A = 131.90 g/mole abundance: 26.890 %
|
||||
---> Isotope: Xe134 Z = 54 N = 134 A = 133.91 g/mole abundance: 10.440 %
|
||||
---> Isotope: Xe136 Z = 54 N = 136 A = 135.91 g/mole abundance: 8.870 %
|
||||
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
|
||||
|
||||
|
||||
Material: CO2 density: 1.842 mg/cm3 RadL: 196.501 m Nucl.Int.Length: 466.037 m
|
||||
Imean: 90.958 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 90.958 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
|
||||
ElmMassFraction: 27.29 % ElmAbundance 33.33 %
|
||||
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
|
||||
ElmMassFraction: 72.71 % ElmAbundance 66.67 %
|
||||
|
||||
|
||||
Material: Xe20CO2 density: 5.082 mg/cm3 RadL: 17.750 m Nucl.Int.Length: 323.032 m
|
||||
Imean: 412.598 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 412.598 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Xe (Xe) Z = 54.0 N = 131.3 A = 131.29 g/mole
|
||||
---> Isotope: Xe124 Z = 54 N = 124 A = 123.91 g/mole abundance: 0.09 %
|
||||
---> Isotope: Xe126 Z = 54 N = 126 A = 125.90 g/mole abundance: 0.09 %
|
||||
---> Isotope: Xe128 Z = 54 N = 128 A = 127.90 g/mole abundance: 1.92 %
|
||||
---> Isotope: Xe129 Z = 54 N = 129 A = 128.91 g/mole abundance: 26.44 %
|
||||
---> Isotope: Xe130 Z = 54 N = 130 A = 129.90 g/mole abundance: 4.08 %
|
||||
---> Isotope: Xe131 Z = 54 N = 131 A = 130.90 g/mole abundance: 21.18 %
|
||||
---> Isotope: Xe132 Z = 54 N = 132 A = 131.90 g/mole abundance: 26.89 %
|
||||
---> Isotope: Xe134 Z = 54 N = 134 A = 133.91 g/mole abundance: 10.44 %
|
||||
---> Isotope: Xe136 Z = 54 N = 136 A = 135.91 g/mole abundance: 8.87 %
|
||||
---> Element: Xe (Xe) Z = 54.0 N = 131 A = 131.290 g/mole
|
||||
---> Isotope: Xe124 Z = 54 N = 124 A = 123.91 g/mole abundance: 0.090 %
|
||||
---> Isotope: Xe126 Z = 54 N = 126 A = 125.90 g/mole abundance: 0.090 %
|
||||
---> Isotope: Xe128 Z = 54 N = 128 A = 127.90 g/mole abundance: 1.920 %
|
||||
---> Isotope: Xe129 Z = 54 N = 129 A = 128.91 g/mole abundance: 26.440 %
|
||||
---> Isotope: Xe130 Z = 54 N = 130 A = 129.90 g/mole abundance: 4.080 %
|
||||
---> Isotope: Xe131 Z = 54 N = 131 A = 130.90 g/mole abundance: 21.180 %
|
||||
---> Isotope: Xe132 Z = 54 N = 132 A = 131.90 g/mole abundance: 26.890 %
|
||||
---> Isotope: Xe134 Z = 54 N = 134 A = 133.91 g/mole abundance: 10.440 %
|
||||
---> Isotope: Xe136 Z = 54 N = 136 A = 135.91 g/mole abundance: 8.870 %
|
||||
ElmMassFraction: 92.20 % ElmAbundance 56.91 %
|
||||
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
|
||||
ElmMassFraction: 2.13 % ElmAbundance 14.36 %
|
||||
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
|
||||
ElmMassFraction: 5.67 % ElmAbundance 28.73 %
|
||||
|
||||
|
||||
Material: Kr20CO2 density: 3.601 mg/cm3 RadL: 34.158 m Nucl.Int.Length: 391.555 m
|
||||
Imean: 296.926 eV temperature: 273.15 K pressure: 1.00 atm
|
||||
Imean: 296.926 eV temperature: 293.15 K pressure: 1.00 atm
|
||||
|
||||
---> Element: Kr (Kr) Z = 36.0 N = 83.8 A = 83.80 g/mole
|
||||
---> Isotope: Kr78 Z = 36 N = 78 A = 77.92 g/mole abundance: 0.35 %
|
||||
---> Isotope: Kr80 Z = 36 N = 80 A = 79.92 g/mole abundance: 2.28 %
|
||||
---> Isotope: Kr82 Z = 36 N = 82 A = 81.91 g/mole abundance: 11.58 %
|
||||
---> Isotope: Kr83 Z = 36 N = 83 A = 82.91 g/mole abundance: 11.49 %
|
||||
---> Isotope: Kr84 Z = 36 N = 84 A = 83.91 g/mole abundance: 57.00 %
|
||||
---> Isotope: Kr86 Z = 36 N = 86 A = 85.91 g/mole abundance: 17.30 %
|
||||
---> Element: Kr (Kr) Z = 36.0 N = 84 A = 83.800 g/mole
|
||||
---> Isotope: Kr78 Z = 36 N = 78 A = 77.92 g/mole abundance: 0.350 %
|
||||
---> Isotope: Kr80 Z = 36 N = 80 A = 79.92 g/mole abundance: 2.280 %
|
||||
---> Isotope: Kr82 Z = 36 N = 82 A = 81.91 g/mole abundance: 11.580 %
|
||||
---> Isotope: Kr83 Z = 36 N = 83 A = 82.91 g/mole abundance: 11.490 %
|
||||
---> Isotope: Kr84 Z = 36 N = 84 A = 83.91 g/mole abundance: 57.000 %
|
||||
---> Isotope: Kr86 Z = 36 N = 86 A = 85.91 g/mole abundance: 17.300 %
|
||||
ElmMassFraction: 89.00 % ElmAbundance 58.62 %
|
||||
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
|
||||
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
|
||||
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
|
||||
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
|
||||
ElmMassFraction: 3.00 % ElmAbundance 13.79 %
|
||||
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
|
||||
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
|
||||
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
|
||||
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
|
||||
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
|
||||
ElmMassFraction: 8.00 % ElmAbundance 27.59 %
|
||||
|
||||
|
||||
@@ -209,26 +209,28 @@ G4ClassicalRK4 (default) is called
|
||||
The minimal step is equal to 0.25 mm
|
||||
F03PhysicsList::SetCuts:CutLength : 1 mm
|
||||
|
||||
total time(SetCuts)=0 s
|
||||
total time(SetCuts)=0.01 s
|
||||
Visualization Manager instantiating with verbosity "warnings (3)"...
|
||||
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)
|
||||
OpenGLImmediateX (OGLIX)
|
||||
OpenGLImmediateXm (OGLI, OGLIXm)
|
||||
OpenGLStoredX (OGLSX)
|
||||
OpenGLStoredXm (OGL, OGLS, OGLSXm)
|
||||
RayTracer (RayTracer)
|
||||
RayTracerX (RayTracerX)
|
||||
VRML1FILE (VRML1FILE)
|
||||
VRML2FILE (VRML2FILE)
|
||||
gMocrenFile (gMocrenFile)
|
||||
ASCIITree (ATree)
|
||||
DAWNFILE (DAWNFILE)
|
||||
G4HepRep (HepRepXML)
|
||||
G4HepRepFile (HepRepFile)
|
||||
RayTracer (RayTracer)
|
||||
VRML1FILE (VRML1FILE)
|
||||
VRML2FILE (VRML2FILE)
|
||||
gMocrenFile (gMocrenFile)
|
||||
OpenGLImmediateQt (OGLIQt, OGLI)
|
||||
OpenGLStoredQt (OGLSQt, OGL, OGLS)
|
||||
OpenGLImmediateXm (OGLIXm, OGLIQt_FALLBACK)
|
||||
OpenGLStoredXm (OGLSXm, OGLSQt_FALLBACK)
|
||||
OpenGLImmediateX (OGLIX, OGLIQt_FALLBACK, OGLIXm_FALLBACK)
|
||||
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
|
||||
RayTracerX (RayTracerX)
|
||||
|
||||
Registering model factories...
|
||||
|
||||
@@ -288,7 +290,7 @@ eIoni: for e- SubType= 2
|
||||
eBrem: for e- SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
|
||||
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
|
||||
LPM flag: 1 for E > 1 GeV
|
||||
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
|
||||
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
|
||||
@@ -303,13 +305,13 @@ eIoni: for e+ SubType= 2
|
||||
eBrem: for e+ SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
|
||||
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
|
||||
LPM flag: 1 for E > 1 GeV
|
||||
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
|
||||
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
|
||||
|
||||
msc: for proton SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -322,7 +324,7 @@ hIoni: for proton SubType= 2
|
||||
BetheBloch : Emin= 2 MeV Emax= 10 TeV
|
||||
|
||||
msc: for kaon+ SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -335,7 +337,7 @@ hIoni: for kaon+ SubType= 2
|
||||
BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV
|
||||
|
||||
msc: for kaon- SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -348,7 +350,7 @@ hIoni: for kaon- SubType= 2
|
||||
BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV
|
||||
|
||||
msc: for mu+ SubType= 10
|
||||
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
|
||||
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -375,7 +377,7 @@ muPairProd: for mu+ SubType= 4
|
||||
muPairProd : Emin= 0 eV Emax= 10 TeV
|
||||
|
||||
msc: for mu- SubType= 10
|
||||
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
|
||||
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -402,7 +404,7 @@ muPairProd: for mu- SubType= 4
|
||||
muPairProd : Emin= 0 eV Emax= 10 TeV
|
||||
|
||||
msc: for pi+ SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -415,7 +417,7 @@ hIoni: for pi+ SubType= 2
|
||||
BetheBloch : Emin= 297.505 keV Emax= 10 TeV
|
||||
|
||||
msc: for pi- SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
|
||||
|
||||
@@ -439,12 +441,9 @@ Index : 0 used in the geometry : Yes
|
||||
====================================================================
|
||||
|
||||
### Run 0 starts.
|
||||
### Run 0 start.
|
||||
WARNING: Scene "none" not found.
|
||||
/vis/scene/list to see scenes.
|
||||
|
||||
---> Begin of Event: 0
|
||||
|
||||
*********************************************************************************************************
|
||||
* G4Track Information: Particle = e-, Track ID = 1, Parent ID = 0
|
||||
*********************************************************************************************************
|
||||
@@ -463,7 +462,7 @@ Step# X Y Z KineE dEStep StepLeng TrakLeng
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 1
|
||||
User=0s Real=0s Sys=0s
|
||||
User=0s Real=0.01s Sys=0s
|
||||
WARNING: command "/vis/viewer/update" could not be applied: no current viewer.
|
||||
|
||||
========= Table of registered couples ==============================
|
||||
@@ -478,17 +477,14 @@ Index : 0 used in the geometry : Yes
|
||||
====================================================================
|
||||
|
||||
### Run 1 starts.
|
||||
### Run 1 start.
|
||||
WARNING: Scene "none" not found.
|
||||
/vis/scene/list to see scenes.
|
||||
|
||||
---> Begin of Event: 0
|
||||
|
||||
---> Begin of Event: 50
|
||||
--> Event 0 starts.
|
||||
--> Event 50 starts.
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 100
|
||||
User=0.02s Real=0.02s Sys=0s
|
||||
User=0.02s Real=0.01s Sys=0s
|
||||
WARNING: command "/vis/viewer/update" could not be applied: no current viewer.
|
||||
Set field value to (0,0,1000) Gauss
|
||||
|
||||
@@ -504,11 +500,9 @@ Index : 0 used in the geometry : Yes
|
||||
====================================================================
|
||||
|
||||
### Run 2 starts.
|
||||
### Run 2 start.
|
||||
WARNING: Scene "none" not found.
|
||||
/vis/scene/list to see scenes.
|
||||
|
||||
---> Begin of Event: 0
|
||||
--> Event 0 starts.
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 10
|
||||
@@ -517,9 +511,8 @@ WARNING: command "/vis/viewer/update" could not be applied: no current viewer.
|
||||
Graphics systems deleted.
|
||||
Visualization Manager deleting...
|
||||
G4 kernel has come to Quit state.
|
||||
Total navigation history collections cleaned: 8
|
||||
================== Deleting memory pools ===================
|
||||
Number of memory pools allocated: 12 of which, static: 0
|
||||
Dynamic pools deleted: 12 / Total memory freed: 0.013 Mb
|
||||
Dynamic pools deleted: 12 / Total memory freed: 0.02 MB
|
||||
============================================================
|
||||
RunManagerKernel is deleted. Good bye :)
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Definition of the F03EventAction class
|
||||
//
|
||||
//
|
||||
// $Id: F03EventAction.hh 76602 2013-11-13 08:33:35Z gcosmo $
|
||||
// $Id: F03EventAction.hh 92498 2015-09-02 07:24:12Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -54,17 +54,8 @@ class F03EventAction : public G4UserEventAction
|
||||
virtual void BeginOfEventAction(const G4Event*);
|
||||
virtual void EndOfEventAction(const G4Event*);
|
||||
|
||||
void SetEventVerbose(G4int level) {fVerboseLevel = level;}
|
||||
void SetPrintModulo(G4int val) {fPrintModulo = val;}
|
||||
|
||||
private:
|
||||
G4int fCalorimeterCollID;
|
||||
|
||||
F03EventActionMessenger* fEventMessenger;
|
||||
F03RunAction* fRunAction;
|
||||
|
||||
G4int fVerboseLevel;
|
||||
G4int fPrintModulo;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file field/field03/include/F03EventActionMessenger.hh
|
||||
/// \brief Definition of the F03EventActionMessenger class
|
||||
//
|
||||
//
|
||||
// $Id: F03EventActionMessenger.hh 76602 2013-11-13 08:33:35Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef F03EventActionMessenger_h
|
||||
#define F03EventActionMessenger_h 1
|
||||
|
||||
#include "G4UImessenger.hh"
|
||||
|
||||
class F03EventAction;
|
||||
class G4UIcmdWithAnInteger;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class F03EventActionMessenger: public G4UImessenger
|
||||
{
|
||||
public:
|
||||
F03EventActionMessenger(F03EventAction*);
|
||||
virtual ~F03EventActionMessenger();
|
||||
|
||||
virtual void SetNewValue(G4UIcommand*, G4String);
|
||||
|
||||
private:
|
||||
F03EventAction* fEventAction;
|
||||
|
||||
G4UIcmdWithAnInteger* fSetVerboseCmd;
|
||||
G4UIcmdWithAnInteger* fPrintCmd;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -27,77 +27,48 @@
|
||||
/// \brief Implementation of the F03EventAction class
|
||||
//
|
||||
//
|
||||
// $Id: F03EventAction.cc 76602 2013-11-13 08:33:35Z gcosmo $
|
||||
// $Id: F03EventAction.cc 92498 2015-09-02 07:24:12Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "F03EventAction.hh"
|
||||
|
||||
#include "F03RunAction.hh"
|
||||
|
||||
#include "F03CalorHit.hh"
|
||||
#include "F03EventActionMessenger.hh"
|
||||
|
||||
#include "G4Event.hh"
|
||||
#include "G4EventManager.hh"
|
||||
#include "G4HCofThisEvent.hh"
|
||||
#include "G4VHitsCollection.hh"
|
||||
#include "G4SDManager.hh"
|
||||
#include "G4RunManager.hh"
|
||||
#include "Randomize.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F03EventAction::F03EventAction(F03RunAction* action)
|
||||
: G4UserEventAction(),
|
||||
fCalorimeterCollID(-1),
|
||||
fEventMessenger(0),
|
||||
fRunAction(action),
|
||||
fVerboseLevel(0),
|
||||
fPrintModulo(10000)
|
||||
{
|
||||
fEventMessenger = new F03EventActionMessenger(this);
|
||||
}
|
||||
fRunAction(action)
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F03EventAction::~F03EventAction()
|
||||
{
|
||||
delete fEventMessenger;
|
||||
}
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F03EventAction::BeginOfEventAction(const G4Event* evt)
|
||||
{
|
||||
G4int evtNb = evt->GetEventID();
|
||||
if (evtNb%fPrintModulo == 0)
|
||||
G4cout << "\n---> Begin of Event: " << evtNb << G4endl;
|
||||
|
||||
if (fVerboseLevel>1)
|
||||
G4cout << "<<< Event " << evtNb << " started." << G4endl;
|
||||
|
||||
if (fCalorimeterCollID==-1)
|
||||
{
|
||||
G4SDManager * sdManager = G4SDManager::GetSDMpointer();
|
||||
fCalorimeterCollID = sdManager->GetCollectionID("CalCollection");
|
||||
}
|
||||
}
|
||||
void F03EventAction::BeginOfEventAction(const G4Event*)
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F03EventAction::EndOfEventAction(const G4Event* evt)
|
||||
{
|
||||
if (fVerboseLevel>0)
|
||||
G4cout << "<<< Event " << evt->GetEventID() << " ended." << G4endl;
|
||||
|
||||
// save rndm status
|
||||
if (fRunAction->GetRndmFreq() == 2)
|
||||
{
|
||||
G4Random::saveEngineStatus("endOfEvent.rndm");
|
||||
|
||||
G4int evtNb = evt->GetEventID();
|
||||
if (evtNb%fPrintModulo == 0)
|
||||
G4int printProgress = G4RunManager::GetRunManager()->GetPrintProgress();
|
||||
if (evtNb%printProgress == 0)
|
||||
{
|
||||
G4cout << "\n---> End of Event: " << evtNb << G4endl;
|
||||
G4Random::showEngineStatus();
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file field/field03/src/F03EventActionMessenger.cc
|
||||
/// \brief Implementation of the F03EventActionMessenger class
|
||||
//
|
||||
//
|
||||
// $Id: F03EventActionMessenger.cc 76602 2013-11-13 08:33:35Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "F03EventActionMessenger.hh"
|
||||
|
||||
#include "F03EventAction.hh"
|
||||
#include "G4UIcmdWithAnInteger.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F03EventActionMessenger::F03EventActionMessenger(F03EventAction* evAct)
|
||||
: G4UImessenger(),
|
||||
fEventAction(evAct),
|
||||
fSetVerboseCmd(0),
|
||||
fPrintCmd(0)
|
||||
{
|
||||
fSetVerboseCmd = new G4UIcmdWithAnInteger("/event/setverbose",this);
|
||||
fSetVerboseCmd->SetGuidance("Set verbose level .");
|
||||
fSetVerboseCmd->SetParameterName("level",true);
|
||||
fSetVerboseCmd->SetDefaultValue(0);
|
||||
|
||||
fPrintCmd = new G4UIcmdWithAnInteger("/event/printModulo",this);
|
||||
fPrintCmd->SetGuidance("Print events modulo n");
|
||||
fPrintCmd->SetParameterName("EventNb",false);
|
||||
fPrintCmd->SetRange("EventNb>0");
|
||||
fPrintCmd->AvailableForStates(G4State_Idle);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F03EventActionMessenger::~F03EventActionMessenger()
|
||||
{
|
||||
delete fSetVerboseCmd;
|
||||
delete fPrintCmd;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F03EventActionMessenger::SetNewValue(G4UIcommand * command,
|
||||
G4String newValue)
|
||||
{
|
||||
if(command == fSetVerboseCmd)
|
||||
{fEventAction->SetEventVerbose(fSetVerboseCmd->GetNewIntValue(newValue));}
|
||||
|
||||
if(command == fPrintCmd)
|
||||
{fEventAction->SetPrintModulo(fPrintCmd->GetNewIntValue(newValue));}
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Implementation of the F03RunAction class
|
||||
//
|
||||
//
|
||||
// $Id: F03RunAction.cc 76602 2013-11-13 08:33:35Z gcosmo $
|
||||
// $Id: F03RunAction.cc 92498 2015-09-02 07:24:12Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -61,10 +61,8 @@ F03RunAction::~F03RunAction()
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F03RunAction::BeginOfRunAction(const G4Run* run)
|
||||
void F03RunAction::BeginOfRunAction(const G4Run*)
|
||||
{
|
||||
G4cout << "### Run " << run->GetRunID() << " start." << G4endl;
|
||||
|
||||
// save Rndm status
|
||||
if (fSaveRndm > 0)
|
||||
{
|
||||
|
||||
+3
-5
@@ -1,6 +1,6 @@
|
||||
//$Id$
|
||||
|
||||
///\file "field/field04/.README"
|
||||
///\file "field/field04/.README.txt"
|
||||
///\brief Example field04 README page
|
||||
|
||||
/*! \page Examplefield04 Example field04
|
||||
@@ -368,13 +368,11 @@ if (fields) {
|
||||
- F04EventActionMessenger: \n
|
||||
\verbatim
|
||||
/event/setverbose
|
||||
/event/drawTracks none/charged/all
|
||||
/event/printModulo
|
||||
\endverbatim
|
||||
|
||||
- F04EventAction(F04RunAction* RA): \n
|
||||
Customized BeginOfEvent printing (frequency: printModulo)
|
||||
EndofEvent: condition depending drawing of trajectories,
|
||||
Customized BeginOfEvent printing
|
||||
EndofEvent:
|
||||
saveEngingStatus and showEngineStatus according to flag
|
||||
in F04RunAction
|
||||
|
||||
@@ -15,6 +15,9 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
May 14, 2015 P.Gumplinger - (fieldex04-V10-01-00 & fieldex04-V10-01-01)
|
||||
- remove obsolete /event/drawTrack and /event/printModulo
|
||||
|
||||
November 5, 2014 A.Dotti - (fieldex04-V10-00-11)
|
||||
- Bug fixing for shared process
|
||||
|
||||
|
||||
@@ -369,12 +369,10 @@
|
||||
|
||||
F04EventActionMessenger:
|
||||
/event/setverbose
|
||||
/event/drawTracks none/charged/all
|
||||
/event/printModulo
|
||||
|
||||
F04EventAction(RunAction* RA):
|
||||
Customized BeginOfEvent printing (frequency: printModulo)
|
||||
EndofEvent: condition depending drawing of trajectories,
|
||||
Customized BeginOfEvent printing
|
||||
EndofEvent:
|
||||
saveEngingStatus and showEngineStatus according to flag
|
||||
in F04RunAction
|
||||
|
||||
|
||||
@@ -66,8 +66,8 @@
|
||||
/run/beamOn 1000
|
||||
#
|
||||
#/event/setverbose 1
|
||||
#/event/drawTracks all
|
||||
#/event/printModulo 1
|
||||
#/run/printProgress 1
|
||||
#
|
||||
#/gun/xvertex 0. cm
|
||||
#/gun/yvertex 0. cm
|
||||
#/gun/zvertex 0. cm
|
||||
|
||||
+5101
-5739
File diff suppressed because it is too large
Load Diff
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: F04EventAction.hh 68021 2013-03-13 13:36:07Z gcosmo $
|
||||
// $Id: F04EventAction.hh 90239 2015-05-21 09:07:05Z gcosmo $
|
||||
//
|
||||
/// \file field/field04/include/F04EventAction.hh
|
||||
/// \brief Definition of the F04EventAction class
|
||||
@@ -53,19 +53,12 @@ class F04EventAction : public G4UserEventAction
|
||||
G4int GetEventNo();
|
||||
void SetEventVerbose(G4int);
|
||||
|
||||
void SetDrawFlag(G4String val) { fDrawFlag = val; };
|
||||
void SetPrintModulo(G4int val) { fPrintModulo = val; };
|
||||
|
||||
private:
|
||||
|
||||
F04RunAction* fRunaction;
|
||||
F04EventActionMessenger* fEventMessenger;
|
||||
|
||||
G4int fVerboselevel;
|
||||
G4int fPrintModulo;
|
||||
|
||||
G4String fDrawFlag;
|
||||
|
||||
G4int fVerboseLevel;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: F04EventActionMessenger.hh 68021 2013-03-13 13:36:07Z gcosmo $
|
||||
// $Id: F04EventActionMessenger.hh 90239 2015-05-21 09:07:05Z gcosmo $
|
||||
//
|
||||
/// \file field/field04/include/F04EventActionMessenger.hh
|
||||
/// \brief Definition of the F04EventActionMessenger class
|
||||
@@ -54,8 +54,6 @@ class F04EventActionMessenger: public G4UImessenger
|
||||
F04EventAction* fEventAction;
|
||||
|
||||
G4UIcmdWithAnInteger* fSetVerboseCmd;
|
||||
G4UIcmdWithAString* fDrawCmd;
|
||||
G4UIcmdWithAnInteger* fPrintCmd;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: F04Trajectory.hh 76690 2013-11-14 08:45:07Z gcosmo $
|
||||
// $Id: F04Trajectory.hh 90239 2015-05-21 09:07:05Z gcosmo $
|
||||
//
|
||||
/// \file field/field04/include/F04Trajectory.hh
|
||||
/// \brief Definition of the F04Trajectory class
|
||||
@@ -80,7 +80,6 @@ class F04Trajectory : public G4VTrajectory
|
||||
// Other member functions
|
||||
|
||||
virtual void ShowTrajectory(std::ostream& os=G4cout) const;
|
||||
virtual void DrawTrajectory() const;
|
||||
virtual void AppendStep(const G4Step* aStep);
|
||||
virtual void MergeTrajectory(G4VTrajectory* secondTrajectory);
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: F04EventAction.cc 78002 2013-12-02 08:25:49Z gcosmo $
|
||||
// $Id: F04EventAction.cc 90239 2015-05-21 09:07:05Z gcosmo $
|
||||
//
|
||||
/// \file field/field04/src/F04EventAction.cc
|
||||
/// \brief Implementation of the F04EventAction class
|
||||
@@ -40,13 +40,13 @@
|
||||
#include "G4Trajectory.hh"
|
||||
#include "G4TrajectoryContainer.hh"
|
||||
#include "G4VVisManager.hh"
|
||||
|
||||
#include "Randomize.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F04EventAction::F04EventAction(F04RunAction* runAction)
|
||||
: fRunaction(runAction), fVerboselevel(0),
|
||||
fPrintModulo(10), fDrawFlag("all")
|
||||
: fRunaction(runAction), fVerboseLevel(0)
|
||||
{
|
||||
fEventMessenger = new F04EventActionMessenger(this);
|
||||
}
|
||||
@@ -63,37 +63,18 @@ F04EventAction::~F04EventAction()
|
||||
void F04EventAction::BeginOfEventAction(const G4Event* evt)
|
||||
{
|
||||
G4int evtNb = evt->GetEventID();
|
||||
if (evtNb%fPrintModulo == 0)
|
||||
G4cout << "\n---> Begin of Event: " << evtNb << G4endl;
|
||||
|
||||
if(fVerboselevel>0)
|
||||
if(fVerboseLevel>0)
|
||||
G4cout << "<<< Event " << evtNb << " started." << G4endl;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "G4Threading.hh"
|
||||
|
||||
void F04EventAction::EndOfEventAction(const G4Event* evt)
|
||||
{
|
||||
// G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
|
||||
//
|
||||
// if(pVVisManager)
|
||||
// {
|
||||
// G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();
|
||||
//
|
||||
// G4int n_trajectories = 0;
|
||||
//
|
||||
// if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();
|
||||
// for(G4int i=0; i<n_trajectories; i++)
|
||||
// { G4Trajectory* trj =
|
||||
// (G4Trajectory *)((*(evt->GetTrajectoryContainer()))[i]);
|
||||
// if (fDrawFlag == "all") trj->DrawTrajectory();
|
||||
// else if ((fDrawFlag == "charged")&&(trj->GetCharge() != 0.))
|
||||
// trj->DrawTrajectory();
|
||||
// }
|
||||
// }
|
||||
|
||||
if (fVerboselevel>0)
|
||||
if (fVerboseLevel>0)
|
||||
G4cout << "<<< Event " << evt->GetEventID() << " ended." << G4endl;
|
||||
|
||||
if (fRunaction->GetRndmFreq() == 2)
|
||||
@@ -101,12 +82,6 @@ void F04EventAction::EndOfEventAction(const G4Event* evt)
|
||||
std::ostringstream os;
|
||||
os<<"endOfEvent_"<<G4Threading::G4GetThreadId()<<".rndm";
|
||||
G4Random::saveEngineStatus(os.str().c_str());
|
||||
G4int evtNb = evt->GetEventID();
|
||||
if (evtNb%fPrintModulo == 0)
|
||||
{
|
||||
G4cout << "\n---> End of Event: " << evtNb << G4endl;
|
||||
G4Random::showEngineStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,13 +89,12 @@ void F04EventAction::EndOfEventAction(const G4Event* evt)
|
||||
|
||||
G4int F04EventAction::GetEventNo()
|
||||
{
|
||||
G4int evno = fpEventManager->GetConstCurrentEvent()->GetEventID();
|
||||
return evno ;
|
||||
return fpEventManager->GetConstCurrentEvent()->GetEventID();
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F04EventAction::SetEventVerbose(G4int level)
|
||||
{
|
||||
fVerboselevel = level ;
|
||||
fVerboseLevel = level ;
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: F04EventActionMessenger.cc 68021 2013-03-13 13:36:07Z gcosmo $
|
||||
// $Id: F04EventActionMessenger.cc 90239 2015-05-21 09:07:05Z gcosmo $
|
||||
//
|
||||
/// \file field/field04/src/F04EventActionMessenger.cc
|
||||
/// \brief Implementation of the F04EventActionMessenger class
|
||||
@@ -31,9 +31,7 @@
|
||||
|
||||
#include "globals.hh"
|
||||
|
||||
#include "G4UIcmdWithAString.hh"
|
||||
#include "G4UIcmdWithAnInteger.hh"
|
||||
#include "G4UIcmdWithADoubleAndUnit.hh"
|
||||
|
||||
#include "F04EventAction.hh"
|
||||
#include "F04EventActionMessenger.hh"
|
||||
@@ -47,20 +45,6 @@ F04EventActionMessenger::F04EventActionMessenger(F04EventAction* eventAction)
|
||||
fSetVerboseCmd->SetGuidance("Set verbose level ." );
|
||||
fSetVerboseCmd->SetParameterName("level",true);
|
||||
fSetVerboseCmd->SetDefaultValue(0);
|
||||
|
||||
fDrawCmd = new G4UIcmdWithAString("/event/drawTracks",this);
|
||||
fDrawCmd->SetGuidance("Draw the tracks in the event");
|
||||
fDrawCmd->SetGuidance(" Choice : none,charged, all");
|
||||
fDrawCmd->SetParameterName("choice",true);
|
||||
fDrawCmd->SetDefaultValue("all");
|
||||
fDrawCmd->SetCandidates("none charged all");
|
||||
fDrawCmd->AvailableForStates(G4State_Idle);
|
||||
|
||||
fPrintCmd = new G4UIcmdWithAnInteger("/event/printModulo",this);
|
||||
fPrintCmd->SetGuidance("Print events modulo n");
|
||||
fPrintCmd->SetParameterName("EventNb",false);
|
||||
fPrintCmd->SetRange("EventNb>0");
|
||||
fPrintCmd->AvailableForStates(G4State_Idle);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -68,8 +52,6 @@ F04EventActionMessenger::F04EventActionMessenger(F04EventAction* eventAction)
|
||||
F04EventActionMessenger::~F04EventActionMessenger()
|
||||
{
|
||||
delete fSetVerboseCmd;
|
||||
delete fDrawCmd;
|
||||
delete fPrintCmd;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -79,9 +61,4 @@ void F04EventActionMessenger::
|
||||
{
|
||||
if(command == fSetVerboseCmd)
|
||||
fEventAction->SetEventVerbose(fSetVerboseCmd->GetNewIntValue(newValue));
|
||||
|
||||
if(command == fDrawCmd)fEventAction->SetDrawFlag(newValue);
|
||||
|
||||
if(command == fPrintCmd)
|
||||
fEventAction->SetPrintModulo(fPrintCmd->GetNewIntValue(newValue));
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: F04Trajectory.cc 76690 2013-11-14 08:45:07Z gcosmo $
|
||||
// $Id: F04Trajectory.cc 90239 2015-05-21 09:07:05Z gcosmo $
|
||||
//
|
||||
/// \file field/field04/src/F04Trajectory.cc
|
||||
/// \brief Implementation of the F04Trajectory class
|
||||
@@ -112,15 +112,6 @@ void F04Trajectory::ShowTrajectory(std::ostream& os) const
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F04Trajectory::DrawTrajectory() const
|
||||
{
|
||||
// Invoke the default implementation in G4VTrajectory...
|
||||
G4VTrajectory::DrawTrajectory();
|
||||
// ... or override with your own code here.
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F04Trajectory::AppendStep(const G4Step* aStep)
|
||||
{
|
||||
fpPointsContainer->push_back(new F04TrajectoryPoint(aStep));
|
||||
|
||||
@@ -33,10 +33,21 @@
|
||||
#
|
||||
# Add trajectories to the current scene
|
||||
/vis/scene/add/trajectories smooth
|
||||
#/vis/modeling/trajectories/create/drawByCharge
|
||||
#/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
|
||||
#/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
|
||||
# (if too many tracks cause core dump => /tracking/storeTrajectory 0)
|
||||
#
|
||||
#/vis/modeling/trajectories/create/drawByParticleID
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/set e- blue
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/set mu+ green
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/set e+ red
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/set gamma gray
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/set nu_e yellow
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/set anti_nu_mu yellow
|
||||
#
|
||||
# Requests viewer to accumulate hits, tracks, etc. at end of event.
|
||||
# detector remains or is redrawn.
|
||||
/vis/scene/endOfEventAction refresh
|
||||
#/vis/scene/endOfEventAction accumulate
|
||||
#
|
||||
#/event/drawTracks charged
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
//$Id$
|
||||
|
||||
///\file "field/field05/.README"
|
||||
///\file "field/field05/.README.txt"
|
||||
///\brief Example field05 README page
|
||||
|
||||
/*! \page Examplefield05 Example field05
|
||||
@@ -1,4 +1,4 @@
|
||||
// $Id: History 78301 2013-12-11 10:48:40Z gcosmo $
|
||||
// $Id: History 89451 2015-04-10 08:39:38Z gcosmo $
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -15,6 +15,9 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
April 09, 2015 P. Gumplinger - fieldex05-V10-01-00
|
||||
- use new G4SpinDecayPhysics constructor in F05PhysicsList
|
||||
|
||||
December 04, 2013 I. Hrivnacova, P. Gumplinger - fieldex05-V10-00-00
|
||||
- Fixes in gui.mac:
|
||||
Let execute vis.mac first to make the command in added menus available;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
############################################
|
||||
|
||||
*************************************************************
|
||||
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
|
||||
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
|
||||
Copyright : Geant4 Collaboration
|
||||
Reference : NIM A 506 (2003), 250-303
|
||||
WWW : http://cern.ch/geant4
|
||||
@@ -13,12 +13,12 @@
|
||||
|
||||
***** Table : Nb of materials = 1 *****
|
||||
|
||||
Material: G4_Galactic density: 0.000 kg/m3 RadL: 204310101.835 pc Nucl.Int.Length: 114314827.001 pc
|
||||
Material: G4_Galactic density: 0.000 kg/m3 RadL: 204310101.835 pc Nucl.Int.Length: 113427275.267 pc
|
||||
Imean: 21.800 eV temperature: 2.73 K pressure: 0.00 atm
|
||||
|
||||
---> Element: H (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
|
||||
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
|
||||
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
|
||||
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
|
||||
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
|
||||
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
|
||||
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
|
||||
|
||||
|
||||
@@ -29,19 +29,21 @@ Registering graphics systems...
|
||||
|
||||
You have successfully registered the following graphics systems.
|
||||
Current available graphics systems are:
|
||||
ASCIITree (ATree)
|
||||
DAWNFILE (DAWNFILE)
|
||||
G4HepRep (HepRepXML)
|
||||
G4HepRepFile (HepRepFile)
|
||||
OpenGLImmediateX (OGLIX)
|
||||
OpenGLImmediateXm (OGLI, OGLIXm)
|
||||
OpenGLStoredX (OGLSX)
|
||||
OpenGLStoredXm (OGL, OGLS, OGLSXm)
|
||||
RayTracer (RayTracer)
|
||||
RayTracerX (RayTracerX)
|
||||
VRML1FILE (VRML1FILE)
|
||||
VRML2FILE (VRML2FILE)
|
||||
gMocrenFile (gMocrenFile)
|
||||
ASCIITree (ATree)
|
||||
DAWNFILE (DAWNFILE)
|
||||
G4HepRep (HepRepXML)
|
||||
G4HepRepFile (HepRepFile)
|
||||
RayTracer (RayTracer)
|
||||
VRML1FILE (VRML1FILE)
|
||||
VRML2FILE (VRML2FILE)
|
||||
gMocrenFile (gMocrenFile)
|
||||
OpenGLImmediateQt (OGLIQt, OGLI)
|
||||
OpenGLStoredQt (OGLSQt, OGL, OGLS)
|
||||
OpenGLImmediateXm (OGLIXm, OGLIQt_FALLBACK)
|
||||
OpenGLStoredXm (OGLSXm, OGLSQt_FALLBACK)
|
||||
OpenGLImmediateX (OGLIX, OGLIQt_FALLBACK, OGLIXm_FALLBACK)
|
||||
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
|
||||
RayTracerX (RayTracerX)
|
||||
|
||||
Registering model factories...
|
||||
|
||||
@@ -73,4 +75,3 @@ Available colours:
|
||||
/run/beamOn 1
|
||||
Graphics systems deleted.
|
||||
Visualization Manager deleting...
|
||||
Total navigation history collections cleaned: 5
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: F05PhysicsList.cc 75672 2013-11-05 08:47:41Z gcosmo $
|
||||
// $Id: F05PhysicsList.cc 89451 2015-04-10 08:39:38Z gcosmo $
|
||||
//
|
||||
/// \file field/field05/src/F05PhysicsList.cc
|
||||
/// \brief Implementation of the F05PhysicsList class
|
||||
@@ -31,27 +31,15 @@
|
||||
//
|
||||
#include "F05PhysicsList.hh"
|
||||
|
||||
#include "G4SpinDecayPhysics.hh"
|
||||
|
||||
#include "F05ExtraPhysics.hh"
|
||||
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4ParticleTypes.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4ProcessTable.hh"
|
||||
|
||||
#include "G4PionDecayMakeSpin.hh"
|
||||
#include "G4DecayWithSpin.hh"
|
||||
|
||||
#include "G4DecayTable.hh"
|
||||
#include "G4MuonDecayChannelWithSpin.hh"
|
||||
#include "G4MuonRadiativeDecayChannelWithSpin.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
F05PhysicsList::F05PhysicsList() : G4VModularPhysicsList()
|
||||
{
|
||||
RegisterPhysics(new G4DecayPhysics());
|
||||
RegisterPhysics(new G4SpinDecayPhysics());
|
||||
RegisterPhysics(new F05ExtraPhysics());
|
||||
}
|
||||
|
||||
@@ -64,22 +52,6 @@ F05PhysicsList::~F05PhysicsList() {;}
|
||||
void F05PhysicsList::ConstructParticle()
|
||||
{
|
||||
G4VModularPhysicsList::ConstructParticle();
|
||||
|
||||
G4GenericIon::GenericIonDefinition();
|
||||
|
||||
G4DecayTable* MuonPlusDecayTable = new G4DecayTable();
|
||||
MuonPlusDecayTable -> Insert(new
|
||||
G4MuonDecayChannelWithSpin("mu+",0.986));
|
||||
MuonPlusDecayTable -> Insert(new
|
||||
G4MuonRadiativeDecayChannelWithSpin("mu+",0.014));
|
||||
G4MuonPlus::MuonPlusDefinition() -> SetDecayTable(MuonPlusDecayTable);
|
||||
|
||||
G4DecayTable* MuonMinusDecayTable = new G4DecayTable();
|
||||
MuonMinusDecayTable -> Insert(new
|
||||
G4MuonDecayChannelWithSpin("mu-",0.986));
|
||||
MuonMinusDecayTable -> Insert(new
|
||||
G4MuonRadiativeDecayChannelWithSpin("mu-",0.014));
|
||||
G4MuonMinus::MuonMinusDefinition() -> SetDecayTable(MuonMinusDecayTable);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -87,63 +59,6 @@ void F05PhysicsList::ConstructParticle()
|
||||
void F05PhysicsList::ConstructProcess()
|
||||
{
|
||||
G4VModularPhysicsList::ConstructProcess();
|
||||
|
||||
G4DecayWithSpin* decayWithSpin = new G4DecayWithSpin();
|
||||
|
||||
G4ProcessTable* processTable = G4ProcessTable::GetProcessTable();
|
||||
|
||||
G4VProcess* decay;
|
||||
decay = processTable->FindProcess("Decay",G4MuonPlus::MuonPlus());
|
||||
|
||||
G4ProcessManager* fManager;
|
||||
fManager = G4MuonPlus::MuonPlus()->GetProcessManager();
|
||||
|
||||
if (fManager) {
|
||||
if (decay) fManager->RemoveProcess(decay);
|
||||
fManager->AddProcess(decayWithSpin);
|
||||
// set ordering for PostStepDoIt and AtRestDoIt
|
||||
fManager ->SetProcessOrdering(decayWithSpin, idxPostStep);
|
||||
fManager ->SetProcessOrdering(decayWithSpin, idxAtRest);
|
||||
}
|
||||
|
||||
decay = processTable->FindProcess("Decay",G4MuonMinus::MuonMinus());
|
||||
|
||||
fManager = G4MuonMinus::MuonMinus()->GetProcessManager();
|
||||
|
||||
if (fManager) {
|
||||
if (decay) fManager->RemoveProcess(decay);
|
||||
fManager->AddProcess(decayWithSpin);
|
||||
// set ordering for PostStepDoIt and AtRestDoIt
|
||||
fManager ->SetProcessOrdering(decayWithSpin, idxPostStep);
|
||||
fManager ->SetProcessOrdering(decayWithSpin, idxAtRest);
|
||||
}
|
||||
|
||||
G4PionDecayMakeSpin* poldecay = new G4PionDecayMakeSpin();
|
||||
|
||||
decay = processTable->FindProcess("Decay",G4PionPlus::PionPlus());
|
||||
|
||||
fManager = G4PionPlus::PionPlus()->GetProcessManager();
|
||||
|
||||
if (fManager) {
|
||||
if (decay) fManager->RemoveProcess(decay);
|
||||
fManager->AddProcess(poldecay);
|
||||
// set ordering for PostStepDoIt and AtRestDoIt
|
||||
fManager ->SetProcessOrdering(poldecay, idxPostStep);
|
||||
fManager ->SetProcessOrdering(poldecay, idxAtRest);
|
||||
}
|
||||
|
||||
decay = processTable->FindProcess("Decay",G4PionMinus::PionMinus());
|
||||
|
||||
fManager = G4PionMinus::PionMinus()->GetProcessManager();
|
||||
|
||||
if (fManager) {
|
||||
if (decay) fManager->RemoveProcess(decay);
|
||||
fManager->AddProcess(poldecay);
|
||||
// set ordering for PostStepDoIt and AtRestDoIt
|
||||
fManager ->SetProcessOrdering(poldecay, idxPostStep);
|
||||
fManager ->SetProcessOrdering(poldecay, idxAtRest);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
+2
-5
@@ -1,11 +1,11 @@
|
||||
//$Id$
|
||||
|
||||
///\file "field/field06/.README"
|
||||
///\file "field/field06/.README.txt"
|
||||
///\brief Example field06 README page
|
||||
|
||||
/*! \page Examplefield06 Example field06
|
||||
|
||||
This example exercises the new (in 9.5) capability of tracking massive
|
||||
This example exercises the capability of tracking massive
|
||||
particles in a gravity field.
|
||||
|
||||
Credit goes to Erik Miller (Univ. of Northern British Columbia) and
|
||||
@@ -42,9 +42,6 @@ Classes Used
|
||||
\endverbatim
|
||||
F06ExtraPhysics defines G4StepLimiter and G4UserSpecialCuts
|
||||
|
||||
F06ExtraPhysics::AddBetaDecay() to "neutron" as an example of how to set a decay-table with
|
||||
decay-channel(s) to a G4ParticleDefinition.
|
||||
|
||||
\section field06_s5 User Action Classes
|
||||
|
||||
F06EventAction::EndOfEventAction() - draws trajectories in G4TrajectoryContainer
|
||||
@@ -1,4 +1,4 @@
|
||||
// $Id: History 78302 2013-12-11 10:49:31Z gcosmo $
|
||||
// $Id: History 91270 2015-06-29 07:07:49Z gcosmo $
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -15,6 +15,12 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
June 26, 2015 P. Gumplinger - fieldex06-V10-01-01/02/03
|
||||
- remove AddBetaDecay method
|
||||
|
||||
January 23, 2015 I. Hrivnacova - fieldex06-V10-01-00
|
||||
- Updated README, .README
|
||||
|
||||
December 04, 2013 I. Hrivnacova, P. Gumplinger - fieldex06-V10-00-00
|
||||
- Fixes in gui.mac:
|
||||
Let execute vis.mac first to make the command in added menus available;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
field06 Example
|
||||
---------------
|
||||
|
||||
This example exercises the new (in 9.5) capability of tracking massive
|
||||
This example exercises the capability of tracking massive
|
||||
particles in a gravity field.
|
||||
|
||||
Credit goes to Erik Miller (Univ. of Northern British Columbia) and
|
||||
@@ -48,9 +48,6 @@
|
||||
|
||||
F06ExtraPhysics defines G4StepLimiter and G4UserSpecialCuts
|
||||
|
||||
F06ExtraPhysics::AddBetaDecay() to "neutron" as an example of how to set a decay-table with
|
||||
decay-channel(s) to a G4ParticleDefinition.
|
||||
|
||||
5- User Action Classes
|
||||
|
||||
F06EventAction:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
############################################
|
||||
|
||||
*************************************************************
|
||||
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
|
||||
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
|
||||
Copyright : Geant4 Collaboration
|
||||
Reference : NIM A 506 (2003), 250-303
|
||||
WWW : http://cern.ch/geant4
|
||||
@@ -13,12 +13,12 @@
|
||||
|
||||
***** Table : Nb of materials = 1 *****
|
||||
|
||||
Material: G4_Galactic density: 0.000 kg/m3 RadL: 204310101.835 pc Nucl.Int.Length: 114314827.001 pc
|
||||
Material: G4_Galactic density: 0.000 kg/m3 RadL: 204310101.835 pc Nucl.Int.Length: 113427275.267 pc
|
||||
Imean: 21.800 eV temperature: 2.73 K pressure: 0.00 atm
|
||||
|
||||
---> Element: H (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
|
||||
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
|
||||
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
|
||||
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
|
||||
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
|
||||
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
|
||||
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
|
||||
|
||||
|
||||
@@ -41,19 +41,21 @@ Registering graphics systems...
|
||||
|
||||
You have successfully registered the following graphics systems.
|
||||
Current available graphics systems are:
|
||||
ASCIITree (ATree)
|
||||
DAWNFILE (DAWNFILE)
|
||||
G4HepRep (HepRepXML)
|
||||
G4HepRepFile (HepRepFile)
|
||||
OpenGLImmediateX (OGLIX)
|
||||
OpenGLImmediateXm (OGLI, OGLIXm)
|
||||
OpenGLStoredX (OGLSX)
|
||||
OpenGLStoredXm (OGL, OGLS, OGLSXm)
|
||||
RayTracer (RayTracer)
|
||||
RayTracerX (RayTracerX)
|
||||
VRML1FILE (VRML1FILE)
|
||||
VRML2FILE (VRML2FILE)
|
||||
gMocrenFile (gMocrenFile)
|
||||
ASCIITree (ATree)
|
||||
DAWNFILE (DAWNFILE)
|
||||
G4HepRep (HepRepXML)
|
||||
G4HepRepFile (HepRepFile)
|
||||
RayTracer (RayTracer)
|
||||
VRML1FILE (VRML1FILE)
|
||||
VRML2FILE (VRML2FILE)
|
||||
gMocrenFile (gMocrenFile)
|
||||
OpenGLImmediateQt (OGLIQt, OGLI)
|
||||
OpenGLStoredQt (OGLSQt, OGL, OGLS)
|
||||
OpenGLImmediateXm (OGLIXm, OGLIQt_FALLBACK)
|
||||
OpenGLStoredXm (OGLSXm, OGLSQt_FALLBACK)
|
||||
OpenGLImmediateX (OGLIX, OGLIQt_FALLBACK, OGLIXm_FALLBACK)
|
||||
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
|
||||
RayTracerX (RayTracerX)
|
||||
|
||||
Registering model factories...
|
||||
|
||||
@@ -2297,7 +2299,7 @@ Terminate current event processing.
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 1
|
||||
User=0.04s Real=0.05s Sys=0s
|
||||
User=0.03s Real=0.03s Sys=0s
|
||||
#
|
||||
Graphics systems deleted.
|
||||
Visualization Manager deleting...
|
||||
@@ -2305,9 +2307,8 @@ G4 kernel has come to Quit state.
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
Maximum number of tracks in the urgent stack : 1
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
Total navigation history collections cleaned: 4
|
||||
================== Deleting memory pools ===================
|
||||
Number of memory pools allocated: 9 of which, static: 0
|
||||
Dynamic pools deleted: 9 / Total memory freed: 0.0087 Mb
|
||||
Dynamic pools deleted: 9 / Total memory freed: 0.012 MB
|
||||
============================================================
|
||||
RunManagerKernel is deleted. Good bye :)
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: F06ExtraPhysics.hh 68021 2013-03-13 13:36:07Z gcosmo $
|
||||
// $Id: F06ExtraPhysics.hh 91270 2015-06-29 07:07:49Z gcosmo $
|
||||
//
|
||||
/// \file field/field06/include/F06ExtraPhysics.hh
|
||||
/// \brief Definition of the F06ExtraPhysics class
|
||||
@@ -49,8 +49,5 @@ public:
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
|
||||
private:
|
||||
|
||||
void AddBetaDecay();
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: F06ExtraPhysics.cc 69762 2013-05-14 08:08:54Z gcosmo $
|
||||
// $Id: F06ExtraPhysics.cc 91270 2015-06-29 07:07:49Z gcosmo $
|
||||
//
|
||||
/// \file field/field06/src/F06ExtraPhysics.cc
|
||||
/// \brief Implementation of the F06ExtraPhysics class
|
||||
@@ -78,46 +78,6 @@ void F06ExtraPhysics::ConstructProcess()
|
||||
pmanager->AddDiscreteProcess(new G4StepLimiter());
|
||||
pmanager->AddDiscreteProcess(new G4UserSpecialCuts());
|
||||
}
|
||||
|
||||
AddBetaDecay();
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void F06ExtraPhysics::AddBetaDecay()
|
||||
{
|
||||
aParticleIterator->reset();
|
||||
|
||||
while ((*aParticleIterator)()) {
|
||||
|
||||
G4ParticleDefinition* particle = aParticleIterator->value();
|
||||
G4String particleName = particle->GetParticleName();
|
||||
|
||||
if (particleName == "neutron") {
|
||||
|
||||
particle->SetPDGLifeTime(885.7*second);
|
||||
particle->SetPDGStable(false);
|
||||
|
||||
G4DecayTable * table = new G4DecayTable();
|
||||
G4VDecayChannel* mode =
|
||||
new G4NeutronBetaDecayChannel("neutron",1.00);
|
||||
table->Insert(mode);
|
||||
particle->SetDecayTable(table);
|
||||
|
||||
G4ProcessManager* pmanager = particle->GetProcessManager();
|
||||
if (!pmanager) {
|
||||
std::ostringstream o;
|
||||
o << "Particle " << particleName << "without a Process Manager";
|
||||
G4Exception("F06ExtraPhysics::ConstructProcess()","",
|
||||
FatalException,o.str().c_str());
|
||||
}
|
||||
|
||||
G4Decay* theDecayProcess = new G4Decay();
|
||||
pmanager->AddProcess(theDecayProcess);
|
||||
pmanager->SetProcessOrdering(theDecayProcess,idxPostStep);
|
||||
pmanager->SetProcessOrdering(theDecayProcess,idxAtRest);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user