Message: Primary Vertex Information to Track Information, and question about multiple parent tracks Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Primary Vertex Information to Track Information, and question about multiple parent tracks 

Forum: Event and Track Management
Date: 09 Aug, 2013
From: Young <Young>

Hello,

I am currently running a calorimeter simulation in Geant4 using HepMC event records as the input. (The HepMC event record is produced by a Pythia generator, separate to my simulation.)

My goal is to record which HepMC GenParticle each track originated from. As far as I can tell, I could modify the existing PrimaryTransformer class (and the EventManager class), so that it takes UserPrimaryVertexInformation and converts it into UserTrackInformation, attaching it to the corresponding produced tracks. Is there a better way to do this?

My second question is regarding the ParentID of a track that is produced at the interaction vertex of two or more particles, for example e+e- annihilation. For each of the two gammas produced by e+e- annihilation, you could consider either the e+ or the e- track as the "parent track". How does Geant4 decide which track to assign the gamma track? In other words, if I called the GetParentID() method for one of the gamma tracks, which TrackID would it return, the e+ or the e-?

Thanks in advance for your help.

-Young

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

1 News: Re: Primary Vertex Information to Track Information, and question about multiple parent tracks   (Michael H. Kelsey - 10 Aug, 2013)
(_ None: Re: Primary Vertex Information to Track Information, and question about multiple parent tracks   (Young - 11 Aug, 2013)
1 Idea: Re: Primary Vertex Information to Track Information, and question about multiple parent tracks   (Gumplinger Peter - 15 Aug, 2013)
2 None: Re: Primary Vertex Information to Track Information, and question about multiple parent tracks   (Marek Szuba - 19 Aug, 2013)
 Add Message Add Message
to: "Primary Vertex Information to Track Information, and question about multiple parent tracks"

 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 ]