Gate
Gate copied to clipboard
Optical simulation is not working with vGATE v9.1
Describe the bug The optical simulation is NOT working with vGATE v9.1. Error message is as following [G4- 0 cerr] ***** COMMAND NOT FOUND </gate/crystal/surfaces/name Detetion1> *****
It seems like that optical surface or boundary cannot be defined for some reason.
Desktop (please complete the following information):
- Gate version: vGate v9.1]
Minimal example GateContrib/imagingOpticsl/Optical_System.mac
Expected behavior Optical simulation is working well with root output
(2) Go to the GATE source folder
cd /home/vgate/Software/Gate/src
(3) Turn the "GATE_USE_OPTICAL" option as ON in the ccmake.
ccmake .
(4) Set the EXECUTABLE_OUTPUT_PATH -> /home/vgate/Software/Gate/bin
(5) Re-compiled the GATE.
make
sudo make install
================================================================================
Now optical simulation is working well without any problem.
Below is an example of LUTDavisModel during the optical simulation.
great thanks ! Indeed, I think we should try to set OPTICAL to ON by default. The only potential drawback is, that, in previous version, there were some warnings ... we will investigate to see what is feasible.
Done with this PR: https://github.com/OpenGATE/Gate/pull/566
For the vGate, it will be done in the next release. Thank you