Message: Re: 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

Idea Re: Primary Vertex Information to Track Information, and question about multiple parent tracks 

Forum: Event and Track Management
Re: Question Primary Vertex Information to Track Information, and question about multiple parent tracks (Young)
Re: News Re: Primary Vertex Information to Track Information, and question about multiple parent tracks (Michael H. Kelsey)
Re: None Re: Primary Vertex Information to Track Information, and question about multiple parent tracks (Young)
Date: 15 Aug, 2013
From: Gumplinger Peter <Gumplinger Peter>

> I see. What about assigning UserTrackInformation to a track based on the
> primary's UserPrimaryVertexInformation? Is using PrimaryTransformer the
> proper way to do this?

I am using the LXR browser and find that unfortunately none of the G4 examples uses G4VUserPrimaryVertexInformation - presumably in UserPrimaryGeneratorAction.

However, I do not advise modifying core G4 code (PrimaryTransformer) for your purposes. I believe you should be able to extract a primary vertex's information from the G4Track that you have access to in StackingAction::ClassifyNewTrack or TrackingAction::PreUserTrackingAction. In those methods you can then instantiate a UserTrackInformation and shove the information from the vertex to the track.

 Add Message Add Message
to: "Re: 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 ]