[Gate-users] help

Lenz, Mirjam m.lenz at fz-juelich.de
Tue Mar 27 10:29:37 CEST 2018


Hello Dania,

It seems that you are using the wrong keywords for the attach command. You can check the possible keywords for different systems in Table 4.2 on this page:
http://wiki.opengatecollaboration.org/index.php/Users_Guide:Defining_a_system

In case of “OpticalSystem" the keywords are “crystal” and “pixel”, so you should try:

/gate/systems/System_1/crystal/attach         crystal_1
/gate/systems/System_1/pixel/attach         pixel_1


/gate/systems/System_2/crystal/attach         crystal_2

/gate/systems/System_2/pixel/attach         pixel_2

Hope this helps!

Best regards,

Mirjam



+++++++++++++++++++++++++++++++++++++++++++

Mirjam Lenz
Institut für Neurowissenschaften und Medizin / INM-4
Forschungszentrum Jülich GmbH
52425 Jülich
Tel: +49 2461 61-96858
E-Mail: m.lenz at fz-juelich.de<mailto:m.lenz at fz-juelich.de>

+++++++++++++++++++++++++++++++++++++++++++

Von: Gate-users <gate-users-bounces at lists.opengatecollaboration.org<mailto:gate-users-bounces at lists.opengatecollaboration.org>> on behalf of Dania Consuegra <dconsuegra88 at gmail.com<mailto:dconsuegra88 at gmail.com>>
Datum: Dienstag, 27. März 2018 um 09:05
An: "gate-users at lists.opengatecollaboration.org<mailto:gate-users at lists.opengatecollaboration.org>" <gate-users at lists.opengatecollaboration.org<mailto:gate-users at lists.opengatecollaboration.org>>
Betreff: [Gate-users] help


Hello,


I'm trying to build a "Multi - Optical System".

Attach the geometry of my macro and the error that I get....

Any help, I would appreciate it....


Regards,


Dania


# === Multi-optical-system ===

/gate/world/daughters/name                         System_1

/gate/world/daughters/systemType               OpticalSystem

/gate/world/daughters/insert                          box

/gate/System_1/geometry/setXLength          1 cm

/gate/System_1/geometry/setYLength          1 cm

/gate/System_1/geometry/setZLength          3 cm

/gate/System_1/placement/setTranslation    0 0 2 cm

/gate/System_1/setMaterial                           Air

/gate/System_1/vis/forceWireframe

/gate/System_1/vis/setVisible 1


/gate/System_1/daughters/name                  crystal_1

/gate/System_1/daughters/insert                   box

/gate/crystal_1/geometry/setXLength            3 mm

/gate/crystal_1/geometry/setYLength            3 mm

/gate/crystal_1/geometry/setZLength            20 mm

/gate/crystal_1/placement/setTranslation      0 0 0 mm

/gate/crystal_1/setMaterial                            LSO

/gate/crystal_1/vis/setColor                           red

/gate/crystal_1/vis/forceWireframe

/gate/crystal_1/attachCrystalSD


/gate/System_1/daughters/name                   pixel_1

/gate/System_1/daughters/insert                   box

/gate/pixel_1/geometry/setXLength               3. mm

/gate/pixel_1/geometry/setYLength               3. mm

/gate/pixel_1/geometry/setZLength               1. mm

/gate/pixel_1/setMaterial                               G4_SILICON_DIOXIDE

/gate/pixel_1/placement/setTranslation         0 0 10.5 mm

/gate/pixel_1/vis/setColor                              yellow

/gate/pixel_1/vis/forceSolid


/gate/world/daughters/name                          System_2

/gate/world/daughters/systemType               OpticalSystem

/gate/world/daughters/insert                          box

/gate/System_2/geometry/setXLength          1 cm

/gate/System_2/geometry/setYLength          1 cm

/gate/System_2/geometry/setZLength          3 cm

/gate/System_2/placement/setTranslation    0 0 -2 cm

/gate/System_2/setMaterial                 Air

/gate/System_2/vis/forceWireframe

/gate/System_2/vis/setVisible 1


/gate/System_2/daughters/name                   crystal_2

/gate/System_2/daughters/insert                   box

/gate/crystal_2/geometry/setXLength            3 mm

/gate/crystal_2/geometry/setYLength            3 mm

/gate/crystal_2/geometry/setZLength            20 mm

/gate/crystal_2/placement/setTranslation      0 0 0 mm

/gate/crystal_2/setMaterial                            LSO

/gate/crystal_2/vis/setColor                           red

/gate/crystal_2/attachCrystalSD


/gate/System_2/daughters/name                  pixel_2

/gate/System_2/daughters/insert                  box

/gate/pixel_2/geometry/setXLength              3. mm

/gate/pixel_2/geometry/setYLength              3. mm

/gate/pixel_2/geometry/setZLength              1. mm

/gate/pixel_2/setMaterial                               G4_SILICON_DIOXIDE

/gate/pixel_2/placement/setTranslation        0 0 -10.5 mm

/gate/pixel_2/vis/setColor                             yellow

/gate/pixel_2/vis/forceSolid


/gate/systems/System_1/level1/attach         crystal_1

/gate/systems/System_1/level2/attach         pixel_1


/gate/systems/System_2/level1/attach         crystal_2

/gate/systems/System_2/level2/attach         pixel_2



***** COMMAND NOT FOUND </gate/systems/System_1/level1/attach crystal_1> *****

***** Batch is interrupted!! *****



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180327/d4c63837/attachment-0001.html>


More information about the Gate-users mailing list