Import Geant4 10.4.0.beta source tree
This commit is contained in:
@@ -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
|
||||
@@ -158,7 +158,7 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 10
|
||||
User=0s Real=0s Sys=0s
|
||||
User=0.01s Real=0.01s Sys=0s
|
||||
WARNING: 10 events have been kept for refreshing and/or reviewing.
|
||||
|
||||
"/vis/reviewKeptEvents" to review them one by one.
|
||||
@@ -174,6 +174,7 @@ UserPrimaryGenerator deleted.
|
||||
RunManager is deleting RunManagerKernel.
|
||||
EventManager deleted.
|
||||
Units table cleared.
|
||||
TransportationManager deleted.
|
||||
Total navigation history collections cleaned: 7
|
||||
================== Deleting memory pools ===================
|
||||
Pool ID '20G4NavigationLevelRep', size : 0.00769 MB
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History 98062 2016-07-01 16:26:46Z gcosmo $
|
||||
$Id: History 103272 2017-03-23 13:47:10Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -17,6 +17,12 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
March 23rd, 2017 Gabriele Cosmo G01-V10-03-01
|
||||
- Updated setup for visualization in main program.
|
||||
|
||||
March 23rd, 2017 Witek Pokorski G01-V10-03-00
|
||||
- Added missing gdml files to CMake installation script.
|
||||
|
||||
July 1st, 2016 Ivana Hrivnacova G01-V10-02-02
|
||||
- Replaced std::cout with G4cout
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
Usage: load_gdml <intput_gdml_file:mandatory> <output_gdml_file:optional>
|
||||
|
||||
G4GDML: Reading '/mnt/build/jenkins/workspace/g4-slc6/COMPILER/gcc49/LABEL/slc6/THREAD/Seq/release/RelWithDebInfo/geant4-10-03-patches_branch/geant4-10-03-patches_branch/examples/extended/persistency/gdml/G01/solids.gdml'...
|
||||
G4GDML: Reading '/mnt/build/jenkins/workspace/g4-slc6/COMPILER/gcc49/LABEL/slc6/THREAD/Seq/release/RelWithDebInfo/10-03-ref-06_branch/10-03-ref-06_branch/examples/extended/persistency/gdml/G01/solids.gdml'...
|
||||
G4GDML: Reading definitions...
|
||||
G4GDML: Reading materials...
|
||||
G4GDML: Reading solids...
|
||||
G4GDML: Reading structure...
|
||||
G4GDML: Reading setup...
|
||||
G4GDML: Reading '/mnt/build/jenkins/workspace/g4-slc6/COMPILER/gcc49/LABEL/slc6/THREAD/Seq/release/RelWithDebInfo/geant4-10-03-patches_branch/geant4-10-03-patches_branch/examples/extended/persistency/gdml/G01/solids.gdml' done!
|
||||
G4GDML: Reading '/mnt/build/jenkins/workspace/g4-slc6/COMPILER/gcc49/LABEL/slc6/THREAD/Seq/release/RelWithDebInfo/10-03-ref-06_branch/10-03-ref-06_branch/examples/extended/persistency/gdml/G01/solids.gdml' done!
|
||||
Stripping off GDML names of materials, solids and volumes ...
|
||||
|
||||
############################################
|
||||
@@ -15,7 +15,7 @@ Stripping off GDML names of materials, solids and volumes ...
|
||||
############################################
|
||||
|
||||
*************************************************************
|
||||
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
|
||||
@@ -31,6 +31,55 @@ Stripping off GDML names of materials, solids and volumes ...
|
||||
for neutron : 3 to 12 GeV
|
||||
|
||||
### Adding tracking cuts for neutron TimeCut(ns)= 10000 KinEnergyCut(MeV)= 0
|
||||
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)
|
||||
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...
|
||||
|
||||
You have successfully registered the following model factories.
|
||||
Registered model factories:
|
||||
generic
|
||||
drawByAttribute
|
||||
drawByCharge
|
||||
drawByOriginVolume
|
||||
drawByParticleID
|
||||
drawByEncounteredVolume
|
||||
|
||||
Registered filter factories:
|
||||
attributeFilter
|
||||
chargeFilter
|
||||
originVolumeFilter
|
||||
particleFilter
|
||||
encounteredVolumeFilter
|
||||
|
||||
You have successfully registered the following user vis actions.
|
||||
Run Duration User Vis Actions: none
|
||||
End of Event User Vis Actions: none
|
||||
End of Run User Vis Actions: none
|
||||
|
||||
Some /vis commands (optionally) take a string to specify colour.
|
||||
Available colours:
|
||||
black, blue, brown, cyan, gray, green, grey, magenta, red, white, yellow
|
||||
|
||||
|
||||
|
||||
Global auxiliary info:
|
||||
@@ -51,7 +100,7 @@ G4GDML: Writing 'g01.gdml' done !
|
||||
phot: for gamma SubType= 12 BuildTable= 0
|
||||
LambdaPrime table from 200 keV to 100 TeV in 61 bins
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
PhotoElectric : Emin= 0 eV Emax= 100 TeV AngularGenSauterGavrila FluoActive
|
||||
LivermorePhElectric : Emin= 0 eV Emax= 100 TeV AngularGenSauterGavrila FluoActive
|
||||
|
||||
compt: for gamma SubType= 13 BuildTable= 1
|
||||
Lambda table from 100 eV to 1 MeV, 7 bins per decade, spline: 1
|
||||
@@ -65,6 +114,12 @@ conv: for gamma SubType= 14 BuildTable= 1
|
||||
BetheHeitler : Emin= 0 eV Emax= 80 GeV
|
||||
BetheHeitlerLPM : Emin= 80 GeV Emax= 100 TeV
|
||||
|
||||
Rayl: for gamma SubType= 11 BuildTable= 1
|
||||
Lambda table from 100 eV to 100 keV, 7 bins per decade, spline: 0
|
||||
LambdaPrime table from 100 keV to 100 TeV in 63 bins
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
|
||||
|
||||
msc: for e- SubType= 10
|
||||
RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
@@ -729,10 +784,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 2
|
||||
=======================================================================
|
||||
Number of de-excitation channels 8
|
||||
|
||||
@@ -1114,7 +1170,7 @@ Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolu
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 20
|
||||
User=0.01s Real=0.01s Sys=0s
|
||||
User=0s Real=0s Sys=0s
|
||||
/gun/direction 0 0 -1
|
||||
/run/beamOn 20
|
||||
|
||||
@@ -1481,7 +1537,7 @@ Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolu
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 20
|
||||
User=0s Real=0s Sys=0s
|
||||
User=0.01s Real=0.01s Sys=0s
|
||||
/tracking/verbose 0
|
||||
/gun/direction 0.3 0.2 1
|
||||
/run/beamOn 20
|
||||
@@ -1521,7 +1577,7 @@ Index : 1 used in the geometry : Yes
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 20
|
||||
User=0s Real=0.01s Sys=0s
|
||||
User=0s Real=0s Sys=0s
|
||||
/gun/direction 0.3 -0.2 1
|
||||
/run/beamOn 20
|
||||
|
||||
@@ -1560,7 +1616,7 @@ Index : 1 used in the geometry : Yes
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 20
|
||||
User=0.01s Real=0s Sys=0s
|
||||
User=0s Real=0s Sys=0s
|
||||
/gun/direction -0.3 0.2 0.6
|
||||
/run/beamOn 20
|
||||
|
||||
@@ -1599,7 +1655,9 @@ Index : 1 used in the geometry : Yes
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 20
|
||||
User=0s Real=0s Sys=0s
|
||||
User=0s Real=0.01s Sys=0s
|
||||
Graphics systems deleted.
|
||||
Visualization Manager deleting...
|
||||
G4 kernel has come to Quit state.
|
||||
UserDetectorConstruction deleted.
|
||||
UserPhysicsList deleted.
|
||||
@@ -1607,6 +1665,7 @@ UserPrimaryGenerator deleted.
|
||||
RunManager is deleting RunManagerKernel.
|
||||
EventManager deleted.
|
||||
Units table cleared.
|
||||
TransportationManager deleted.
|
||||
Total navigation history collections cleaned: 8
|
||||
================== Deleting memory pools ===================
|
||||
Pool ID '20G4NavigationLevelRep', size : 0.00961 MB
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Main program of the persistency/gdml/G01 example
|
||||
//
|
||||
//
|
||||
// $Id: load_gdml.cc 98062 2016-07-01 16:26:46Z gcosmo $
|
||||
// $Id: load_gdml.cc 103272 2017-03-23 13:47:10Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -47,20 +47,15 @@
|
||||
#include "G01DetectorConstruction.hh"
|
||||
#include "FTFP_BERT.hh"
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
#include "G4VisExecutive.hh"
|
||||
#endif
|
||||
|
||||
#ifdef G4UI_USE
|
||||
#include "G4UIExecutive.hh"
|
||||
#endif
|
||||
|
||||
#include "G4GDMLParser.hh"
|
||||
|
||||
void print_aux(const G4GDMLAuxListType* auxInfoList, G4String prepend="|")
|
||||
{
|
||||
for(std::vector<G4GDMLAuxStructType>::const_iterator iaux = auxInfoList->begin();
|
||||
iaux != auxInfoList->end(); iaux++ )
|
||||
for(std::vector<G4GDMLAuxStructType>::const_iterator
|
||||
iaux = auxInfoList->begin(); iaux != auxInfoList->end(); iaux++ )
|
||||
{
|
||||
G4String str=iaux->type;
|
||||
G4String val=iaux->value;
|
||||
@@ -73,6 +68,7 @@ void print_aux(const G4GDMLAuxListType* auxInfoList, G4String prepend="|")
|
||||
return;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------
|
||||
|
||||
int main(int argc,char **argv)
|
||||
{
|
||||
@@ -111,6 +107,11 @@ int main(int argc,char **argv)
|
||||
|
||||
runManager->Initialize();
|
||||
|
||||
// Initialize visualization
|
||||
G4VisManager* visManager = new G4VisExecutive;
|
||||
visManager->Initialize();
|
||||
|
||||
// Get the pointer to the User Interface manager
|
||||
G4UImanager* UImanager = G4UImanager::GetUIpointer();
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
@@ -160,12 +161,14 @@ int main(int argc,char **argv)
|
||||
parser.AddAuxiliary(myaux);
|
||||
|
||||
|
||||
// example of setting auxiliary info for world volume (can be set for any volume)
|
||||
// example of setting auxiliary info for world volume
|
||||
// (can be set for any volume)
|
||||
|
||||
G4GDMLAuxStructType mylocalaux = {"sometype", "somevalue", "someunit", 0};
|
||||
|
||||
parser.AddVolumeAuxiliary(mylocalaux, G4TransportationManager::GetTransportationManager()
|
||||
->GetNavigatorForTracking()->GetWorldVolume()->GetLogicalVolume());
|
||||
parser.AddVolumeAuxiliary(mylocalaux,
|
||||
G4TransportationManager::GetTransportationManager()
|
||||
->GetNavigatorForTracking()->GetWorldVolume()->GetLogicalVolume());
|
||||
*/
|
||||
parser.SetRegionExport(true);
|
||||
parser.Write(argv[2], G4TransportationManager::GetTransportationManager()
|
||||
@@ -181,24 +184,14 @@ int main(int argc,char **argv)
|
||||
}
|
||||
else // interactive mode
|
||||
{
|
||||
#ifdef G4UI_USE
|
||||
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
|
||||
#ifdef G4VIS_USE
|
||||
G4VisManager* visManager = new G4VisExecutive;
|
||||
visManager->Initialize();
|
||||
UImanager->ApplyCommand("/control/execute vis.mac");
|
||||
#endif
|
||||
ui->SessionStart();
|
||||
#ifdef G4VIS_USE
|
||||
delete visManager;
|
||||
#endif
|
||||
delete ui;
|
||||
#endif
|
||||
}
|
||||
|
||||
delete visManager;
|
||||
delete runManager;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
5.0 -11.1"/>
|
||||
|
||||
<matrix name="RINDEX" coldim="2" values="1.65*eV 1.58" />
|
||||
<matrix name="REFLECTIVITY" coldim="2" values="1.65*eV 0.8" />
|
||||
</define>
|
||||
|
||||
<materials>
|
||||
@@ -37,6 +38,9 @@
|
||||
<box aunit="radian" lunit="mm" name="world" x="10000" y="10000" z="10000" />
|
||||
<box aunit="radian" lunit="mm" name="det" x="2000" y="2000" z="2000" />
|
||||
<opticalsurface name="surf1" model="glisur" finish="polished" type="dielectric_dielectric" value="1.0"/>
|
||||
<opticalsurface name="surf2" model="glisur" finish="polished" type="dielectric_metal" value="1.0">
|
||||
<property name="REFLECTIVITY" ref="REFLECTIVITY" />
|
||||
</opticalsurface>
|
||||
</solids>
|
||||
|
||||
<structure>
|
||||
@@ -61,7 +65,7 @@
|
||||
<volumeref ref="Detector"/>
|
||||
</skinsurface>
|
||||
|
||||
<bordersurface name="bordersrf1" surfaceproperty="surf1" >
|
||||
<bordersurface name="bordersrf1" surfaceproperty="surf2" >
|
||||
<physvolref ref="pv1"/>
|
||||
<physvolref ref="pv2"/>
|
||||
</bordersurface>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History 92201 2015-08-21 10:04:19Z gcosmo $
|
||||
$Id: History 104689 2017-06-12 12:17:25Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -17,6 +17,13 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
June 12th, 2017 Gabriele Cosmo G02-V10-03-01
|
||||
- Added commented block in G02DetectorConstruction to show how to limit
|
||||
the number of levels in the geometry hierarchy to be exported.
|
||||
|
||||
March 23rd, 2017 Gabriele Cosmo G02-V10-03-00
|
||||
- Updated setup for visualization in main program.
|
||||
|
||||
August 20th, 2015 John Allison G02-V10-01-00
|
||||
- CMakeLists.txt: Added mbb.geom mbb.tree to G02_SCRIPTS.
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Main program of the persistency/gdml/G02 example
|
||||
//
|
||||
//
|
||||
// $Id: geotest.cc 68025 2013-03-13 13:43:46Z gcosmo $
|
||||
// $Id: geotest.cc 103277 2017-03-23 14:05:55Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -51,17 +51,13 @@
|
||||
#include "G02PrimaryGeneratorAction.hh"
|
||||
#include "G02RunAction.hh"
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
#include "G4VisExecutive.hh"
|
||||
#endif
|
||||
|
||||
#ifdef G4UI_USE
|
||||
#include "G4UIExecutive.hh"
|
||||
#endif
|
||||
|
||||
// --------------------------------------------------------------
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
|
||||
// Construct the default run manager
|
||||
//
|
||||
G4RunManager* runManager = new G4RunManager;
|
||||
@@ -78,10 +74,10 @@ int main(int argc, char** argv)
|
||||
// Initialisation of runManager via macro for the interactive mode
|
||||
// This gives possibility to give different names for GDML file to READ
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
// Initialize visualization
|
||||
//
|
||||
G4VisManager* visManager = new G4VisExecutive;
|
||||
visManager->Initialize();
|
||||
#endif
|
||||
|
||||
// Open a UI session: will stay there until the user types "exit"
|
||||
//
|
||||
@@ -89,31 +85,24 @@ int main(int argc, char** argv)
|
||||
|
||||
if ( argc==1 ) // Automatically run default macro for writing...
|
||||
{
|
||||
#ifdef G4UI_USE
|
||||
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
|
||||
#ifdef G4VIS_USE
|
||||
UImanager->ApplyCommand("/control/execute vis.mac");
|
||||
#endif
|
||||
ui->SessionStart();
|
||||
delete ui;
|
||||
#endif
|
||||
} else { // Provides macro in input
|
||||
#ifdef G4UI_USE
|
||||
}
|
||||
else // Interactive, provides macro in input
|
||||
{
|
||||
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
|
||||
G4String command = "/control/execute ";
|
||||
G4String fileName = argv[1];
|
||||
UImanager->ApplyCommand(command+fileName);
|
||||
ui->SessionStart();
|
||||
delete ui;
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
delete visManager;
|
||||
#endif
|
||||
|
||||
// Job termination
|
||||
//
|
||||
delete visManager;
|
||||
delete runManager;
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Implementation of the G02DetectorConstruction class
|
||||
//
|
||||
//
|
||||
// $Id: G02DetectorConstruction.cc 97979 2016-06-30 09:36:20Z gcosmo $
|
||||
// $Id: G02DetectorConstruction.cc 104689 2017-06-12 12:17:25Z gcosmo $
|
||||
//
|
||||
// Class G02DetectorConstruction implementation
|
||||
//
|
||||
@@ -159,7 +159,7 @@ G4VPhysicalVolume* G02DetectorConstruction::Construct()
|
||||
// Can be a integer or a pointer to the top Physical Volume:
|
||||
//
|
||||
// G4int depth=1;
|
||||
// parser.AddModule(depth);
|
||||
// fParser.AddModule(depth);
|
||||
|
||||
// OPTION: SETTING ADDITION OF POINTER TO NAME TO FALSE
|
||||
//
|
||||
@@ -170,12 +170,19 @@ G4VPhysicalVolume* G02DetectorConstruction::Construct()
|
||||
// NOTE: you have to be sure not to have duplication of names in your
|
||||
// Geometry Setup.
|
||||
//
|
||||
// parser.SetAddPointerToName(false);
|
||||
// fParser.SetAddPointerToName(false);
|
||||
//
|
||||
// or
|
||||
//
|
||||
// fParser.Write(fWriteFile, fWorldPhysVol, false);
|
||||
|
||||
// OPTION: SET MAXIMUM LEVEL TO EXPORT (REDUCED TREE)...
|
||||
//
|
||||
// Can be a integer greater than zero:
|
||||
//
|
||||
// G4int maxlevel=3;
|
||||
// fParser.SetMaxExportLevel(maxlevel);
|
||||
|
||||
// Writing Geometry to GDML File
|
||||
//
|
||||
fParser.Write(fWriteFile, fWorldPhysVol);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History 89110 2015-03-20 08:18:27Z gcosmo $
|
||||
$Id: History 103280 2017-03-23 14:18:19Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -17,11 +17,14 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
Mar 19th, 2015 Gabriele Cosmo G03-V10-01-00
|
||||
March 23rd, 2017 Gabriele Cosmo G03-V10-03-00
|
||||
- Updated setup for visualization in main program.
|
||||
|
||||
March 19th, 2015 Gabriele Cosmo G03-V10-01-00
|
||||
- Corrected visualization commands in read/write input macros.
|
||||
- Updated README.
|
||||
|
||||
May 17th, 2013 Witek Pokorski G03-V09-06-00
|
||||
May 17th, 2013 Witek Pokorski G03-V09-06-00
|
||||
- Changes to comply to coding rule 2.1
|
||||
|
||||
July 27th, 2012 Witek Pokorski G03-V09-05-00
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Main program of the persistency/gdml/G03 example
|
||||
//
|
||||
//
|
||||
// $Id: gdml_ext.cc 68025 2013-03-13 13:43:46Z gcosmo $
|
||||
// $Id: gdml_ext.cc 103280 2017-03-23 14:18:19Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -51,13 +51,10 @@
|
||||
#include "G03PrimaryGeneratorAction.hh"
|
||||
#include "G03RunAction.hh"
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
#include "G4VisExecutive.hh"
|
||||
#endif
|
||||
|
||||
#ifdef G4UI_USE
|
||||
#include "G4UIExecutive.hh"
|
||||
#endif
|
||||
|
||||
// --------------------------------------------------------------
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -78,44 +75,35 @@ int main(int argc, char** argv)
|
||||
// Initialisation of runManager via macro for the interactive mode
|
||||
// This gives possibility to give different names for GDML file to READ
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
// Initialize visualization
|
||||
//
|
||||
G4VisManager* visManager = new G4VisExecutive;
|
||||
visManager->Initialize();
|
||||
#endif
|
||||
|
||||
// run initialisation macro
|
||||
// Run initialisation macro
|
||||
//
|
||||
G4UImanager* UImanager = G4UImanager::GetUIpointer();
|
||||
|
||||
if ( argc==1 ) // Define UI session for interactive mode.
|
||||
{
|
||||
#ifdef G4UI_USE
|
||||
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
|
||||
#ifdef G4VIS_USE
|
||||
UImanager->ApplyCommand("/control/execute vis.mac");
|
||||
#endif
|
||||
ui->SessionStart();
|
||||
delete ui;
|
||||
#endif
|
||||
}
|
||||
else // Batch mode
|
||||
{
|
||||
#ifdef G4UI_USE
|
||||
G4UIExecutive* ui = new G4UIExecutive(argc, argv);
|
||||
G4String command = "/control/execute ";
|
||||
G4String fileName = argv[1];
|
||||
UImanager->ApplyCommand(command+fileName);
|
||||
ui->SessionStart();
|
||||
delete ui;
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
delete visManager;
|
||||
#endif
|
||||
|
||||
// Job termination
|
||||
//
|
||||
delete visManager;
|
||||
delete runManager;
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
Usage: gdml_det <intput_gdml_file:mandatory>
|
||||
|
||||
G4GDML: Reading '/mnt/build/jenkins/workspace/g4-slc6/COMPILER/gcc49/LABEL/slc6/THREAD/Seq/release/RelWithDebInfo/geant4-10-03-patches_branch/geant4-10-03-patches_branch/examples/extended/persistency/gdml/G04/auxiliary.gdml'...
|
||||
G4GDML: Reading '/mnt/build/jenkins/workspace/g4-slc6/COMPILER/gcc49/LABEL/slc6/THREAD/Seq/release/RelWithDebInfo/10-03-ref-06_branch/10-03-ref-06_branch/examples/extended/persistency/gdml/G04/auxiliary.gdml'...
|
||||
G4GDML: Reading definitions...
|
||||
G4GDML: Reading materials...
|
||||
G4GDML: Reading solids...
|
||||
G4GDML: Reading structure...
|
||||
G4GDML: Reading setup...
|
||||
G4GDML: Reading '/mnt/build/jenkins/workspace/g4-slc6/COMPILER/gcc49/LABEL/slc6/THREAD/Seq/release/RelWithDebInfo/geant4-10-03-patches_branch/geant4-10-03-patches_branch/examples/extended/persistency/gdml/G04/auxiliary.gdml' done!
|
||||
G4GDML: Reading '/mnt/build/jenkins/workspace/g4-slc6/COMPILER/gcc49/LABEL/slc6/THREAD/Seq/release/RelWithDebInfo/10-03-ref-06_branch/10-03-ref-06_branch/examples/extended/persistency/gdml/G04/auxiliary.gdml' done!
|
||||
Stripping off GDML names of materials, solids and volumes ...
|
||||
|
||||
############################################
|
||||
@@ -15,7 +15,7 @@ Stripping off GDML names of materials, solids and volumes ...
|
||||
############################################
|
||||
|
||||
*************************************************************
|
||||
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
|
||||
@@ -97,7 +97,7 @@ Available colours:
|
||||
phot: for gamma SubType= 12 BuildTable= 0
|
||||
LambdaPrime table from 200 keV to 100 TeV in 61 bins
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
PhotoElectric : Emin= 0 eV Emax= 100 TeV AngularGenSauterGavrila FluoActive
|
||||
LivermorePhElectric : Emin= 0 eV Emax= 100 TeV AngularGenSauterGavrila FluoActive
|
||||
|
||||
compt: for gamma SubType= 13 BuildTable= 1
|
||||
Lambda table from 100 eV to 1 MeV, 7 bins per decade, spline: 1
|
||||
@@ -111,6 +111,12 @@ conv: for gamma SubType= 14 BuildTable= 1
|
||||
BetheHeitler : Emin= 0 eV Emax= 80 GeV
|
||||
BetheHeitlerLPM : Emin= 80 GeV Emax= 100 TeV
|
||||
|
||||
Rayl: for gamma SubType= 11 BuildTable= 1
|
||||
Lambda table from 100 eV to 100 keV, 7 bins per decade, spline: 0
|
||||
LambdaPrime table from 100 keV to 100 TeV in 63 bins
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
|
||||
|
||||
msc: for e- SubType= 10
|
||||
RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
@@ -775,10 +781,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 2
|
||||
=======================================================================
|
||||
Number of de-excitation channels 8
|
||||
|
||||
@@ -1035,7 +1042,7 @@ Processing hits ....
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 20
|
||||
User=0s Real=0.01s Sys=0s
|
||||
User=0.01s Real=0.01s Sys=0s
|
||||
/gun/direction 0 0 -1
|
||||
/run/beamOn 20
|
||||
|
||||
@@ -1456,6 +1463,7 @@ RunManager is deleting RunManagerKernel.
|
||||
G4SDManager deleted.
|
||||
EventManager deleted.
|
||||
Units table cleared.
|
||||
TransportationManager deleted.
|
||||
Total navigation history collections cleaned: 8
|
||||
================== Deleting memory pools ===================
|
||||
Pool ID '20G4NavigationLevelRep', size : 0.00961 MB
|
||||
|
||||
Reference in New Issue
Block a user