Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/geometry/vecGeomNavigation/README.md is written in an unsupported language. File is not indexed.

0001 \page ExamplevecGeomNavigation Example vecGeomNavigation
0002 
0003 This example demonstrates integration of the navigation elements of
0004 [VecGeom](https://gitlab.cern.ch/VecGeom/VecGeom), to investigate the
0005 performance benefits.
0006 
0007 This integration is in development. Supporting Placement volumes -- other
0008 volumes would be handled by existing Geant4 navigation.
0009 
0010 The example loads a GDML file for the geometry, and can execute a batch
0011 file (vecgeomNav.in) or run interactive commands or both.
0012 
0013 # Installation / Configuration
0014 
0015 ## Dependencies
0016 
0017 In addition to Geant4, two projects: are required VecGeom and G4VecGeomNav.
0018 VecCore is also required, but can be found through VecGeom.
0019 
0020 It is optionally possible to use Root in G4VecGeomNav to store voxel
0021 information for safety computation.  These can require significant computation
0022 to calculate if at least one logical volume contains many daughter volume.
0023 
0024 ## Configuration
0025 
0026 To configure you must set:
0027 
0028     setenv CMAKE_PREFIX_PATH "${VECCORE_DIR}:${VECGEOM_DIR}"
0029 
0030 or if you are using Vc from Root
0031 
0032     setenv CMAKE_PREFIX_PATH "${ROOTSYS}:${VECGEOM_DIR}"
0033 
0034 where VecGeom has also been built with the same installation of Vc from Root.