Message: Re: Particle Problems at G4TessellatedSolid Boundary Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Particle Problems at G4TessellatedSolid Boundary 

Forum: Geometry
Re: Question Particle Problems at G4TessellatedSolid Boundary (Alex Leatherland)
Re: None Re: Particle Problems at G4TessellatedSolid Boundary (Ivana Hrivnacova)
Date: 20 Feb, 2013
From: Alex Leatherland <Alex Leatherland>

I use a GDML script to define the solid. The relavant sections are here:

<define>
  <position name="v1" unit="mm" x="5" y="5" z="5" />
  <position name="v2" unit="mm" x="5" y="5" z="-5" />
  <position name="v3" unit="mm" x="5" y="-5" z="5" />
  <position name="v4" unit="mm" x="5" y="-5" z="-5" />
  <position name="v5" unit="mm" x="-5" y="5" z="5" />
  <position name="v6" unit="mm" x="-5" y="5" z="-5" />
  <position name="v7" unit="mm" x="-5" y="-5" z="5" />
  <position name="v8" unit="mm" x="-5" y="-5" z="-5" />
  <position name="t9" unit="mm" x="0" y="0" z="0" />
  <rotation name="r0" unit="radian" x="0" y="0" z="0" />
</define>

...materials defined, not important for geantinos...

<solids>
  <box aunit="radian" lunit="m" name="WorldBox" x="15" y="15" z="15" />
  <box aunit="radian" lunit="mm" name="BigBox1" x="10" y="10" z="10" />
  <tessellated aunit="radian" lunit="mm" name="BigBox2" />
     <triangular vertex1="v1" vertex2="v3" vertex3="v7" />
     <triangular vertex1="v1" vertex2="v7" vertex3="v5" />
     <triangular vertex1="v6" vertex2="v8" vertex3="v4" />
     <triangular vertex1="v6" vertex2="v4" vertex3="v2" />
     <triangular vertex1="v1" vertex2="v2" vertex3="v4" />
     <triangular vertex1="v1" vertex2="v4" vertex3="v3" />
     <triangular vertex1="v7" vertex2="v8" vertex3="v6" />
     <triangular vertex1="v7" vertex2="v6" vertex3="v5" />
     <triangular vertex1="v1" vertex2="v5" vertex3="v6" />
     <triangular vertex1="v1" vertex2="v6" vertex3="v2" />
     <triangular vertex1="v4" vertex2="v8" vertex3="v7" />
     <triangular vertex1="v4" vertex2="v7" vertex3="v3" />
  </tessellated>
</solids>

.....then there is the structure and setup, tried alternating between using BigBox1 BigBox2as the solid to define the volume target........

The reason I used this is because the implementation I have available for writing GDML

On Tue, 19 Feb 2013 16:49:15 GMT, Ivana Hrivnacova wrote:

> Could you, please, provide the code with your definition of the
> tessellated solid? We have a similar test with the box defined as
> G4ExtrudedSolid (which is just a specification of G4TessellatedSolid)
> and it gives identical results as the same solid defined as G4Box.
> 
> Thank you,
> 
> Ivana Hrivnacova
> 

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

1 None: Re: Particle Problems at G4TessellatedSolid Boundary   (Alex Leatherland - 20 Feb, 2013)
(_ None: Re: Particle Problems at G4TessellatedSolid Boundary   (Ivana Hrivnacova - 20 Feb, 2013)
(_ None: Re: Particle Problems at G4TessellatedSolid Boundary   (Alex Leatherland - 21 Feb, 2013)
(_ News: Re: Particle Problems at G4TessellatedSolid Boundary   (Alex Leatherland - 22 Feb, 2013)
(_ None: Re: Particle Problems at G4TessellatedSolid Boundary   (Ivana Hrivnacova - 27 Feb, 2013)
(_ None: Re: Particle Problems at G4TessellatedSolid Boundary   (Michael H. Kelsey - 27 Feb, 2013)
(_ Ok: Re: Particle Problems at G4TessellatedSolid Boundary   (Alex Leatherland - 07 Mar, 2013)
 Add Message Add Message
to: "Re: Particle Problems at G4TessellatedSolid Boundary"

 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 ]