Message: Re: Mother Volumes Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: Mother Volumes 

Keywords: physical volume, logical volume
Forum: Geometry
Re: None Mother Volumes (Rick Foster)
Date: 06 Mar, 2007
From: Gabriele Cosmo <Gabriele Cosmo>

Hi Rick,

> Current documentation seems to indicate that when using G4PVPlacement, the mother
> volume should point to a logical volume. But I have seen examples, such as in
> where the mother volume is a physical volume
> (see snippet below).

the correct way to define G4PVPlacement is to use the mother logical volume, as
described in the documentation.
G4PVPlacement provides also a constructor where the mother physical volume can
be used instead. This construct is just historical and obsolete, and the result is exactly
the same. exampleN05 can be corrected, I agree that it can be confusing...

> I am having some problems having daughter volumes that are also sensitive detectors
> register hits (They work fine if they are just placed in the world by themselves).

I don't think this is any way related to the way you define your geometry, but eventually
to the implementation of your sensitive detector(s). I suggest you to give the details in
the "Hits, Digitization and Pileup" Forum, in case.

Cheers, Gabriele

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

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