[Gate-users] (no subject)

lupa euy lupalagieuy at yahoo.com
Wed Nov 9 10:46:05 CET 2011


hi everyone.. 


I have some 'stupid' questions.. Hope that someone can help me.. 


1. In the forbid command, for example you define a volume as in the example.. 


/gate/world/daughters/name cold_area 
/gate/world/daughters/insert cylinder 
/gate/cold_area/vis/forceWireframe 
/gate/cold_area/vis/setColor green 
/gate/cold_area/geometry/setRmax 3.0 cm 
/gate/cold_area/geometry/setHeight 1. cm 

Then you describe your source with the Forbid command: 
/gate/source/addSource number1 
/gate/source/number1/setActivity 100000. becquerel 
/gate/source/number1/gps/particle gamma 
/gate/source/number1/setType backtoback 
/gate/source/number1/gps/type Volume 
/gate/source/number1/gps/shape Cylinder 
/gate/source/number1/gps/radius 5. cm 
/gate/source/number1/gps/halfz 0.5 cm 
/gate/source/number1/gps/centre 0. 0. 0. cm 
/gate/source/number1/gps/monoenergy 511. keV 
/gate/source/number1/gps/angtype iso 
/gate/source/number1/gps/Forbid cold_area 
/gate/source/number1/dump 1 
/gate/source/list 
How will we know the position of the cold area relative to the source ? Will the volume of the cold area follows the center of the source ? 

If we want to have the cold area to be off-centre, and use the setTranslation command, where will the position of x,y and z in that command refer to ?  relative to the world ? or relative to the source ?


2. Can we have a source without defining a phantom? If we have define the phantom as well, can we define the position of source relative to the phantom ? should we 'attach' the source to the phantom ??

Thanks for your help. .


regards


More information about the Gate-users mailing list