Message: Geant3 Volume Division Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Geant3 Volume Division 

Forum: Geometry
Date: 17 Aug, 2010
From: David Barton <David Barton>

Sorry for asking a Geant3 question, but I'm hoping someone can help me out. I'm trying to divide up a volume in Geant3 but I'm running into a problem with knowing what volume is what.

If I understand the volume creation/division correctly I've created a TUBE and then I use GSDVN to divide it up. I need to divide it up in radial and linear sections so I've got:

GSDVN(RING,TUB1,8,1) GSDVN(RNG2,RING,20,3)

So I should have a cylinder that has been divided into 8 rings and 20 z-layers, for a total of 160 different cells.

My problem is I can't quite figure out how to determine which physical cell corresponds to the division number.

I think I need to use GSDET to assign names to my different cells, for example:

GSDET(DET1,RNG2,160,NAME,BITN,1,20,0,ISET,IDET)

Where NAME(I)=the names of the 160 cells (c1 to c160 or something like that) and BITN(I)=8 (bit size of the volume numbers)

But even if I've got all of this correct I'm still unsure of how geant assigns the names to the different cells. What order do they go in? and how do I use GSCHIT and GFHIT to store and retrieve the section number or name?

Thanks,

David

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

1 None: Re: Geant3 Volume Division   (michel maire - 20 Aug, 2010)
 Add Message Add Message
to: "Geant3 Volume Division"

 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 ]