Import Geant4 10.7.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2020-06-26 10:23:25 +02:00
parent c02c370437
commit 67ba86d073
1871 changed files with 174422 additions and 131884 deletions
@@ -1,19 +1,6 @@
#------------------------------------------------------------------------------
# CMakeLists.txt
# Module : G4FR
# Package: Geant4.src.G4visualization.G4FR
#
# CMakeLists.txt for single level library that may be build global or granular
#
# Generated on : 24/9/2010
#
#
#------------------------------------------------------------------------------
include(Geant4MacroLibraryTargets)
if(GEANT4_BUILD_GRANULAR_LIBS)
GEANT4_GRANULAR_LIBRARY_TARGET(COMPONENT sources.cmake)
else()
GEANT4_GLOBAL_LIBRARY_TARGET(COMPONENTS sources.cmake)
endif()
geant4_global_library_target(COMPONENTS sources.cmake)
+26 -19
View File
@@ -18,6 +18,13 @@ committal in the CVS repository !
History file for visualization/FukuiRenderer sub-category
---------------------------------------------------------
31 May 2020 Ben Morgan (DAWN-V10-06-01)
- Use add_definitions to set PRIVATE-level compile add_definitions
for compatibility between old and new CMake systems
12 December 2019 Ben Morgan (DAWN-V10-06-00)
- Cleanup CMake build, removing obsolete granular library option and
explicit include_directories.
29 August 2019 John Allison (DAWN-V10-05-00)
- Part of vis-V10-05-24.
@@ -167,17 +174,17 @@ History file for visualization/FukuiRenderer sub-category
- Simplified GNUmakefile.
DAWN-V04-01-01 Satoshi TANAKA Sept 01, 2002
- Precision control with "setenv G4DAWNFILE_PRECISION number".
- Precision control with "setenv G4DAWNFILE_PRECISION number".
DAWN-V03-02-01 Satoshi TANAKA Sept 18, 2001
- Maximal number of g4.prim file is changed from 99 to 100.
DAWN-V03-02-00 Satoshi TANAKA Sept 17, 2001
- Updation for automatic visualization implemented at
- Updation for automatic visualization implemented at
Hebden Bridge mini-workshop.
DAWN-V01-01-04
- Target = standard target in scene
- Target = standard target in scene
+ relative target in view
(G4DAWNFILEView.cc, G4FukuiRendererView.cc)
- Automatic filename incrementation is made default.
@@ -185,7 +192,7 @@ DAWN-V01-01-04
g4_00.eps , g4_01.eps , ... , g4_99.eps
DAWN-V01-01-03 Satoshi TANAKA May 11, 2000
- In G4DAWNFILEViewer.cc,
- In G4DAWNFILEViewer.cc,
< strcpy( fPSViewer, "ghostview" );
---
> // strcpy( fPSViewer, "ghostview" );
@@ -204,45 +211,45 @@ DAWN-V00-01-04 Satoshi TANAKA Nov 02, 1999
- Protection to AddPrimitive( G4NURBS )
DAWN-V00-01-03 Satoshi TANAKA Nov 02, 1999
- Environmental variable G4DAWN_MULTI_WINDOW is
- Environmental variable G4DAWN_MULTI_WINDOW is
renamed to G4DAWNFILE_MULTI_WINDOW for DAWN-file driver.
(G4DAWN_MULTI_WINDOW still works for a while.)
DAWN-V00-01-02 Satoshi TANAKA Nov 01, 1999
DAWN-V00-01-02 Satoshi TANAKA Nov 01, 1999
- Separation of BeginModeling() and FRBeginModeling().
Co-workable with /run/beamOn with the new vis commands.
DAWN-V00-01-01 Satoshi TANAKA Aug 26, 1999
DAWN-V00-01-01 Satoshi TANAKA Aug 26, 1999
- Protection for invalid calling of BeginModeling
- .DAWN.history ==> .DAWN_1.history
- .DAWN.history ==> .DAWN_1.history
**** It means DAWN version 3.80a or after is required ***
DAWN-00-03-06 Satoshi TANAKA Dec 04, 1998
DAWN-00-03-06 Satoshi TANAKA Dec 04, 1998
- Maximun number of generated g4.prim files in the destination
directory is customizable as: "setenv G4DAWNFILE_MAX_FILE_NUM N"
(N is the integer greater than or equal to 1. The default value is 1.)
DAWN-00-03-05 Satoshi TANAKA Dec 04, 1998
DAWN-00-03-05 Satoshi TANAKA Dec 04, 1998
- Revised G4FRSocketConfig.hh together with architecture.gmk.
Compilation at SUN-CC was made automatic
DAWN-00-03-04 Satoshi TANAKA Dec 04, 1998
DAWN-00-03-04 Satoshi TANAKA Dec 04, 1998
- Bug fix
DAWN-00-03-03 Satoshi TANAKA Nov 30, 1998
- Destination directiory of g4.prim and g4.eps is customizable
DAWN-00-03-03 Satoshi TANAKA Nov 30, 1998
- Destination directiory of g4.prim and g4.eps is customizable
with the environmental variable "G4DAWNFILE_DEST_DIR".
Unix:
% setenv G4DAWNFILE_DEST_DIR directory_name/
For example,
For example,
% setenv G4DAWNFILE_DEST_DIR /tmp/
Do not forget to add "/" at the end of the directory name.
NT:
NT:
DOS> set G4DAWNFILE_DEST_DIR directory_name\
Do not forget to add "\" at the end of the directory name.
@@ -250,10 +257,10 @@ DAWN-00-03-03 Satoshi TANAKA Nov 30, 1998
- Auto incremetaion of output file names is supported.
Names of generated files are:
DAWN-format files: g4.prim, g4_1.prim, g4_2.prim, ... , g4_100.prim
DAWN-format files: g4.prim, g4_1.prim, g4_2.prim, ... , g4_100.prim
EPS files : g4.eps , g4_1.eps , g4_2.eps , ... , g4_100.eps
Maximal number of files in one directory is restricted in order to
Maximal number of files in one directory is restricted in order to
avoid explosion of your hard disk. The maximal number is hard-coded.
You can revise is by editing enum of G4DAWNFILEScene.hh.
@@ -268,8 +275,8 @@ DAWN-00-03-03 Satoshi TANAKA Nov 30, 1998
It means that if you delete file "g4.prim" in the destination directory,
the file name in the next generation is still g4.prim.
DAWN-00-03-02 Satoshi TANAKA Nov 30, 1998
DAWN-00-03-02 Satoshi TANAKA Nov 30, 1998
- Backup before going on to tag DAWN-00-03-03.
@@ -1,112 +1,76 @@
#------------------------------------------------------------------------------
# sources.cmake
# Module : G4FR
# Package: Geant4.src.G4visualization.G4FR
#
# Sources description for a library.
# Lists the sources and headers of the code explicitely.
# Lists include paths needed.
# Lists the internal granular and global dependencies of the library.
# Source specific properties should be added at the end.
#
# Generated on : 24/9/2010
#
#
#------------------------------------------------------------------------------
# List external includes needed.
include_directories(${CLHEP_INCLUDE_DIRS})
include_directories(${USOLIDS_INCLUDE_DIRS})
# List internal includes needed.
include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/hits/include)
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include)
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/solids/CSG/include)
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/solids/specific/include)
include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include)
include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include)
include_directories(${CMAKE_SOURCE_DIR}/source/graphics_reps/include)
include_directories(${CMAKE_SOURCE_DIR}/source/intercoms/include)
include_directories(${CMAKE_SOURCE_DIR}/source/visualization/management/include)
include_directories(${CMAKE_SOURCE_DIR}/source/visualization/modeling/include)
#
# Module has optional sources
#
include(Geant4MacroDefineModule)
# List those always built
set(G4VIS_DAWN_MODULE_HEADERS
G4DAWNFILE.hh
G4DAWNFILESceneHandler.hh
G4DAWNFILEViewer.hh
G4FRConst.hh
G4FRFeatures.hh
G4FRSceneFunc.icc
G4FRofstream.hh
G4VisFeaturesOfDAWNFILE.hh
G4VisFeaturesOfFukuiRenderer.hh)
G4DAWNFILE.hh
G4DAWNFILESceneHandler.hh
G4DAWNFILEViewer.hh
G4FRConst.hh
G4FRFeatures.hh
G4FRSceneFunc.icc
G4FRofstream.hh
G4VisFeaturesOfDAWNFILE.hh
G4VisFeaturesOfFukuiRenderer.hh)
set(G4VIS_DAWN_MODULE_SOURCES
G4DAWNFILE.cc
G4DAWNFILESceneHandler.cc
G4DAWNFILEViewer.cc
G4VisFeaturesOfDAWNFILE.cc
G4VisFeaturesOfFukuiRenderer.cc)
G4DAWNFILE.cc
G4DAWNFILESceneHandler.cc
G4DAWNFILEViewer.cc
G4VisFeaturesOfDAWNFILE.cc
G4VisFeaturesOfFukuiRenderer.cc)
#
# DAWN Network driver only built if user selected
#
if(GEANT4_USE_NETWORKDAWN)
list(APPEND G4VIS_DAWN_MODULE_HEADERS
G4FRClientServer.hh
G4FukuiRenderer.hh
G4FukuiRendererSceneHandler.hh
G4FukuiRendererViewer.hh)
list(APPEND G4VIS_DAWN_MODULE_HEADERS
G4FRClientServer.hh
G4FukuiRenderer.hh
G4FukuiRendererSceneHandler.hh
G4FukuiRendererViewer.hh)
list(APPEND G4VIS_DAWN_MODULE_SOURCES
G4FRClientServer.cc
G4FukuiRenderer.cc
G4FukuiRendererSceneHandler.cc
G4FukuiRendererViewer.cc)
list(APPEND G4VIS_DAWN_MODULE_SOURCES
G4FRClientServer.cc
G4FukuiRenderer.cc
G4FukuiRendererSceneHandler.cc
G4FukuiRendererViewer.cc)
# To activate the Fukui Renderer Network component, we need an
# extra compile definition
GEANT4_ADD_COMPILE_DEFINITIONS(SOURCES ${G4VIS_DAWN_MODULE_SOURCES}
COMPILE_DEFINITIONS G4VIS_BUILD_DAWN_DRIVER)
# To activate the Fukui Renderer Network component, we need an
# extra compile definition
add_definitions(-DG4VIS_BUILD_DAWN_DRIVER)
endif()
#
# Define the Geant4 Module.
#
GEANT4_DEFINE_MODULE(NAME G4FR
HEADERS
${G4VIS_DAWN_MODULE_HEADERS}
SOURCES
${G4VIS_DAWN_MODULE_SOURCES}
GRANULAR_DEPENDENCIES
G4csg
G4geometrymng
G4globman
G4graphics_reps
G4hits
G4intercoms
G4modeling
G4specsolids
G4vis_management
GLOBAL_DEPENDENCIES
G4digits_hits
G4geometry
G4global
G4graphics_reps
G4intercoms
G4modeling
G4vis_management
LINK_LIBRARIES
geant4_define_module(NAME G4FR
HEADERS
${G4VIS_DAWN_MODULE_HEADERS}
SOURCES
${G4VIS_DAWN_MODULE_SOURCES}
GRANULAR_DEPENDENCIES
G4csg
G4geometrymng
G4globman
G4graphics_reps
G4hits
G4intercoms
G4modeling
G4specsolids
G4vis_management
GLOBAL_DEPENDENCIES
G4digits_hits
G4geometry
G4global
G4graphics_reps
G4intercoms
G4modeling
G4vis_management
)
# List any source specific properties here