Message: Re: get secondary particle info from track Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: get secondary particle info from track 

Forum: Event and Track Management
Re: Question get secondary particle info from track (Dragos Constantin)
Re: Agree Re: get secondary particle info from track (Gumplinger Peter)
Date: 20 Apr, 2010
From: Dragos Constantin <Dragos Constantin>

Thank you Peter for your message. It turns out my problem is not that simple. In fact I have to determine the photons which are only transported from their source to the detector (which is a thin phase space plane). The function GetParentID() will tel us if the particle is a primary and not if it was scattered. I mean if a primary particle gets scattered it will stay a primary particle. Am I right? My problem uses 50 keV photons which are highly unlikely to generate secondary particles.

What will be the strategy to determine the scattered photons from the ones that are only transported? To me it seems expensive to look at the history of each track and discover if besides transport I have something else along the track, but this is the only alternatiove that I have discovered so far.

Thank you.

Dragos

On Mon, 19 Apr 2010 20:16:46 GMT, Gumplinger Peter wrote:

> Yes,
> 
> theStep->GetTrack()->GetParentID() == 0
> 
> means that the track is a primary and hence has no parent.
> 

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

1 None: Re: get secondary particle info from track   (Robert D. Penny - 20 Apr, 2010)
(_ Agree: Re: get secondary particle info from track   (Gumplinger Peter - 20 Apr, 2010)
 Add Message Add Message
to: "Re: get secondary particle info from track"

 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 ]