Message: Re: Tracking in a UnionSolid Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Tracking in a UnionSolid 

Forum: Event and Track Management
Re: Question Tracking in a UnionSolid (Rafayel Paremuzyan)
Date: 08 Jan, 2014
From: Gumplinger Peter <Gumplinger Peter>

Dear Rafayel,

Have you visualized your geometry (cylinder with spherical end-cap) to confirm it is correctly implemented? (at first glance it looks ok to me).

If you can confirm that the picture is as you'd expect, I suggest you post your problem on the geometry-forum instead.

One other test I can suggest is that you verify that a point is inside your UnionSolid when that points coordinates are either in the cylinder or end-cap. This can be done with code in PrimaryGeneratorAction following logic as at:

http://www-geant4.kek.jp/lxr/source//examples/extended/field/field04/src/F04PrimaryGeneratorAction.cc#L98

e.g. instantiate a new G4Navigator, and use its LocateGlobalPointAndSetup method for the coordinates you want to verify. The G4TouchableHistoryHandle can then be used to obtain the name of the G4LogicalVolume:

touchable->GetVolume()->GetLogicalVolume()->GetName()

It should be your UnionSolid in all cases. If not, this test will help you formulate your posting on the Geometry-Forum (or, in the unlikely event, a G4 bug report).

Hope this helps, Peter

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

1 Question: Re: Tracking in a UnionSolid   (Rafayel Paremuzyan - 08 Jan, 2014)
(_ Feedback: Re: Tracking in a UnionSolid   (Gumplinger Peter - 08 Jan, 2014)
(_ Feedback: Re: Tracking in a UnionSolid   (Rafayel Paremuzyan - 09 Jan, 2014)
(_ Feedback: Re: Tracking in a UnionSolid   (Gumplinger Peter - 09 Jan, 2014)
(_ Feedback: Re: Tracking in a UnionSolid   (Rafayel Paremuzyan - 09 Jan, 2014)
(_ Disagree: Re: Tracking in a UnionSolid   (Gumplinger Peter - 10 Jan, 2014)
(_ Feedback: Re: Tracking in a UnionSolid   (Rafayel Paremuzyan - 11 Jan, 2014)
(_ Ok: Re: Tracking in a UnionSolid   (Rafayel Paremuzyan - 16 Jan, 2014)
(_ Disagree: Re: Tracking in a UnionSolid   (Gumplinger Peter - 16 Jan, 2014)
(_ Agree: Re: Tracking in a UnionSolid   (Gumplinger Peter - 16 Jan, 2014)
 Add Message Add Message
to: "Re: Tracking in a UnionSolid"

 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 ]