Message: Primary particle energy deposition and final momentum Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Primary particle energy deposition and final momentum 

Forum: Event and Track Management
Date: 25 Jun, 2013
From: Tom <Tom>

Hi,

I have a basic sensitive detector with primaries generated with the particle gun. Currently I am only concerned with tracking the primaries and I wish to get the energy deposition from the primary only, not from the secondary interactions. I also wish to get the final momentum of the primary particle from the final hit in the detector. I have tried implementing the TrackInformation, http://geant4.slac.stanford.edu/Tips/event/1.html, but this only gives the initial momentum, before interaction. I have tried filtering through the tracks by using if((parentid == 0) && (trackid == 1)) but this only returns the momentum of the secondary not the primary. I believe this must be a common request so if anyone has any ideas on how to solve this I would be very grateful.

Thanks, Tom

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

1 Feedback: Re: Primary particle energy deposition and final momentum   (Gumplinger Peter - 25 Jun, 2013)
(_ None: Re: Primary particle energy deposition and final momentum   (Tom - 26 Jun, 2013)
(_ Feedback: Re: Primary particle energy deposition and final momentum   (Gumplinger Peter - 26 Jun, 2013)
(_ None: Re: Primary particle energy deposition and final momentum   (Tom - 27 Jun, 2013)
 Add Message Add Message
to: "Primary particle energy deposition and final momentum"

 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 ]