Message: Use of replicavol in GDML - rotation replication on an axis Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Use of replicavol in GDML - rotation replication on an axis 

Forum: Geometry
Date: 26 Jan, 2015
From: Joe Westlake <Joe Westlake>

I'm trying to figure out how to do replica volumes as rotations along an axis in GDML. I cannot find a good example or definition on how to do this. I have only found translation examples, for example the extended/persistency example:

  <structure>
    <volume name="lvCube">
      <materialref ref="ALU"/>
      <solidref ref="Cube"/>
    </volume>
    <volume name="lvReplica">
      <materialref ref="AIR"/>
      <solidref ref="MotherCube"/>
      <replicavol number="8">
        <volumeref ref="lvCube"/>
        <replicate_along_axis> 
        <direction  x="1" />
        <width value="100" unit="mm"/>
        <offset value="0" unit="mm"/>
      </replicate_along_axis>
     </replicavol>

I would like to place 15 volumes offset by 3 degrees each.

Thanks in advance!

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Use of replicavol in GDML - rotation replication on an axis   (John Apostolakis - 28 Jan, 2015)
 Add Message Add Message
to: "Use of replicavol in GDML - rotation replication on an axis"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]