|Message: Re: Geant3 Volume Division||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
On Tue, 17 Aug 2010 19:30:18 GMT, David Barton wrote: > 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.
correct > > My problem is I can't quite figure out how to determine which physical > cell corresponds to the division number.
The informations are in the common /GCVOLU/
nlevel is the current level, in your case must be the one of RGN2 number(nlevel) = layer number number(nlevel-1) = ring 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)
The use of sensitive detector is never mandatory to store informations. In many cases, it is more simple to do it 'by hand' in your own array. In your case a two dimensional array like Edep(ir,iz)