[Gate-users] Non-reflective surface?

Jason Maldonis jjmaldonis at gmail.com
Thu Jun 16 20:54:06 CEST 2011


Ok, here is an add-on because I am royally stumped. This is the code I am
using for my geometry, it is taken (partially) from example_OPTICAL:


# === scanner === the outer white box
# the scanner contains in this case one module,
# but could contain for example a ring of modules
/gate/world/daughters/name              scanner
/gate/world/daughters/insert            box
/gate/scanner/geometry/setXLength       31.0 mm
/gate/scanner/geometry/setYLength       31.0 mm
/gate/scanner/geometry/setZLength       71.0 mm
/gate/scanner/setMaterial               Vacuum #Air
/gate/scanner/vis/forceWireframe        1

# === module === the inner white box
# the module contains the pixels and the PMT
/gate/scanner/daughters/name            module
/gate/scanner/daughters/insert          box
/gate/module/geometry/setXLength        30.0 mm
/gate/module/geometry/setYLength        30.0 mm
/gate/module/geometry/setZLength        70.0 mm
/gate/module/setMaterial                Vacuum #Air
/gate/module/vis/forceWireframe         1

/gate/systems/scanner/level1/attach     module

# === pixels ===
/gate/module/daughters/name             pixel
/gate/module/daughters/insert           cylinder
/gate/pixel/geometry/setRmax            14.0 mm
/gate/pixel/geometry/setRmin            0    mm
/gate/pixel/geometry/setHeight          10.0 mm
/gate/pixel/setMaterial                 LSO
/gate/pixel/placement/setTranslation    0 0 25 mm
/gate/pixel/vis/setColor                red

/gate/systems/scanner/level2/attach     pixel

# === PMT ===
/gate/module/daughters/name             PMT
/gate/module/daughters/insert           cylinder
/gate/PMT/geometry/setRmax              14.0 mm
/gate/PMT/geometry/setRmin              0    mm
/gate/PMT/geometry/setHeight            50.0 mm
/gate/PMT/setMaterial                   Water
/gate/PMT/placement/setTranslation      0 0 -5 mm
/gate/PMT/vis/setColor                  blue

#/gate/PMT/attachCrystalSD

# === detector === this is what I was going to use instead of the surface,
so simply if a particle went through here then i would count it. *****But it
does the exact same thing as the surface as I discussed above, it reflects
everything!!
#/gate/PMT/daughters/name                         SDetector
#/gate/PMT/daughters/insert   cylinder
#/gate/SDetector/geometry/setRmax         14.0 mm
#/gate/SDetector/geometry/setRmin         0    mm
#/gate/SDetector/geometry/setHeight       0.000001 mm
#/gate/SDetector/setMaterial                        Vacuum
#/gate/SDetector/placement/setTranslation    0 0 24.999995 mm
#/gate/SDetector/vis/setColor                       yellow

So, if you read my comment above for the detector, you will see why I am
utterly stumped. Does anyone know why putting a vacuum in next to the LSO
crystals would stop the particles (photons) from going through??? Even if I
change the material from a vacuum to water, which is the material of the
PMT, the particles still do not go through to the PMT.


More information about the Gate-users mailing list