[Gate-users] Gate 9.0 Surfaces Not Working

Gabriel Cañizares Ledo gacale at i3m.upv.es
Thu Oct 29 09:19:47 CET 2020


Hello

Thanks for your response. I have tried both ways and it does not work  
in any circumstance. These are the commands I am using:

/gate/physics/addProcess            OpticalBoundary
#/gate/physics/addProcess            OpticalMIE
#/gate/physics/addProcess            OpticalWLS
/gate/physics/addProcess            OpticalAbsorption
/gate/physics/addProcess            OpticalRayleigh
/gate/physics/addProcess            Scintillation

/gate/physics/addPhysicsList   emstandard_opt4

/gate/crystal/surfaces/name            detection
/gate/crystal/surfaces/insert            world
/gate/crystal/surfaces/detection/setSurface    perfect_apd

/gate/level1/surfaces/name            abs
/gate/level1/surfaces/insert            world
/gate/level1/surfaces/abs/setSurface    ESR

/gate/level2/surfaces/name            abs2
/gate/level2/surfaces/insert            world
/gate/level2/surfaces/abs2/setSurface    ESR

But it seems that the second line of the surface definition is not recognized

Thanks

Gabriel

Quoting Pedro Correia <pmcorreia at ua.pt>:

> Hi Gabriel
>
> Maybe you are defining the surfaces before defining the physical  
> processes? It happened to me in the past and the output error was  
> similar.
>
> Best Regards
>
> Pedro Correia
> PhD, Researcher
> Physics Department, University of Aveiro
> Campus Universitário de Santiago
> 3810-193 Aveiro, Portugal
>
>> No dia 28/10/2020, às 14:29, Gabriel Cañizares Ledo  
>> <gacale at i3m.upv.es> escreveu:
>>
>> Dear Gate users
>>
>> I have installed Gate 9.0 version in my PC (with the  
>> geant4.10.06.p1 patch). I am interested to run a simulation that  
>> works with Optical Photons. Even though I have activated flag for  
>> optical photons during the compiling process, Gate does not allow  
>> me to introduce surfaces command (that I have tested in a previous  
>> Gate version). The error that it send to me is:
>>
>> [G4-cerr] ***** Illegal application state  
>> </gate/crystal/surfaces/insert scanner> *****
>>
>> If anyone can help me with this problem I will be very grateful
>>
>> Regards
>>
>> Gabriel
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.orghttp://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20201029/c722aeb5/attachment.html>


More information about the Gate-users mailing list