[Gate-users] gate/physics/optical/enable not working
Tanushyam Bhattacharjee
tanushyam.bhattacharjee at gmail.com
Thu Aug 4 07:43:53 CEST 2011
Hi there,
thank you very much for your response.
The program in the example_OPTICAL folder has tracking the photon at
scintillator-PMT surface by putting the source at the PMT side.
I want to see the number of photon transfered in pmt by putting the source
in front of scintillator.Is it possible?
Secondly the program is giving an output of energy resolution,however we do
not know the energy of photon rather counting the number. How its possible?
Thanks in advance
tanushyam
On Wed, Aug 3, 2011 at 4:15 PM, Nicolas HUDIN <hudin at imnc.in2p3.fr> wrote:
> Hi,
>
> The command line:
>
>
> /gate/physics/optical/enable 1
>
> doesn't exist anymore. Now, to activate photon tracking, you have to put
> the four following lines in your physics processes:
>
> /gate/physics/addProcess Scintillation
> /gate/physics/addProcess OpticalRayleigh
> /gate/physics/addProcess OpticalAbsorption
> /gate/physics/addProcess OpticalBoundary
>
> You can find them in the example_OPTICAL folder.
>
> Kind regards,
>
> Nicolas HUDIN
>
> Le 30/07/2011 12:25, Tanushyam Bhattacharjee a écrit :
>
>> I have done that,you can see that:
>> tanu at tanu-Vostro1510:~/GATE/**gate_v6.1$ source env_gate.sh
>>
>> The current value of G4INSTALL is: /home/tanu/GATE/geant4.9.4.p02
>> The current value of G4VERSION is: 9.4
>>
>> Launching Geant4 configuration script /home/tanu/GATE/geant4.9.4.**
>> p02/env.sh
>>
>> On this machine the G4SYSTEM=Linux-g++
>> On this machine the G4INSTALL=/home/tanu/GATE/**geant4.9.4.p02
>> On this machine the G4LIB=/home/tanu/GATE/geant4.**9.4.p02/lib
>> On this machine the
>> G4LEVELGAMMADATA=/home/tanu/**GATE/geant4.9.4.p02/data/**
>> PhotonEvaporation2.1
>> On this machine the
>> G4RADIOACTIVEDATA=/home/tanu/**GATE/geant4.9.4.p02/data/**
>> RadioactiveDecay3.3
>> On this machine the G4LEDATA=/home/tanu/GATE/**
>> geant4.9.4.p02/data/G4EMLOW6.**19
>> On this machine the
>> G4NEUTRONHPDATA=/home/tanu/**GATE/geant4.9.4.p02/data/**G4NDL3.14
>> On this machine the G4ABLADATA=/home/tanu/GATE/**
>> geant4.9.4.p02/data/G4ABLA3.0
>> On this machine the
>> G4REALSURFACEDATA=/home/tanu/**GATE/geant4.9.4.p02/data/**RealSurface1.0
>> On this machine the
>> G4NEUTRONXSDATA=/home/tanu/**GATE/geant4.9.4.p02/data/**G4NEUTRONXS1.0
>> On this machine the G4PIIDATA=/home/tanu/GATE/**
>> geant4.9.4.p02/data/G4PII1.2
>> On this machine the CLHEP_BASE_DIR=/home/tanu/**GATE/2.1.0.1
>> On this machine the CLHEP_INCLUDE_DIR=/home/tanu/**GATE/2.1.0.1/include
>> On this machine the CLHEP_LIB_DIR=/home/tanu/GATE/**2.1.0.1/lib<http://2.1.0.1/lib>
>> On this machine the CLHEP_LIB=CLHEP
>> On this machine the G4UI_USE_TCSH=1
>> On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
>> On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=**1
>> On this machine the G4VIS_USE_OPENGLX=1
>> On this machine the G4VIS_USE_RAYTRACERX=1
>> On this machine the XMFLAGS=
>> On this machine the XMLIBS=
>> On this machine the XMFLAGS=
>> On this machine the XAWFLAGS=
>> On this machine the XAWLIBS=
>> On this machine the G4LIB_BUILD_SHARED=1
>>
>> Configuring GATE options
>>
>> G4WORKDIR set to .
>> G4TMP set to ./tmp
>> G4BIN set to ./bin
>> Data analysis and output features enabled
>> Ascii data output enabled
>> Transport and generation of optical photons is enabled
>> Checking your LD_LIBRARY_PATH variable...
>> ==> OK: /home/tanu/GATE/root/lib is already in your LD_LIBRARY_PATH
>> Use of ROOT enabled
>> ROOT real-time plotter disabled
>> LMF data output disabled
>> ECAT7 data output disabled
>> GATEHOME is set to /home/tanu/GATE/gate_v6.1/
>> Checking your path variable...
>> ==> OK: /home/tanu/GATE/gate_v6.1//**bin/Linux-g++ is already in your
>> path
>> variable
>> Checking your LD_LIBRARY_PATH variable...
>> ==> OK: /home/tanu/GATE/gate_v6.1//**tmp/Linux-g++/Gate is already in
>> your
>> path variable
>> G4VERSION9_3 is set: GATE is compatible with the GEANT4 version 9.3 and
>> 9.4
>>
>> however, when I am trying to run the command it shows:
>> [G4-cerr] ***** COMMAND NOT FOUND</gate/physics/optical/**enable 1>
>> *****
>> [Gate] Sorry, error in a macro command : abort.
>> tanu at tanu-Vostro1510:~/GATE/**gate_v6.1$
>>
>>
>>
>>
>> On Fri, Jul 29, 2011 at 6:25 PM, Didier Benoit<benoit at imnc.in2p3.fr>
>> wrote:
>>
>> Hi,
>>>
>>> In your env_gate.sh or env_gate.csh environment file you have to set your
>>> 'GATE_USE_OPTICAL' variable at 1:
>>>
>>> export GATE_USE_OPTICAL=1
>>>
>>> Kind regards,
>>> Didier Benoit
>>>
>>>
>>> On 07/29/2011 02:30 PM, Tanushyam Bhattacharjee wrote:
>>>
>>> Hi,
>>>>
>>>> I am trying to run the following in gate 6.1
>>>>
>>>> /gate/physics/optical/enable 1
>>>>
>>>> Gate gave the following error:
>>>>
>>>> ***** COMMAND NOT FOUND</gate/physics/optical/****enable 1> *****
>>>>
>>>> Please comment. What's wrong
>>>> ______________________________****_________________
>>>> Gate-users mailing list
>>>> Gate-users at lists.**opengatecol**laboration.org<http://opengatecollaboration.org>
>>>> <Gate-users@**lists.opengatecollaboration.**org<Gate-users at lists.opengatecollaboration.org>
>>>> >
>>>> http://lists.**opengatecollabo**ration.org/**mailman/listinfo/**
>>>> gate-users<http://opengatecollaboration.org/**mailman/listinfo/gate-users>
>>>> <http://lists.**opengatecollaboration.org/**mailman/listinfo/gate-users<http://lists.opengatecollaboration.org/mailman/listinfo/gate-users>
>>>> >
>>>>
>>>>
>>> --
>>> ------------------------------****----------------------------**--**----
>>> Didier BENOIT, GATE Engineer
>>> Imagerie et Modélisation en Neurobiologie et Cancérologie (IMNC)
>>> IMNC – UMR 8165 CNRS – Université Paris 7 – Université Paris 11
>>> Campus d’Orsay
>>> Bâtiment 440
>>> 91406 ORSAY Cedex
>>>
>>> Tél : (33) 1 69 15 68 76
>>> E-mail : benoit at imnc.in2p3.fr
>>> http://www.imnc.in2p3.fr
>>> ------------------------------****----------------------------**--**----
>>>
>>>
>>> ______________________________**_________________
>> Gate-users mailing list
>> Gate-users at lists.**opengatecollaboration.org<Gate-users at lists.opengatecollaboration.org>
>> http://lists.**opengatecollaboration.org/**mailman/listinfo/gate-users<http://lists.opengatecollaboration.org/mailman/listinfo/gate-users>
>>
>
>
More information about the Gate-users
mailing list