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

None Re: Geant3 Volume Division 

Forum: Geometry
Re: Question Geant3 Volume Division (David Barton)
Date: 20 Aug, 2010
From: michel maire <michel maire>

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:
> 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.

  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:

  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)


 Add Message Add Message
to: "Re: 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 ]