[Gate-users] multiple sensitive detectors

Marc Chamberland MarcChamberland at cmail.carleton.ca
Thu Sep 5 17:09:41 CEST 2013


Hi Benjamin,

Your problem is that you have not defined a valid system in Gate. Please a look at this section of the User's guide: http://wiki.opengatecollaboration.org/index.php/Users_Guide_V6.2:Defining_a_system

You can't call your main volume mainVol and attach modules to it. You have to use one of the specific system keywords such as 'scanner', 'CTscanner', etc. Then, you can only attach the components which belong to this particular system type. For example, 'rsector', 'module', etc. for 'cylindricalPET'.

Hope this helps.

Cheers,
Marc



__________________________

Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)

On 2013-09-05, at 11:01 AM, Benjamin Ziemer <bziemer at uci.edu<mailto:bziemer at uci.edu>>
 wrote:

Hello All:

I am trying to get familiar with the GATE system by attempting to modify
and replicate various examples and benchmarks provided with the GATE
install.

I am currently trying to set up more than one sensitive detector and am
running into a very strange error.  I get the error:

***** COMMAND NOT FOUND </gate/systems/mainVol/module/attach module> *****
***** Batch is interrupted!! *****

In addition, there are twelve lines of:

Warning in <TBranch::TBranch>: No name was given to the leaf number '0' in
the leaflist of the branch ''.

But, I assume this last error is due to the improper set up.

I am following the example in the example_TrackerDetector; and they have a
line EXACTLY like my first error in their geometry construction
(/gate/systems/cylindricalPET/module/attach module - of course the main
name is different).

I think I must be missing something with the attachment of the entire
system and would appreciate any assistance someone could offer.

thank you,
Benjamin

------------------------------------------------------
i am including the geometry setup below
------------------------------------------------------
####################
# mainVol system #
####################
/gate/world/daughters/name mainVol
/gate/world/daughters/insert box
/gate/mainVol/placement/setTranslation 0. 0. 0. mm
/gate/mainVol/geometry/setXLength 100. mm
/gate/mainVol/geometry/setYLength 5.5 mm
/gate/mainVol/geometry/setZLength 32.5 mm
/gate/mainVol/setMaterial Vacuum
/gate/mainVol/vis/forceWireframe
/gate/mainVol/vis/setColor red

#############
# module
#############
/gate/mainVol/daughters/name module
/gate/mainVol/daughters/insert box
/gate/module/geometry/setXLength 100. mm
/gate/module/geometry/setYLength 5.5 mm
/gate/module/geometry/setZLength 32.5 mm
/gate/module/setMaterial Vacuum
/gate/module/vis/forceWireframe
/gate/module/vis/setColor red

############
# Pixel    #
############
/gate/module/daughters/name crystal
/gate/module/daughters/insert box
/gate/crystal/geometry/setXLength 100 mm
/gate/crystal/geometry/setYLength 5.5 mm
/gate/crystal/geometry/setZLength 32.5 mm
/gate/crystal/setMaterial Vacuum
/gate/crystal/vis/forceWireframe
/gate/crystal/vis/setColor cyan

############
# Si Pixel #
############
/gate/crystal/daughters/name pixelSi
/gate/crystal/daughters/insert box
/gate/pixelSi/placement/setTranslation 0. 0. 1.25 mm
/gate/pixelSi/geometry/setXLength 100 mm
/gate/pixelSi/geometry/setYLength 0.5 mm
/gate/pixelSi/geometry/setZLength 30.0 mm
/gate/pixelSi/setMaterial Silicon
/gate/pixelSi/vis/forceSolid
/gate/pixelSi/vis/setColor cyan

###########
# Cu1 Pixel  #
###########
/gate/crystal/daughters/name pixelCu1
/gate/crystal/daughters/insert box
/gate/pixelCu1/placement/setTranslation 0. -1.5 1.25 mm
/gate/pixelCu1/geometry/setXLength 100. mm
/gate/pixelCu1/geometry/setYLength 2.5 mm
/gate/pixelCu1/geometry/setZLength 30.0 mm
/gate/pixelCu1/setMaterial Copper
/gate/pixelCu1/vis/forceWireframe
/gate/pixelCu1/vis/setColor green

###########
# Cu2 Pixel  #
###########
/gate/crystal/daughters/name pixelCu2
/gate/crystal/daughters/insert box
/gate/pixelCu2/placement/setTranslation 0. 1.5 1.25 mm
/gate/pixelCu2/geometry/setXLength 100. mm
/gate/pixelCu2/geometry/setYLength 2.5 mm
/gate/pixelCu2/geometry/setZLength 30.0 mm
/gate/pixelCu2/setMaterial Copper
/gate/pixelCu2/vis/forceWireframe
/gate/pixelCu2/vis/setColor blue

###########
# Cu3 Pixel  #
###########
/gate/crystal/daughters/name pixelCu3
/gate/crystal/daughters/insert box
/gate/pixelCu3/placement/setTranslation 0. 0. -15. mm
/gate/pixelCu3/geometry/setXLength 100. mm
/gate/pixelCu3/geometry/setYLength 5.5 mm
/gate/pixelCu3/geometry/setZLength 2.5 mm
/gate/pixelCu3/setMaterial Copper
/gate/pixelCu3/vis/forceWireframe
/gate/pixelCu3/vis/setColor red



# ATTACH SYSTEM
/gate/systems/mainVol/module/attach module
/gate/systems/mainVol/crystal/attach crystal
/gate/systems/mainVol/layer0/attach pixelSi
/gate/systems/mainVol/layer1/attach pixelCu1
/gate/systems/mainVol/layer2/attach pixelCu2
/gate/systems/mainVol/layer3/attach pixelCu3

# ATTACH LAYER
/gate/pixelSi/attachCrystalSD
/gate/pixelCu1/attachCrystalSD
/gate/pixelCu2/attachCrystalSD
/gate/pixelCu3/attachCrystalSD

/gate/systems/mainVol/describe




_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org<mailto:Gate-users at lists.opengatecollaboration.org>
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130905/12ae2ddf/attachment-0001.html>


More information about the Gate-users mailing list