Message: Volume information in UserStackingAction? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Volume information in UserStackingAction? 

Keywords: Stacking Tracks Vertex Volume
Forum: Event and Track Management
Date: 04 Jul, 2005
From: Daniel Greiner <Daniel Greiner>

Dear all, I'd like to use the GetLogicalVolumeAtVertex method to filter the generated secondaries in my geant4 simulation by calling it in the ClassifyNewTrack method of my UserStackingAction class. While I do obtain sensible values for aTrack->GetPosition(), when I try to use GetLogicalVolumeAtVertex (or GetVolume, for that matter) I get a NULL pointer object. I noticed a similar problem in post 100 regarding a custom trajectory class. Does this mean that ClassifyNewTrack is called before the volume information is available as well? If so, is there another simple way to kill secondary tracks originating in a given volume? Many thanks in advance, Daniel Greiner

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

1 None: Re: Volume information in UserStackingAction?   (Makoto Asai - 04 Aug, 2005)
 Add Message Add Message
to: "Volume information in UserStackingAction?"

 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 ]