[Gate-users] Gate 9.0 Surfaces Not Working

Mariele Stockhoff Mariele.Stockhoff at UGent.be
Thu Oct 29 12:46:31 CET 2020


Dear Gabriel,

Looks like you try to define a surface of the world. If you use a ’scanner’ there is no common surface between the world and the crystal. Try to rethink which surfaces you want to define e.g. surface between Geometry1 and Geometry2 (scanner and scintillator OR scintillator and detector).

/gate/GEOMETRY1/surfaces/name            detection
/gate/GEOMETRY1/surfaces/insert            GEOMETRY2
/gate/GEOMETRY1/surfaces/detection/setSurface    perfect_apd

OR 

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

Best wishes,
Mariele
—
Mariele Stockhoff
UGent
Medical Imaging and Signal Processing (MEDISIP)
B-9000 Gent
Belgium
  

> On 29 Oct 2020, at 12:00, gate-users-request at lists.opengatecollaboration.org wrote:
> 
> Send Gate-users mailing list submissions to
> 	gate-users at lists.opengatecollaboration.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> or, via email, send a message with subject or body 'help' to
> 	gate-users-request at lists.opengatecollaboration.org
> 
> You can reach the person managing the list at
> 	gate-users-owner at lists.opengatecollaboration.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gate-users digest..."
> 
> 
> Today's Topics:
> 
>   1. Gate 9.0 Surfaces Not Working (Gabriel Cañizares Ledo)
>   2. Re: Gate 9.0 Surfaces Not Working (Pedro Correia)
>   3. Re: Gate 9.0 Surfaces Not Working (Gabriel Cañizares Ledo)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 28 Oct 2020 15:29:20 +0100
> From: Gabriel Cañizares Ledo <gacale at i3m.upv.es>
> To: gate-users at lists.opengatecollaboration.org
> Subject: [Gate-users] Gate 9.0 Surfaces Not Working
> Message-ID:
> 	<20201028152920.Horde.rQnTixOlsXFYCd4daitylHL at webmail.upv.es>
> Content-Type: text/plain; charset="utf-8"; Format="flowed";
> 	DelSp="Yes"
> 
> 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20201028/6258dca7/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 28 Oct 2020 21:38:27 +0000
> From: Pedro Correia <pmcorreia at ua.pt>
> To: Gabriel Cañizares Ledo <gacale at i3m.upv.es>
> Cc: "Gate-users at lists opengatecollaboration. org"
> 	<gate-users at lists.opengatecollaboration.org>
> Subject: Re: [Gate-users] Gate 9.0 Surfaces Not Working
> Message-ID: <558D438A-27DF-431C-B508-27D5435D632E at ua.pt>
> Content-Type: text/plain; charset="utf-8"
> 
> 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.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Thu, 29 Oct 2020 09:19:47 +0100
> From: Gabriel Cañizares Ledo <gacale at i3m.upv.es>
> To: Pedro Correia <pmcorreia at ua.pt>
> Cc: "Gate-users at lists opengatecollaboration. org"
> 	<gate-users at lists.opengatecollaboration.org>
> Subject: Re: [Gate-users] Gate 9.0 Surfaces Not Working
> Message-ID:
> 	<20201029091947.Horde.EJsRYKj5UAq0uSO28y9XUeM at webmail.upv.es>
> Content-Type: text/plain; charset="utf-8"; Format="flowed";
> 	DelSp="Yes"
> 
> 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-0001.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> 
> ------------------------------
> 
> End of Gate-users Digest, Vol 173, Issue 40
> *******************************************



More information about the Gate-users mailing list