Message: Re: Particles Dont Recognize Parameterized MLC Geometries Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Particles Dont Recognize Parameterized MLC Geometries  

Forum: Geometry
Re: Question Particles Dont Recognize Parameterized MLC Geometries (Oguzhan Ayrancioglu)
Date: 17 May, 2018
From: John Apostolakis <John Apostolakis>

Dear Oguzhan,

Typically a volume is ignored in a Geant4 simulation if it is incorrectly placed - e.g. if it placed complete outside its parent volume.

With the complexity of your geometry description, it is difficult to verify whether this is the case by inspecting your code.

I suggest to run the overlap checking for your geometry, which should help you to identify many of the geometry errors that could result in volumes not been intersected in the simulation.

After this, I suggest to try tracking with a few simple ‘rays’  (either geantinos or gammas) with verbose tracking to see whether the volumes that you expect to be cross in your simulation are seen by Geant4 tracking.

Best regards,
John
===================================================



On 15 May 2018, at 15:46, Oguzhan Ayrancioglu <oguzhanayrancioglu@gmail.com<mailto:oguzhanayrancioglu@gmail.com>> wrote:


*** Discussion title: Geometry

Hi,

I try to build Medical Linear Accelerator (Linac) geometry and also use
phasespace files as a generator on that build. So i created some of
parts of the Linac like Jaws, Baseplate under the Jaws, Phantom and
MLCs.

I used parameterization algorithm for creating MLCs but there is
something wrong about it. What i mean i set the MLCs by using
parameterized volumes and place them into seperated containers cause of
GEANT4 wanted me to divide parameterized volumes into different logical
volumes. GEANT4 warns me that one logical volume (in that case
containers) has only the same parameterized volumes' logical volume. So
i created 2 of MLCs that have different geometry and then parameterized
them into 4 of containers which are "CarriageA +X" , "CarriageA -X",
"CarriageB +X", "CarriageB -X"

When i run my simulation scoring deposit doses, particles go through the
parameterized-MLCs and nothing happens.. parameterized-MLCs dont block
the particles like they are not there.. I see them all in the QT as a
solid geometries but they dont interact with the particles. When i get
the scoring datas there are just 2 of MLCs that blocks the particles and
the others don't. You can see in the figure at attachment. Also i upload
my geometry source files so you can find them too.

Thank you for help,

Regards

  Attachment:
     http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/05/15/06.39-85827-1
     http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/05/15/06.44-9711-C_HLI_Parameterisation.cc
     http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/05/15/06.44-42191-C_HLT_Parameterisation.cc
     http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/05/15/06.44-72798-SetupGeometry.cc

-------------------------------------------------------------
Visit this GEANT4 at hypernews.slac.stanford.edu<http://hypernews.slac.stanford.edu> message (to reply or unsubscribe) at:
http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1588.html


 [ MIME part of type text/html without a name stripped ]

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

1 None: Re: Particles Dont Recognize Parameterized MLC Geometries   (John Apostolakis - 22 May, 2018)
1 Sad: Particles Dont Recognize Parameterized MLC Geometries   (Oguzhan Ayrancioglu - 06 Jun, 2018)
2 None: Re: Particles Dont Recognize Parameterized MLC Geometries   (Oguzhan Ayrancioglu - 23 May, 2018)
1 None: Re: Particles Dont Recognize Parameterized MLC Geometries   (Oguzhan Ayrancioglu - 23 May, 2018)
2 None: Re: Particles Dont Recognize Parameterized MLC Geometries   (Oguzhan Ayrancioglu - 23 May, 2018)
3 None: Re: Particles Dont Recognize Parameterized MLC Geometries   (Oguzhan Ayrancioglu - 23 May, 2018)
 Add Message Add Message
to: "Re: Particles Dont Recognize Parameterized MLC Geometries "

 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 ]