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

Feedback Re: Primary particle energy deposition and final momentum 

Forum: Event and Track Management
Re: Question Primary particle energy deposition and final momentum (Tom)
Date: 25 Jun, 2013
From: Gumplinger Peter <Gumplinger Peter>

Hi Tom,

In your SteppingAction (or ProcessHits):

> if((parentid == 0) && (trackid == 1))

will identify the first, and if you have only one, the only primary track in the event. If you claim that's not the case then you are either doing something wrong or you are mistaken.

Peter

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

1 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: "Re: 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 ]