Message: Re: specific secondary particle tracking Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: specific secondary particle tracking  

Forum: Event and Track Management
Re: None specific secondary particle tracking (jerome samarati)
Date: 28 Jun, 2010
From: Gumplinger Peter <Gumplinger Peter>

aStep->GetTrack()->GetParentID()>0 is a secondary

aStep->GetTrack()->GetDynamicParticle()->GetDefinition()->GetParticleName()) == "e-" is an electron

You can attach a G4VUserTrackInformation to a track in which you can keep tallies of the tracking history. For an example, see examples/extended/optical/LXe LXeUserTrackInformation. One way to keep track about which track deposited what energy is to define a G4VHit class which contains this information.

 Add Message Add Message
to: "Re: specific secondary particle tracking "

 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 ]