Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
+9 -9
View File
@@ -42,7 +42,7 @@ wls.mac implements a scintillating slab and wavelength shifting fibers.
6 "photons absorbed at boundary per event"
7 "energy deposition in scintillator per event"
\section LXe_s5 How to start?
\section LXe_s6 How to start?
- execute LXe in 'batch' mode from macro files, e.g.
$ ./LXe cerenkov.mac
@@ -52,7 +52,7 @@ wls.mac implements a scintillating slab and wavelength shifting fibers.
Then type commands, for instance
Session: /run/beamOn 1
\section LXe_s6 Detailed Explanation of Geometry Implementation
\section LXe_s7 Detailed Explanation of Geometry Implementation
The way the geometry is constructed is an experiment for a new, more object
oriented, way to construct geometry. It separates the concept of how a volume
@@ -100,7 +100,7 @@ and defined only once.
The updated variable is to signal that the volume needs to be updated and a new
logical volume made.
\section LXe_s7 Modifying the geometry at runtime
\section LXe_s8 Modifying the geometry at runtime
This example allows the user to modify the geometry definition at runtime. This
is accomplished through LXeDetectorMessenger, a derived class of G4UImessenger.
@@ -120,7 +120,7 @@ are used when constructing the geometry.
}
\endverbatim
\section LXe_s7 PMT sensitive detector
\section LXe_s9 PMT sensitive detector
The PMT sensitive detector cannot be triggered like a normal sensitive detector
because the sensitive volume does not allow photons to pass through it. Rather,
@@ -173,7 +173,7 @@ from G4SDManager and call its ProcessHits function.
}
\endverbatim
\section LXe_s8 Selectively drawing trajectories or highlighting volumes
\section LXe_s10 Selectively drawing trajectories or highlighting volumes
In a simulation such as this one, where an average of 6000 trajectories are
generated in a small space, there is little use in drawing all of them. There
@@ -219,7 +219,7 @@ the logic used in choosing which trajectories to draw.
See /LXe/detector/volumes/sphere in "UI commands" below for info on what
trajectories are drawn in this simulation.
\section LXe_s9 Saving random engine seeds
\section LXe_s11 Saving random engine seeds
At times it may be necessary to review a particular event of interest. To do
this without redoing an entire run, which may take a long time, you must store
@@ -234,7 +234,7 @@ When set to true, this causes the run manager to write the seed for the
beginning of the current run to CurrentRun.rndm and the current event to
CurrentEvent.rndm. However, at the beginning of each event this file will be
overwritten with the new event. To keep a copy for a particular event there is
a function to copy this file to run###evt###.rndm.
a function to copy this file to "run###evt###.rndm".
\verbatim
G4RunManager::rndmSaveThisEvent()
@@ -252,7 +252,7 @@ directory to save in must exist first. GEANT4 will not create it for you.
G4RunManager::SetRandomNumberStoreDir(G4String)
\endverbatim
\section LXe_s10 UI commands
\section LXe_s12 UI commands
Directories:
\verbatim
@@ -267,7 +267,7 @@ Commands:
\endverbatim
-Specifies a threshold for saving the random seed for an event. If the number
of photons generated in an event is below this number then the random seed is
saved to ./random/run###evt###.rndm. See "Saving random engine seeds".
saved to "./random/run###evt###.rndm". See "Saving random engine seeds".
\verbatim
/LXe/eventVerbose <int, default = 1>
+16
View File
@@ -14,6 +14,22 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
November 28, 2019 I. Hrivnacova (LXe-V10-05-05)
- Fixed Doxygen warnings in .README.txt
November 26, 2019 I. Hrivnacova (LXe-V10-05-04)
- Fixed formatting in .README.txt and Doxygen warnings
October 29, 2019 D. Sawkey (LXe-V10-05-03)
- wls.mac, cerenkov.mac: unique analysis filenames
October 28, 2019 D. Sawkey (LXe-V10-05-02)
- LXePMTSD.cc, LXeDetectorConstruction.cc - update PMT positions when changing
number of PMTs
October 15, 2019 D. Sawkey (LXe-V10-05-01)
- wls.mac, cerenkov.mac - fewer particles
May 24, 2019 D. Sawkey (LXe-V10-05-00)
- LXeDetectorConstruction - remove protection against rebuilding detector
- LXeEventAction - randomSaveEvent not working so comment out
+90 -88
View File
@@ -1,6 +1,10 @@
############################################
!!! WARNING - FPE detection is activated !!!
############################################
**************************************************************
Geant4 version Name: geant4-10-05-ref-06 (30-June-2019)
Geant4 version Name: geant4-10-06-ref-00 (6-December-2019)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -8,7 +12,7 @@
WWW : http://geant4.org/
**************************************************************
<<< Geant4 Physics List simulation engine: FTFP_BERT 2.0
<<< Geant4 Physics List simulation engine: FTFP_BERT
G4VModularPhysicsList::ReplacePhysics: G4EmStandardwith type : 2 is replaces with G4EmStandard_opt4
Visualization Manager instantiating with verbosity "warnings (3)"...
@@ -60,10 +64,10 @@ Construction /LXeDet/pmtSD
Construction /LXeDet/scintSD
FTFP_BERT : new threshold between BERT and FTFP is over the interval
for pions : 3 to 12 GeV
for kaons : 3 to 12 GeV
for proton : 3 to 12 GeV
for neutron : 3 to 12 GeV
for pions : 3 to 6 GeV
for kaons : 3 to 6 GeV
for proton : 3 to 6 GeV
for neutron : 3 to 6 GeV
### Adding tracking cuts for neutron TimeCut(ns)= 10000 KinEnergyCut(MeV)= 0
### Birks coefficients used in run time
@@ -89,9 +93,7 @@ compt: for gamma SubType=13 BuildTable=1
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
PenConversion : Emin= 0 eV Emax= 20 MeV
BetheHeitler : Emin= 20 MeV Emax= 80 GeV ModifiedTsai
BetheHeitlerLPM : Emin= 80 GeV Emax= 100 TeV ModifiedTsai
BetheHeitler5D : Emin= 0 eV Emax= 100 TeV ModifiedTsai
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 100 eV to 100 keV, 20 bins/decade, spline: 0
@@ -476,7 +478,7 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: neutronInelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 12 GeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: G4NeutronInelasticXS: 0 eV ---> 100 TeV
Process: nCapture
@@ -489,8 +491,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Hadronic Processes for GenericIon
Process: ionInelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 4 GeV/n
Model: FTFP: 2 GeV/n ---> 100 TeV/n
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
---------------------------------------------------
@@ -501,8 +503,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
Process: He3Inelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 4 GeV/n
Model: FTFP: 2 GeV/n ---> 100 TeV/n
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
---------------------------------------------------
@@ -513,8 +515,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
Process: alphaInelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 4 GeV/n
Model: FTFP: 2 GeV/n ---> 100 TeV/n
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
---------------------------------------------------
@@ -563,8 +565,9 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Hadronic Processes for anti_neutron
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Model: hElasticLHEP: 0 eV ---> 100.1 MeV
Model: AntiAElastic: 100 MeV ---> 100 TeV
Cr_sctns: AntiAGlauber: 0 eV ---> 100 TeV
Process: anti_neutronInelastic
Model: FTFP: 0 eV ---> 100 TeV
@@ -608,14 +611,14 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
Process: dInelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 4 GeV/n
Model: FTFP: 2 GeV/n ---> 100 TeV/n
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for e+
Process: positronNuclear
Process: electronNuclear
Model: G4ElectroVDNuclearModel: 0 eV ---> 1 PeV
Cr_sctns: ElectroNuclearXS: 0 eV ---> 100 TeV
@@ -630,7 +633,7 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Hadronic Processes for gamma
Process: photonNuclear
Model: BertiniCascade: 0 eV ---> 3.5 GeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Model: TheoFSGenerator: 3 GeV ---> 100 TeV
Cr_sctns: PhotoNuclearXS: 0 eV ---> 100 TeV
@@ -643,9 +646,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: kaon+Inelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 12 GeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Cr_sctns: ChipsKaonPlusInelasticXS: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for kaon-
@@ -656,9 +658,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: kaon-Inelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 12 GeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Cr_sctns: ChipsKaonMinusInelasticXS: 0 eV ---> 100 TeV
Process: hBertiniCaptureAtRest
@@ -671,8 +672,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: lambdaInelastic
Model: BertiniCascade: 0 eV ---> 6 GeV
Model: FTFP: 2 GeV ---> 100 TeV
Cr_sctns: ChipsHyperonInelasticXS: 0 eV ---> 100 TeV
Model: FTFP: 3 GeV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for mu+
@@ -694,26 +695,24 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Hadronic Processes for pi+
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 1.0001 GeV
Model: hElasticGlauber: 1 GeV ---> 100 TeV
Model: hElasticGlauber: 0 eV ---> 100 TeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
Process: pi+Inelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 12 GeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for pi-
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 1.0001 GeV
Model: hElasticGlauber: 1 GeV ---> 100 TeV
Model: hElasticGlauber: 0 eV ---> 100 TeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
Process: pi-Inelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 12 GeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
Process: hBertiniCaptureAtRest
@@ -727,7 +726,7 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: protonInelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 12 GeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
---------------------------------------------------
@@ -738,8 +737,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
Process: tInelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 4 GeV/n
Model: FTFP: 2 GeV/n ---> 100 TeV/n
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
================================================================
@@ -748,21 +747,24 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
=======================================================================
Type of pre-compound inverse x-section 3
Pre-compound model active 1
Pre-compound low energy (MeV) 0.1
Pre-compound excitation low energy (MeV) 0.1
Pre-compound excitation high energy (MeV) 30
Type of de-excitation inverse x-section 3
Type of de-excitation factory Evaporation+GEM
Number of de-excitation channels 68
Min excitation energy (keV) 0.01
Min energy per nucleon for multifragmentation (MeV) 1e+05
Min energy per nucleon for multifragmentation (MeV) 2e+05
Limit excitation energy for Fermi BreakUp (MeV) 20
Level density (1/MeV) 0.075
Model of level density flag 1
Use simple level density model 1
Use discrete excitation energy of the residual 0
Time limit for long lived isomeres (ns) 1e+12
Internal e- conversion flag 1
Store e- internal conversion data 0
Electron internal conversion ID 2
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
Upload data before 1st event for Z < 9
=======================================================================
========= Table of registered couples ==============================
@@ -800,9 +802,9 @@ Index : 3 used in the geometry : Yes
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
Energy weighted position of hits in LXe : (6.57173,-10.9046,-101.128)
Energy weighted position of hits in LXe : (6.57187,-10.9049,-101.128)
Total energy deposition in scintillator : 397.837 (keV)
Reconstructed position of hits in LXe : (0,0,0)
Reconstructed position of hits in LXe : (1.28432,-3.61922,-19.9117)
WARNING: G4VisManager::IsValidView(): Attempt to draw when no graphics system
has been instantiated. Use "/vis/open" or "/vis/sceneHandler/create".
Alternatively, to avoid this message, suppress instantiation of vis
@@ -818,7 +820,7 @@ Unaccounted for photons in this event : 0
Run terminated.
Run Summary
Number of events processed : 1
User=0.060000s Real=0.069703s Sys=0.000000s
User=0.040000s Real=0.041733s Sys=0.010000s
======================== run summary ======================
The run was 1 events.
@@ -864,9 +866,9 @@ Index : 3 used in the geometry : Yes
====================================================================
### Run 1 starts.
Energy weighted position of hits in LXe : (2.49609,2.75035,-98.0652)
Energy weighted position of hits in LXe : (2.49614,2.7504,-98.065)
Total energy deposition in scintillator : 537.024 (keV)
Reconstructed position of hits in LXe : (0,0,0)
Reconstructed position of hits in LXe : (1.40728,2.4522,-20.0827)
Number of photons that hit PMTs in this event : 1364
Number of PMTs above threshold(2) : 32
Number of photons produced by scintillation in this event : 5046
@@ -874,9 +876,9 @@ Index : 3 used in the geometry : Yes
Number of photons absorbed (OpAbsorption) in this event : 3682
Number of photons absorbed at boundaries (OpBoundary) in this event : 0
Unaccounted for photons in this event : 0
Energy weighted position of hits in LXe : (0.0615119,-2.78626,-91.1114)
Energy weighted position of hits in LXe : (0.0615129,-2.78631,-91.111)
Total energy deposition in scintillator : 536.004 (keV)
Reconstructed position of hits in LXe : (0,0,0)
Reconstructed position of hits in LXe : (-1.51165,0.787524,-20.7863)
Number of photons that hit PMTs in this event : 1474
Number of PMTs above threshold(2) : 32
Number of photons produced by scintillation in this event : 5010
@@ -884,9 +886,9 @@ Unaccounted for photons in this event : 0
Number of photons absorbed (OpAbsorption) in this event : 3536
Number of photons absorbed at boundaries (OpBoundary) in this event : 0
Unaccounted for photons in this event : 0
Energy weighted position of hits in LXe : (-2.32775,-0.0358212,-89.5269)
Energy weighted position of hits in LXe : (-2.32778,-0.0358351,-89.5265)
Total energy deposition in scintillator : 538.496 (keV)
Reconstructed position of hits in LXe : (0,0,0)
Reconstructed position of hits in LXe : (2.04655,0.390137,-21.1603)
Number of photons that hit PMTs in this event : 1482
Number of PMTs above threshold(2) : 32
Number of photons produced by scintillation in this event : 5373
@@ -894,9 +896,9 @@ Unaccounted for photons in this event : 0
Number of photons absorbed (OpAbsorption) in this event : 3891
Number of photons absorbed at boundaries (OpBoundary) in this event : 0
Unaccounted for photons in this event : 0
Energy weighted position of hits in LXe : (-3.21847,3.82021,-71.9622)
Energy weighted position of hits in LXe : (-3.22631,3.81231,-71.956)
Total energy deposition in scintillator : 537.361 (keV)
Reconstructed position of hits in LXe : (0,0,0)
Reconstructed position of hits in LXe : (-3.10581,2.58855,-24.8646)
Number of photons that hit PMTs in this event : 1551
Number of PMTs above threshold(2) : 32
Number of photons produced by scintillation in this event : 5280
@@ -904,19 +906,19 @@ Unaccounted for photons in this event : 0
Number of photons absorbed (OpAbsorption) in this event : 3729
Number of photons absorbed at boundaries (OpBoundary) in this event : 0
Unaccounted for photons in this event : 0
Energy weighted position of hits in LXe : (0.302159,0.56721,-102.03)
Total energy deposition in scintillator : 539.174 (keV)
Reconstructed position of hits in LXe : (0,0,0)
Number of photons that hit PMTs in this event : 1443
Energy weighted position of hits in LXe : (0.306863,0.568819,-102.037)
Total energy deposition in scintillator : 539.139 (keV)
Reconstructed position of hits in LXe : (-2.34309,1.69399,-17.6345)
Number of photons that hit PMTs in this event : 1448
Number of PMTs above threshold(2) : 32
Number of photons produced by scintillation in this event : 5428
Number of photons produced by cerenkov in this event : 0
Number of photons absorbed (OpAbsorption) in this event : 3985
Number of photons absorbed (OpAbsorption) in this event : 3980
Number of photons absorbed at boundaries (OpBoundary) in this event : 0
Unaccounted for photons in this event : 0
Energy weighted position of hits in LXe : (-28.9681,5.80242,-84.4603)
Energy weighted position of hits in LXe : (-28.9686,5.80253,-84.4598)
Total energy deposition in scintillator : 536.904 (keV)
Reconstructed position of hits in LXe : (0,0,0)
Reconstructed position of hits in LXe : (-7.13119,3.32701,-23.1916)
Number of photons that hit PMTs in this event : 1606
Number of PMTs above threshold(2) : 32
Number of photons produced by scintillation in this event : 5270
@@ -924,66 +926,66 @@ Unaccounted for photons in this event : 0
Number of photons absorbed (OpAbsorption) in this event : 3664
Number of photons absorbed at boundaries (OpBoundary) in this event : 0
Unaccounted for photons in this event : 0
Energy weighted position of hits in LXe : (-9.57001,0.707628,-74.8538)
Total energy deposition in scintillator : 537.977 (keV)
Reconstructed position of hits in LXe : (0,0,0)
Number of photons that hit PMTs in this event : 1483
Energy weighted position of hits in LXe : (-9.61,0.634004,-74.8345)
Total energy deposition in scintillator : 538.456 (keV)
Reconstructed position of hits in LXe : (-1.76512,0.78514,-21.6676)
Number of photons that hit PMTs in this event : 1589
Number of PMTs above threshold(2) : 32
Number of photons produced by scintillation in this event : 5300
Number of photons produced by scintillation in this event : 5474
Number of photons produced by cerenkov in this event : 0
Number of photons absorbed (OpAbsorption) in this event : 3817
Number of photons absorbed (OpAbsorption) in this event : 3885
Number of photons absorbed at boundaries (OpBoundary) in this event : 0
Unaccounted for photons in this event : 0
Energy weighted position of hits in LXe : (-11.9823,-8.21268,-29.2203)
Total energy deposition in scintillator : 536.679 (keV)
Reconstructed position of hits in LXe : (0,0,0)
Number of photons that hit PMTs in this event : 1531
Energy weighted position of hits in LXe : (0.0363846,0.105927,1.02407)
Total energy deposition in scintillator : 537.816 (keV)
Reconstructed position of hits in LXe : (0.0886957,-1.9392,-3.10788)
Number of photons that hit PMTs in this event : 1566
Number of PMTs above threshold(2) : 32
Number of photons produced by scintillation in this event : 5163
Number of photons produced by scintillation in this event : 5359
Number of photons produced by cerenkov in this event : 0
Number of photons absorbed (OpAbsorption) in this event : 3632
Number of photons absorbed (OpAbsorption) in this event : 3793
Number of photons absorbed at boundaries (OpBoundary) in this event : 0
Unaccounted for photons in this event : 0
Energy weighted position of hits in LXe : (5.31057,19.3064,9.94298)
Total energy deposition in scintillator : 537.652 (keV)
Reconstructed position of hits in LXe : (0,0,0)
Number of photons that hit PMTs in this event : 1477
Energy weighted position of hits in LXe : (-37.9051,4.79651,-58.1883)
Total energy deposition in scintillator : 534.116 (keV)
Reconstructed position of hits in LXe : (-5.24428,2.10736,-21.589)
Number of photons that hit PMTs in this event : 1351
Number of PMTs above threshold(2) : 32
Number of photons produced by scintillation in this event : 5247
Number of photons produced by scintillation in this event : 4621
Number of photons produced by cerenkov in this event : 0
Number of photons absorbed (OpAbsorption) in this event : 3770
Number of photons absorbed (OpAbsorption) in this event : 3270
Number of photons absorbed at boundaries (OpBoundary) in this event : 0
Unaccounted for photons in this event : 0
Energy weighted position of hits in LXe : (-0.0552048,-0.0042507,-107.28)
Total energy deposition in scintillator : 351.028 (keV)
Reconstructed position of hits in LXe : (0,0,0)
Number of photons that hit PMTs in this event : 973
Energy weighted position of hits in LXe : (17.9054,-5.11137,-52.179)
Total energy deposition in scintillator : 537.172 (keV)
Reconstructed position of hits in LXe : (6.4645,-2.30882,-22.6731)
Number of photons that hit PMTs in this event : 1566
Number of PMTs above threshold(2) : 32
Number of photons produced by scintillation in this event : 3638
Number of photons produced by scintillation in this event : 5268
Number of photons produced by cerenkov in this event : 0
Number of photons absorbed (OpAbsorption) in this event : 2665
Number of photons absorbed (OpAbsorption) in this event : 3702
Number of photons absorbed at boundaries (OpBoundary) in this event : 0
Unaccounted for photons in this event : 0
Run terminated.
Run Summary
Number of events processed : 10
User=0.630000s Real=0.645956s Sys=0.010000s
User=0.540000s Real=0.549259s Sys=0.000000s
======================== run summary ======================
The run was 10 events.
Number of hits per event: 1438 +- 52.74
Number of hits per event: 1500 +- 27.36
Number of hits per event above threshold: 32 +- 0
Number of scintillation photons per event : 5076 +- 156.6
Number of scintillation photons per event : 5213 +- 76.91
Number of Cerenkov photons per event: 0 +- 0
Number of absorbed photons per event : 3637 +- 109.6
Number of absorbed photons per event : 3713 +- 60.85
Number of photons absorbed at boundary per event: 0 +- 0
Total energy deposition in scintillator per event: 518.8 +- 17.69 keV.
Total energy deposition in scintillator per event: 537.2 +- 0.4297 keV.
Graphics systems deleted.
Visualization Manager deleting...
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 15 of which, static: 0
Dynamic pools deleted: 15 / Total memory freed: 2 MB
Dynamic pools deleted: 15 / Total memory freed: 2.7 MB
============================================================
RunManagerKernel is deleted. Good bye :)
+6 -8
View File
@@ -6,20 +6,17 @@
##
#################
/run/initialize
/control/verbose 1
/tracking/verbose 0
/run/verbose 1
/LXe/eventVerbose 0
/process/optical/processActivation Scintillation false
/run/initialize
/LXe/eventVerbose 0
/LXe/detector/defaults
/LXe/oneStepPrimaries false
#This currently causes the program to crash due to a bug in geant4
#Uncomment it once that bug has been fixed. Until then, to use this,
#modify LXePhysicsList to disable scintillation.
#/process/inactivate Scintillation
/LXe/detector/MainScintYield 0
/LXe/detector/nx 20
@@ -41,6 +38,7 @@
#reset from a random seed that shows a good cone
#/random/resetEngineFrom random/goodCerenkov.rndm
/analysis/setFileName cerenkov
/analysis/h1/set 1 100 -1 50
/analysis/h1/set 2 100 -1 50
/analysis/h1/set 4 100 -1 200
@@ -49,4 +47,4 @@
/analysis/h1/set 7 100 0 20 MeV
/run/printProgress 1000
/run/beamOn 100000
/run/beamOn 10000
@@ -60,13 +60,13 @@ class LXePMTSD : public G4VSensitiveDetector
void PrintAll();
//Initialize the arrays to store pmt possitions
inline void InitPMTs(G4int nPMTs){
inline void InitPMTs(){
if(fPMTPositionsX)delete fPMTPositionsX;
if(fPMTPositionsY)delete fPMTPositionsY;
if(fPMTPositionsZ)delete fPMTPositionsZ;
fPMTPositionsX=new G4DataVector(nPMTs);
fPMTPositionsY=new G4DataVector(nPMTs);
fPMTPositionsZ=new G4DataVector(nPMTs);
fPMTPositionsX = new G4DataVector();
fPMTPositionsY = new G4DataVector();
fPMTPositionsZ = new G4DataVector();
}
//Store a pmt position
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file optical/LXe/include/Run.hh
/// \brief Definition of the Run class
/// \file optical/LXe/include/LXeRun.hh
/// \brief Definition of the LXeRun class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -307,15 +307,20 @@ void LXeDetectorConstruction::ConstructSDandField() {
// PMT SD
if (!fPmt_SD.Get()) {
LXePMTSD* pmt = fPmt_SD.Get();
if (!pmt) {
//Created here so it exists as pmts are being placed
G4cout << "Construction /LXeDet/pmtSD" << G4endl;
LXePMTSD* pmt_SD = new LXePMTSD("/LXeDet/pmtSD");
fPmt_SD.Put(pmt_SD);
pmt_SD->InitPMTs((fNx*fNy+fNx*fNz+fNy*fNz)*2); //let pmtSD know # of pmts
pmt_SD->InitPMTs();
pmt_SD->SetPmtPositions(fMainVolume->GetPmtPositions());
}
else {
pmt->InitPMTs();
pmt->SetPmtPositions(fMainVolume->GetPmtPositions());
}
G4SDManager::GetSDMpointer()->AddNewDetector(fPmt_SD.Get());
//sensitive detector is not actually on the photocathode.
//processHits gets done manually by the stepping action.
+2 -1
View File
@@ -14,9 +14,10 @@
/gun/particle e-
/gun/energy 511 keV
/analysis/setFileName wls
/analysis/h1/set 3 100 -1 10000
/analysis/h1/set 4 100 -1 100
/analysis/h1/set 5 100 -1 10000
/run/printProgress 10
/run/beamOn 1000
/run/beamOn 100