Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(exampleVecGeomNav)
option(WITH_ROOT "WITH ROOT SUPPORT" OFF)
@@ -23,7 +23,7 @@ if(BUILTIN_G4VECGEOMNAV)
FetchContent_Declare(
g4vecgeomnav
GIT_REPOSITORY https://gitlab.cern.ch/VecGeom/g4vecgeomnav.git
GIT_TAG 1a002fbf2bccd81827b6100f86e2ad82433a75e9
GIT_TAG master
)
FetchContent_GetProperties(g4vecgeomnav)
@@ -84,4 +84,4 @@ foreach(_script ${EXVECGEOMNAVIGATION_SCRIPTS})
${CMAKE_BINARY_DIR}/${_script}
COPYONLY
)
endforeach()
endforeach()
@@ -14,6 +14,11 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
09/07/2021 G.Cosmo (VecGeomNavigation-V10-07-02)
- Switched to use "master" for G4VecGeomNav package (instead of hardcoded
hashed tag "1a002fbf2bccd81827b6100f86e2ad82433a75e9", used for 11.0-beta),
to constantly test development version.
25/06/2021 B.Morgan (VecGeomNavigation-V10-07-01)
- Fix build of builtin G4VecGeomNav
@@ -1,32 +0,0 @@
This example demonstrates integration of the navigation elements of
[VecGeom](https://gitlab.cern.ch/VecGeom/VecGeom), to investigate the
performance benefits.
This integration is in development. Supporting Placement volumes -- other
volumes would be handled by existing Geant4 navigation.
The example loads a GDML file for the geometry, and can execute a batch
file (first) or run interactive commands or both.
# Installation / Configuration
## Dependencies
In addition to Geant4, two projects: are required VecGeom and G4VecGeomNav.
VecCore is also required, but can be found through VecGeom.
It is optionally possible to use Root in G4VecGeomNav to store voxel
information for safety computation. These can require significant computation
to calculate if at least one logical volume contains many daughter volume.
## Configuration
- To configure you must set:
setenv CMAKE_PREFIX_PATH "${VECCORE_DIR}:${VECGEOM_DIR}"
or if you are using Vc from Root
setenv CMAKE_PREFIX_PATH "${ROOTSYS}:${VECGEOM_DIR}"
where VecGeom has also been built with the same installation of Vc from Root.
@@ -1,3 +1,28 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
#ifndef VG01DetectorConstruction_h
#define VG01DetectorConstruction_h 1