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

Feedback Re: Finding  

Forum: Event and Track Management
Re: Question Finding "mother particle" (Kyrre Ness Sjøbæk)
Date: Jul 31, 20:07
From: Gumplinger Peter <Gumplinger Peter>

You are running into the usual problem when Geant4 does not keep G4Tracks persistent after a track has finished tracking. You will need to make G4Trajectories or write G4VUserTrackInformation about the parent recursively into the daughter track. If you had trajectories you could retrieve the 'mother trajectory' with the ParentID. If you work with TrackInformation, the daughter (grand daughter etc) would already have the information about the original-mother ParticleDefinition.

You should be able to find code doing just that somewhere in our G4 examples, documentation, faq, or forum postings.

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

1 Feedback: Re: Finding   (Gumplinger Peter - Jul 31, 20:13)
(_ None: Re: Finding (grand^n)mother particle of a track [solved]   (Kyrre Ness Sjøbæk - Aug 01, 05:57)
 Add Message Add Message
to: "Re: Finding "

 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 ]