Message: Re: Integer Identifier for Volumes Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Integer Identifier for Volumes 

Forum: Geometry
Re: Question Integer Identifier for Volumes (Michael)
Date: 04 Jun, 2012
From: Ivana Hrivnacova <Ivana Hrivnacova>

Hi Mike,

The G4VPhysicalVolume class has a copy number data member, which numbers the physical volumes within their mother logical volume. In general, the physical volume is unique only within its mother volume, as the mother volume can be also placed several times, so it is not possible to associate an integer identifier which would be unique in the whole geometry to a physical volume. 
You can find more complete explication in the Geant4 tutorials, eg. in:
in the "Geometry 2" lecture, in the chapter "Touchables" (slide #16 - #21).

We can give you more help if you describe how are your sensitive volumes organized in your detector.

Best regards,


 Add Message Add Message
to: "Re: Integer Identifier for Volumes"

 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 ]