[Gate-users] ecatAccel System

Sebastien JAN sebastien.jan at cea.fr
Mon May 21 14:54:55 CEST 2007


Hi Peter,
If you describe your system as it is done in the following example, it 
works well.

Cheers
Sebastien

----------------------------------

#     E C A T A C C E L
/gate/world/daughters/name ecatAccel
/gate/world/daughters/insert cylinder
/gate/ecatAccel/setMaterial Air
/gate/ecatAccel/geometry/setRmax 44.2 cm
/gate/ecatAccel/geometry/setRmin 41.2 cm
/gate/ecatAccel/geometry/setHeight 15.52 cm
/gate/ecatAccel/vis/forceWireframe

#     B L O C K
/gate/ecatAccel/daughters/name block
/gate/ecatAccel/daughters/insert box
/gate/block/placement/setTranslation 427.0 0.0 0.0 mm
/gate/block/geometry/setXLength 30.0 mm
/gate/block/geometry/setYLength 35.8594 mm
/gate/block/geometry/setZLength 38.7 mm
/gate/block/setMaterial Air
/gate/block/vis/forceWireframe

#    C R Y S T A L
/gate/block/daughters/name crystal
/gate/block/daughters/insert box
/gate/crystal/geometry/setXLength 30.0 mm
/gate/crystal/geometry/setYLength 4.4 mm
/gate/crystal/geometry/setZLength 4.75 mm
/gate/crystal/setMaterial BGO
/gate/crystal/vis/setColor yellow

#    R E P E A T    C R Y S T A L
/gate/crystal/repeaters/insert cubicArray
/gate/crystal/cubicArray/setRepeatNumberX 1
/gate/crystal/cubicArray/setRepeatNumberY 8
/gate/crystal/cubicArray/setRepeatNumberZ 8
/gate/crystal/cubicArray/setRepeatVector 0. 4.4942 4.85 mm

#    R E P E A T    BLOCK
/gate/block/repeaters/insert linear
/gate/block/linear/setRepeatNumber 4
/gate/block/linear/setRepeatVector 0. 0. 38.8 mm
/gate/block/repeaters/insert ring
/gate/block/ring/setRepeatNumber 72


#     A T T A C H    S Y S T E M
/gate/systems/ecatAccel/block/attach block
/gate/systems/ecatAccel/crystal/attach crystal

#    A T T A C H    C R Y S T A L  SD
/gate/crystal/attachCrystalSD



More information about the Gate-users mailing list