For the purposes of reducing the number of environment scripts we have to run, I think we should move this into the input macro.
Other advantages of changing are that the user then has to know what geometry and generator is being used. And also it solves the problem where we have the geometry constructed twice (once with the default defined above and again when you run /g4sim/det/ReloadGeo in your own input macro)
Currently we have these environment variables set in
alcap/setenv.sh
:For the purposes of reducing the number of environment scripts we have to run, I think we should move this into the input macro.
Other advantages of changing are that the user then has to know what geometry and generator is being used. And also it solves the problem where we have the geometry constructed twice (once with the default defined above and again when you run
/g4sim/det/ReloadGeo
in your own input macro)Does anyone else have an opinion?