Message: Re: Missing hits Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Missing hits  

Forum: Hits, Digitization and Pileup
Re: Question Missing hits
Date: 25 Sep, 2015
From: michel maire <michel maire>

On Thu, 24 Sep 2015 09:17:40 GMT, duso wrote:
> I have a detector which geometry is build with one logical volume, say
> logicA, which is placed twice inside the World. Then inside logicA I
> place several identical volume which are my sensitive detectors. So my
> code looks like
> G4Sphere* solidHalf_LPmtSph = new G4Sphere("HalfLPmtSph",
>                                             rInLPmtSph,
>                                             rOutLPmtSph,
>                                             0.*deg,
>                                             360.*deg,
>                                             0.*deg,
>                                             180.*deg);

> My problem is that I see hits only in the detectors that are in the
> second half-sphere that I placed in the World, namely in
> physHalf_LPmtSph_2. If I comment the second placement I get hits in the
> first half sphere. What is wrong in my code?

  The definition of a G4Sphere is : radius, phi, theta.  So, your definition is correct, except you define a full sphere, and not a half sphere.
 --> The 2 placements overlap totally.

 Add Message Add Message
to: "Re: Missing hits "

 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 ]