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 -15
View File
@@ -1,13 +1,6 @@
#------------------------------------------------------------------------------
# CMakeLists.txt
# Module : G4RayTracer
# Package: Geant4.src.G4visualization.G4RayTracer
#
# CMakeLists.txt for single level library that may be build global or granular
#
# Generated on : 24/9/2010
#
#
#------------------------------------------------------------------------------
# Add allocation export symbol for the RayTracer module
@@ -16,11 +9,4 @@
# add_definitions higher later if needed.
add_definitions(-DG4VIS_ALLOC_EXPORT)
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)
+12 -5
View File
@@ -22,6 +22,13 @@ committal in the CVS repository !
History file for Ray Tracer category
---------------------------------------
31 May 2020 Ben Morgan (raytracer-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 (raytracer-V10-06-00)
- Cleanup CMake build, removing obsolete granular library option and
explicit include_directories.
15th November 2019, Gabriele Cosmo (raytracer-V10-05-01)
- Fixed cases of implicit type conversions from size_t to G4int.
@@ -123,7 +130,7 @@ History file for Ray Tracer category
- Co-working with greps-V09-06-10.
17th September 2013 Makoto Asai (raytracer-V09-06-03)
- Introducing G4TheMTRayTracer that is multi-threaded.
- Introducing G4TheMTRayTracer that is multi-threaded.
- Co-working with run-V09-06-100 and greps-V09-06-09.
15th September 2013 Makoto Asai (raytracer-V09-06-02)
@@ -181,7 +188,7 @@ History file for Ray Tracer category
CMake functionality added to trunk at revision 49996.
20th May 2011 Ben Morgan (raytracer-V09-04-02)
- CMakeLists.txt : Added G4VIS_ALLOC_EXPORT compiler definition via
- CMakeLists.txt : Added G4VIS_ALLOC_EXPORT compiler definition via
add_definitions so it's applied to all sources in this module. We
don't add this definition at the visualization category level because
only raytracer uses it. It can be moved higher later.
@@ -198,7 +205,7 @@ History file for Ray Tracer category
calls.
- Fix Coverity warnings.
23, December L. Garnier
23, December L. Garnier
- GNUmakefile : Remove OpenGL/Qt stuff from Makefile
27th October 2010 Gabriele Cosmo (raytracer-V09-03-04)
@@ -235,7 +242,7 @@ History file for Ray Tracer category
parameters [bugzilla Problem 1072]
18 August 2009 Laurent Garnier
- G4RayTracerXViewer, G4RTXScanner : Fix a crash introduce by the
- G4RayTracerXViewer, G4RTXScanner : Fix a crash introduce by the
new way of handling window size hints (January 2009)
4th April 2008 John Allison (raytracer-V09-01-00)
@@ -347,7 +354,7 @@ Change seems to just involve passing pWorld to material list where no argument w
- Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00".
25th September 2003 Hisaya Kurashige (raytracer-V05-02-02)
- Modify GNUmakefile to use processes/cuts category
- Modify GNUmakefile to use processes/cuts category
18th September 2003 John Allison (raytracer-V05-02-01, greps-V05-02-00)
- Introduced G4VRTScanner and its default concrete implementation,
+98 -143
View File
@@ -1,99 +1,57 @@
#------------------------------------------------------------------------------
# sources.cmake
# Module : G4RayTracer
# Package: Geant4.src.G4visualization.G4RayTracer
#
# 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/detector/include)
include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/digits/include)
include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/hits/include)
include_directories(${CMAKE_SOURCE_DIR}/source/event/include)
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include)
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/navigation/include)
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/volumes/include)
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/magneticfield/include)
include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include)
include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPRandom/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/materials/include)
include_directories(${CMAKE_SOURCE_DIR}/source/particles/bosons/include)
include_directories(${CMAKE_SOURCE_DIR}/source/particles/management/include)
include_directories(${CMAKE_SOURCE_DIR}/source/processes/cuts/include)
include_directories(${CMAKE_SOURCE_DIR}/source/processes/management/include)
include_directories(${CMAKE_SOURCE_DIR}/source/processes/scoring/include)
include_directories(${CMAKE_SOURCE_DIR}/source/run/include)
include_directories(${CMAKE_SOURCE_DIR}/source/track/include)
include_directories(${CMAKE_SOURCE_DIR}/source/tracking/include)
include_directories(${CMAKE_SOURCE_DIR}/source/visualization/management/include)
include_directories(${CMAKE_SOURCE_DIR}/source/visualization/modeling/include)
#
# Module has optional sources
#
# List those always built
set(G4VIS_RAYTRACER_MODULE_HEADERS
G4RTJpeg.hh
G4RTJpegCoder.hh
G4RTJpegCoderTables.hh
G4RTJpegMaker.hh
G4RTMessenger.hh
G4RTOutBitStream.hh
G4RTPrimaryGeneratorAction.hh
G4RTRun.hh
G4RTRunAction.hh
G4RTSimpleScanner.hh
G4RTSteppingAction.hh
G4RTTrackingAction.hh
G4RTWorkerInitialization.hh
G4RayTracer.hh
G4RayTracerFeatures.hh
G4RayTracerSceneHandler.hh
G4RayTracerViewer.hh
G4RayTrajectory.hh
G4RayTrajectoryPoint.hh
G4TheMTRayTracer.hh
G4TheRayTracer.hh
G4VFigureFileMaker.hh
G4VRTScanner.hh)
G4RTJpeg.hh
G4RTJpegCoder.hh
G4RTJpegCoderTables.hh
G4RTJpegMaker.hh
G4RTMessenger.hh
G4RTOutBitStream.hh
G4RTPrimaryGeneratorAction.hh
G4RTRun.hh
G4RTRunAction.hh
G4RTSimpleScanner.hh
G4RTSteppingAction.hh
G4RTTrackingAction.hh
G4RTWorkerInitialization.hh
G4RayTracer.hh
G4RayTracerFeatures.hh
G4RayTracerSceneHandler.hh
G4RayTracerViewer.hh
G4RayTrajectory.hh
G4RayTrajectoryPoint.hh
G4TheMTRayTracer.hh
G4TheRayTracer.hh
G4VFigureFileMaker.hh
G4VRTScanner.hh)
set(G4VIS_RAYTRACER_MODULE_SOURCES
G4RTJpegCoder.cc
G4RTJpegMaker.cc
G4RTMessenger.cc
G4RTOutBitStream.cc
G4RTPrimaryGeneratorAction.cc
G4RTRun.cc
G4RTRunAction.cc
G4RTSimpleScanner.cc
G4RTSteppingAction.cc
G4RTTrackingAction.cc
G4RTWorkerInitialization.cc
G4RayTracer.cc
G4RayTracerSceneHandler.cc
G4RayTracerViewer.cc
G4RayTrajectory.cc
G4RayTrajectoryPoint.cc
G4TheMTRayTracer.cc
G4TheRayTracer.cc
G4VRTScanner.cc)
G4RTJpegCoder.cc
G4RTJpegMaker.cc
G4RTMessenger.cc
G4RTOutBitStream.cc
G4RTPrimaryGeneratorAction.cc
G4RTRun.cc
G4RTRunAction.cc
G4RTSimpleScanner.cc
G4RTSteppingAction.cc
G4RTTrackingAction.cc
G4RTWorkerInitialization.cc
G4RayTracer.cc
G4RayTracerSceneHandler.cc
G4RayTracerViewer.cc
G4RayTrajectory.cc
G4RayTrajectoryPoint.cc
G4TheMTRayTracer.cc
G4TheRayTracer.cc
G4VRTScanner.cc)
set(G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES )
@@ -101,73 +59,70 @@ set(G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES )
# X11 RayTracer only if selected
#
if(GEANT4_USE_RAYTRACER_X11)
list(APPEND G4VIS_RAYTRACER_MODULE_HEADERS
G4RayTracerX.hh
G4RayTracerXViewer.hh
G4RTXScanner.hh)
list(APPEND G4VIS_RAYTRACER_MODULE_HEADERS
G4RayTracerX.hh
G4RayTracerXViewer.hh
G4RTXScanner.hh)
list(APPEND G4VIS_RAYTRACER_MODULE_SOURCES
G4RayTracerX.cc
G4RayTracerXViewer.cc
G4RTXScanner.cc)
list(APPEND G4VIS_RAYTRACER_MODULE_SOURCES
G4RayTracerX.cc
G4RayTracerXViewer.cc
G4RTXScanner.cc)
#
# Add source properties and additional LINK_LIBRARIES here
#
# Must use G4VIS_BUILD_RAYTRACERX_DRIVER define
GEANT4_ADD_COMPILE_DEFINITIONS(SOURCES ${G4VIS_RAYTRACER_MODULE_SOURCES}
COMPILE_DEFINITIONS G4VIS_BUILD_RAYTRACERX_DRIVER)
#
# Add source properties and additional LINK_LIBRARIES here
#
# Must use G4VIS_BUILD_RAYTRACERX_DRIVER define
add_definitions(-DG4VIS_BUILD_RAYTRACERX_DRIVER)
# The X11 Libraries
list(APPEND G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES X11::SM X11::ICE X11::X11 X11::Xext X11::Xmu)
# The X11 Libraries
list(APPEND G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES X11::SM X11::ICE X11::X11 X11::Xext X11::Xmu)
endif()
#
# Define the Geant4 Module.
#
include(Geant4MacroDefineModule)
GEANT4_DEFINE_MODULE(NAME G4RayTracer
HEADERS
${G4VIS_RAYTRACER_MODULE_HEADERS}
SOURCES
${G4VIS_RAYTRACER_MODULE_SOURCES}
GRANULAR_DEPENDENCIES
G4bosons
G4cuts
G4detector
G4digits
G4event
G4geometrymng
G4globman
G4graphics_reps
G4hits
G4intercoms
G4materials
G4modeling
G4navigation
G4partman
G4procman
G4track
G4tracking
G4vis_management
G4volumes
GLOBAL_DEPENDENCIES
G4digits_hits
G4event
G4geometry
G4global
G4graphics_reps
G4intercoms
G4materials
G4modeling
G4particles
G4processes
G4track
G4tracking
G4vis_management
LINK_LIBRARIES
${G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES}
geant4_define_module(NAME G4RayTracer
HEADERS
${G4VIS_RAYTRACER_MODULE_HEADERS}
SOURCES
${G4VIS_RAYTRACER_MODULE_SOURCES}
GRANULAR_DEPENDENCIES
G4bosons
G4cuts
G4detector
G4digits
G4event
G4geometrymng
G4globman
G4graphics_reps
G4hits
G4intercoms
G4materials
G4modeling
G4navigation
G4partman
G4procman
G4track
G4tracking
G4vis_management
G4volumes
GLOBAL_DEPENDENCIES
G4digits_hits
G4event
G4geometry
G4global
G4graphics_reps
G4intercoms
G4materials
G4modeling
G4particles
G4processes
G4track
G4tracking
G4vis_management
LINK_LIBRARIES
${G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES}
)
# List any source specific properties here