Message: Re: Polygonal-like detector instead of cylindrical detector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Polygonal-like detector instead of cylindrical detector 

Forum: Geometry
Re: None Polygonal-like detector instead of cylindrical detector
Date: 18 Aug, 2015
From: John Apostolakis <John Apostolakis>

You can create a hexagonal object of the type you need by using the Geant4 solid “G4Polycone”.  This is the simplest way to describe the object to Geant4. By using G4Polycone the tracks will see one object and stop only on its surface.

G4Polycone enables you to create solids defined by regular polygons (= same size sides, same angles) whose center points are on a line perpendicular to their surface.

It sounds as though your use case is the simplest type of G4Polycone - one that has only two planes, its top and bottom.

I suggest to look at the Geant4 documentation for the details of G4Polycone, and to understand the relevant constructor.

Best regards,
John
===================================================
John Apostolakis,  PH Department, CERN

> On 18 Aug 2015, at 04:20, chang.wei.loh@cern.ch wrote:
> 
> 
> *** Discussion title: Geometry
> 
> I need to make a detector like that in the left diagram of the attached
> png file which shows its aerial view. I made a group of G4Trd objects of
> the same material through rotation like that in the right diagram of the
> same png, but it didn't turn out to be equivalent to the left diagram in
> reality. I realized that the particle tracks need to move through a
> boundary defined by two G4Trd objects. I don't need this. I saw from the
> User Guide I may be able to use G4MultiUnion but I have Geant 4 ver.
> 10.00.p04 which doesn't have G4MultiUnion.
> 
> Thanks.
> 
>   Attachment:
>      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2015/08/17/19.17-25008-geom.png
> 
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at: 
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1433.html 

 Add Message Add Message
to: "Re: Polygonal-like detector instead of cylindrical detector"

 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 ]