[Gate-users] How can I simulation warm sphere sources in cylinder backgrond source?

Guifen Lin guifen_lin at yahoo.com.cn
Sun Jun 17 04:09:47 CEST 2007


Hi,All
  I want to simulation warm sphere sources in cylinder backgrond source.
  Here is my scripts:
  #       P H A N T O M   G E O M E T R Y----"phantom.mac"
/gate/world/daughters/name Phantom
/gate/world/daughters/insert box
/gate/Phantom/placement/setTranslation 0.0 0.0 0.0 cm
/gate/Phantom/geometry/setXLength 35. cm
/gate/Phantom/geometry/setYLength 35. cm
/gate/Phantom/geometry/setZLength 35. cm
/gate/Phantom/setMaterial Air
/gate/Phantom/vis/forceWireframe
/gate/Phantom/vis/setColor gray
  # Outer SHell of Phantom
# Center Section of Upper Outer Shell
/gate/Phantom/daughters/name outershell
/gate/Phantom/daughters/insert cylinder
/gate/outershell/geometry/setRmax 11. cm
/gate/outershell/geometry/setRmin 10. cm
/gate/outershell/geometry/setHeight 20 cm
/gate/outershell/setMaterial Plastic
/gate/outershell/vis/forceWireframe
/gate/outershell/vis/setColor red
  # Water in Phantom
/gate/Phantom/daughters/name interior
/gate/Phantom/daughters/insert cylinder
/gate/interior/geometry/setRmax 10 cm
/gate/interior/geometry/setRmin  0.0 cm
/gate/interior/geometry/setHeight 20 cm
/gate/interior/setMaterial Water
/gate/interior/vis/forceWireframe
/gate/interior/vis/setColor blue
   
  # 10 mm Sphere
/gate/interior/daughters/name sphere10
/gate/interior/daughters/insert sphere
/gate/sphere10/placement/setTranslation 2.86 4.95367 0 cm
/gate/sphere10/geometry/setRmax 1 cm
/gate/sphere10/geometry/setRmin 0.0 cm
/gate/sphere10/setMaterial Air
#/gate/sphere10/vis/forceWireframe
/gate/sphere10/vis/setColor gray
  # 10 mm Sphere Exterior
/gate/interior/daughters/name sphere10out
/gate/interior/daughters/insert sphere
/gate/sphere10out/placement/setTranslation 2.86 4.95367 3.7 cm
/gate/sphere10out/geometry/setRmax 0.6 cm
/gate/sphere10out/geometry/setRmin 0.5 cm
/gate/sphere10out/setMaterial Plastic
#/gate/sphere10out/vis/forceWireframe
/gate/sphere10out/vis/setColor red
  #      A t t a c h   P h a n t o m
/gate/Phantom/attachPhantomSD
/gate/interior/attachPhantomSD
/gate/sphere10/attachPhantomSD
/gate/sphere10out/attachPhantomSD
/gate/outershell/attachPhantomSD
   
   
  # F A S T   P R O D U C T I O N   M O D U L E   F O R   F - 1 8   I S O T O P E S---"source.mac"
/gate/source/addSource BackgroundSource
/gate/source/BackgroundSource/setActivity 50000. becquerel
/gate/source/BackgroundSource/gps/particle e+
/gate/source/BackgroundSource/setForcedUnstableFlag true
/gate/source/BackgroundSource/setForcedHalfLife 6586 s
/gate/source/BackgroundSource/gps/energytype Fluor18
/gate/source/BackgroundSource/gps/type Volume
/gate/source/BackgroundSource/gps/shape Cylinder
/gate/source/BackgroundSource/gps/radius 10 cm
/gate/source/BackgroundSource/gps/halfz 20 cm
/gate/source/BackgroundSource/gps/confine interior_P
/gate/source/BackgroundSource/gps/angtype iso
/gate/source/BackgroundSource/gps/centre 0.0 0.0 0. cm
  /gate/source/addSource SphereSource
/gate/source/SphereSource/setActivity 50000. becquerel
/gate/source/SphereSource/gps/particle e+
/gate/source/SphereSource/setForcedUnstableFlag true
/gate/source/SphereSource/setForcedHalfLife 6586 s
/gate/source/SphereSource/gps/energytype Fluor18
/gate/source/SphereSource/gps/type Volume
/gate/source/SphereSource/gps/shape Sphere
/gate/source/SphereSource/gps/radius 1 cm
/gate/source/SphereSource/gps/confine sphere10_P
/gate/source/SphereSource/gps/angtype iso
/gate/source/SphereSource/gps/centre 0.0 0.0 0. cm

  When I run the simulate,It shows the error. I think the sphere source and the blackground sources are overlapped.But how to solve this  problem
   
   
  Thanks in advance!
   
  
 

 		
---------------------------------
 Mp3疯狂搜-新歌热歌高速下   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20070617/3593739d/attachment.htm>


More information about the Gate-users mailing list