Closed GallegoSav closed 1 year ago
Update of MEGAlib in order to use it with geant4.11.1 .
The modifications I made concern the files :
config/AllowedGeant4Versions.txt config/AllowedROOTVersions.txt config/Makefile.linuxgcc config/env.sh src/cosima/inc/MCSteppingAction.hh src/cosima/src/MCActivator.cc src/cosima/src/MCGeometryConverter.cc src/cosima/src/MCPhysicsList.cc src/cosima/src/MCSteppingAction.cc
You need to compile your root version with C++17 as geant4.11.1 is compile with this version
For geant4.11.1 you need to add -lG4ToolsSG on your geant4-config file after using cmake , then you can make and make install and redo the modification on the geant4-config . This will be patched for the next version (see : https://geant4-forum.web.cern.ch/t/missing-g4toolssg-in-geant4-config-in-pre-compiled-geant4-11-1-for-linux/9738 )
-lG4ToolsSG
geant4-config
cmake
make
make install
Update of MEGAlib in order to use it with geant4.11.1 .
The modifications I made concern the files :
You need to compile your root version with C++17 as geant4.11.1 is compile with this version
For geant4.11.1 you need to add
-lG4ToolsSG
on yourgeant4-config
file after usingcmake
, then you canmake
andmake install
and redo the modification on thegeant4-config
. This will be patched for the next version (see : https://geant4-forum.web.cern.ch/t/missing-g4toolssg-in-geant4-config-in-pre-compiled-geant4-11-1-for-linux/9738 )