Import Geant4 10.4.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2017-06-30 10:49:55 +02:00
parent 3a5407696b
commit 1a1316fea4
2180 changed files with 237880 additions and 59109 deletions
+6 -2
View File
@@ -1,4 +1,4 @@
$Id: History 101649 2016-11-21 08:44:52Z gcosmo $
$Id: History 104474 2017-06-01 07:35:19Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -15,7 +15,11 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
November 19,2016 A.Dotti (LXe-V10-02-03)
May 31, 2017 P. Gumplinger (LXe-V10-03-00)
- address problem report:
http://hypernews.slac.stanford.edu/HyperNews/geant4/get/opticalphotons/651/1/1/1.html
November 19, 2016 A.Dotti (LXe-V10-02-03)
- explici set of SD to manager
November 2, 2016 G.Folger (LXe-V10-02-02)
+6 -5
View File
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-03-patch-01 (24-February-2017)
Geant4 version Name: geant4-10-03-ref-06 (30-June-2017)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -61,7 +61,7 @@ Available colours:
Construction /LXeDet/pmtSD
Construction /LXeDet/scintSD
### Birks coeffitients used in run time
### Birks coefficients used in run time
LXe 0.126 mm/MeV 0.038052 g/cm^2/MeV massFactor= 7.14643 effCharge= 2916
Polystyrene 0.126 mm/MeV 0.012978 g/cm^2/MeV massFactor= 101.167 effCharge= 0.027027
@@ -196,10 +196,11 @@ Type of pre-compound inverse x-section 3
Type of de-excitation inverse x-section 3
Min excitation energy (keV) 0.01
Level density (1/MeV) 0.1
Time limit for long lived isomeres (ns) 1000
Time limit for long lived isomeres (ns) 1e+12
Use new data files 1
Use complete data files 0
Correlated gamma emission flag 0
Electron internal conversion ID 0
=======================================================================
Number of de-excitation channels 8
@@ -255,7 +256,7 @@ Unacounted for photons in this event : 0
Run terminated.
Run Summary
Number of events processed : 1
User=0.1s Real=0.1s Sys=0s
User=0.09s Real=0.1s Sys=0s
========= Table of registered couples ==============================
@@ -303,7 +304,7 @@ Unacounted for photons in this event : 0
Run terminated.
Run Summary
Number of events processed : 1
User=0.09s Real=0.09s Sys=0s
User=0.09s Real=0.08s Sys=0s
Graphics systems deleted.
Visualization Manager deleting...
G4 kernel has come to Quit state.
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeDetectorConstruction.cc 101905 2016-12-07 11:34:39Z gunter $
// $Id: LXeDetectorConstruction.cc 104474 2017-06-01 07:35:19Z gcosmo $
//
/// \file optical/LXe/src/LXeDetectorConstruction.cc
/// \brief Implementation of the LXeDetectorConstruction class
@@ -430,7 +430,6 @@ void LXeDetectorConstruction::SetDefaults() {
if(fLXe_mt)fLXe_mt->AddConstProperty("SCINTILLATIONYIELD",12000./MeV);
if(fMPTPStyrene)fMPTPStyrene->AddConstProperty("SCINTILLATIONYIELD",10./keV);
G4RunManager::GetRunManager()->ReinitializeGeometry();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeDetectorMessenger.cc 77486 2013-11-25 10:14:16Z gcosmo $
// $Id: LXeDetectorMessenger.cc 104474 2017-06-01 07:35:19Z gcosmo $
//
/// \file optical/LXe/src/LXeDetectorMessenger.cc
/// \brief Implementation of the LXeDetectorMessenger class
@@ -41,6 +41,8 @@
#include "G4UIcmdWithADouble.hh"
#include "G4Scintillation.hh"
#include "G4RunManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
LXeDetectorMessenger::LXeDetectorMessenger(LXeDetectorConstruction* detector)
@@ -121,11 +123,6 @@ LXeDetectorMessenger::LXeDetectorMessenger(LXeDetectorConstruction* detector)
fNFibersCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
fNFibersCmd->SetToBeBroadcasted(false);
fDefaultsCmd = new G4UIcommand("/LXe/detector/defaults",this);
fDefaultsCmd->SetGuidance("Set all detector geometry values to defaults.");
fDefaultsCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
fDefaultsCmd->SetToBeBroadcasted(false);
fMainScintYield=new G4UIcmdWithADouble("/LXe/detector/MainScintYield",this);
fMainScintYield->SetGuidance("Set scinitillation yield of main volume.");
fMainScintYield->SetGuidance("Specified in photons/MeV");
@@ -137,6 +134,11 @@ LXeDetectorMessenger::LXeDetectorMessenger(LXeDetectorConstruction* detector)
fWLSScintYield->SetGuidance("Specified in photons/MeV");
fWLSScintYield->AvailableForStates(G4State_PreInit,G4State_Idle);
fWLSScintYield->SetToBeBroadcasted(false);
fDefaultsCmd = new G4UIcommand("/LXe/detector/defaults",this);
fDefaultsCmd->SetGuidance("Set all detector geometry values to defaults.");
fDefaultsCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
fDefaultsCmd->SetToBeBroadcasted(false);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -151,7 +153,6 @@ LXeDetectorMessenger::~LXeDetectorMessenger()
delete fNzCmd;
delete fDetectorDir;
delete fVolumesDir;
delete fDefaultsCmd;
delete fSphereCmd;
delete fWlsCmd;
delete fLxeCmd;
@@ -159,6 +160,7 @@ LXeDetectorMessenger::~LXeDetectorMessenger()
delete fReflectivityCmd;
delete fMainScintYield;
delete fWLSScintYield;
delete fDefaultsCmd;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -184,9 +186,6 @@ void LXeDetectorMessenger::SetNewValue(G4UIcommand* command, G4String newValue)
else if (command == fNzCmd){
fLXeDetector->SetNZ(fNzCmd->GetNewIntValue(newValue));
}
else if (command == fDefaultsCmd){
fLXeDetector->SetDefaults();
}
else if (command == fSphereCmd){
fLXeDetector->SetSphereOn(fSphereCmd->GetNewBoolValue(newValue));
}
@@ -204,9 +203,15 @@ void LXeDetectorMessenger::SetNewValue(G4UIcommand* command, G4String newValue)
fLXeDetector->SetNFibers(fNFibersCmd->GetNewIntValue(newValue));
}
else if (command == fMainScintYield){
fLXeDetector->SetMainScintYield(fMainScintYield->GetNewDoubleValue(newValue));
fLXeDetector->
SetMainScintYield(fMainScintYield->GetNewDoubleValue(newValue));
}
else if (command == fWLSScintYield){
fLXeDetector->SetWLSScintYield(fWLSScintYield->GetNewDoubleValue(newValue));
}
else if (command == fDefaultsCmd){
fLXeDetector->SetDefaults();
G4RunManager::GetRunManager()->ReinitializeGeometry(); //Add here this line
}
}