Message: Finding The component Where A Particle Was Originated Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Finding The component Where A Particle Was Originated 

Forum: Event and Track Management
Re: Question Finding The Origin Of A Particle - Assigning a LATCH Variable to a Particle (Ben Hug)
Re: Feedback Re: Finding The Origin Of A Particle - Assigning a LATCH Variable to a Particle (Gumplinger Peter)
Date: 01 Jun, 2016
From: Maura E.M. <Maura E.M.>

Can I get back to the component where a particle was originated through the data dumped in the phase space file ?

I use Topas. I assume the data available in Topas output phase space file are the same as in GEANT4.
Browsing through Topas User Guide I read the following options are available:

b:Sc/MyScorer/IncludeTimeOfFlight = "True" # Time of Flight of this  
                                           # particle from start of history to  
                                           # scoring plane
b:Sc/MyScorer/IncludeEventID = "True"      
b:Sc/MyScorer/IncludeTrackID = "True"
b:Sc/MyScorer/IncludeParentID = "True"     # Track ID of parent particle
b:Sc/MyScorer/IncludeCharge = "True"
b:Sc/MyScorer/IncludeVertexInfo = "True"   # Initial KE, Position and Momentum

Just wondering if, through the data available in the phase space file, it is possible for each recorded particle to find out the COMPONENT and EVENT that generated the particle itself or its ancestors.

Thank you so much.
Best regards,
Mauede

On Wed, 12 Dec 2012 19:15:30 GMT, Gumplinger Peter wrote:
> Hi Ben,
> 
> Take a look at UserTrackInformation:
> 
> http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch06s03.html#sect.UInfoCls.UTkInfo
> 
> and the tips at:
> 
> http://geant4.slac.stanford.edu/Tips/
> 
> under Event & track
> 
> To see how this is used, you can take advantage of the LXR Browser:
> 
> http://www-geant4.kek.jp/lxr/search?string=UserTrackInformation
> 
> and look for the examples
> 
> Cheers, Peter
> 




 Add Message Add Message
to: "Finding The component Where A Particle Was Originated"

 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 ]