Message: Re: Problem with Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Problem with  

Forum: Event and Track Management
Re: Question Problem with "GetCreatorProcess" (Andrea Barresi)
Re: None Re: Problem with (Andrea Barresi)
Date: 08 Oct, 2017
From: Michael H. Kelsey <Michael H. Kelsey>

On Sun, 08 Oct 2017 17:24:11 GMT, Andrea Barresi wrote:
> I have solved the problem adding a selection on the track ID:
> 
> GetTrackID!=1 (only secondary)
> 
> what does the GetCreatorProcess() return with a primary track?

A null pointer. Primary tracks are not created by processes, but rather by the primary generator action. In general, you should always test for a null pointer before dereferencing.

  -- Michael Kelsey

 Add Message Add Message
to: "Re: Problem with "

 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 ]