Message: GetCreatorProcess gives segmentation fault Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None GetCreatorProcess gives segmentation fault 

Forum: Event and Track Management
Date: 17 Mar, 2010
From: Marion Bug <Marion Bug>

I am using the standard low energy electromagnetic processes together with the G4SensitiveDetector where I would like to retreive the process names of the current process and the creator process (particularly the first interaction of my primary gamma).

I am able to get the current process by aStep -> GetPostStepPoint()->GetProcessDefinedStep()->GetProcessName();

But when I try to get the creator process with aStep->GetTrack()->GetCreatorProcess()->GetProcessName(); there is a segmentation fault.

I thought about including a TrackingAction class to retreive this info, but would like to understand first, where the problem is with using the GetCreatorProcess in the SensitiveDetector class.

Does anyone know?

Thank you :)

 Add Message Add Message
to: "GetCreatorProcess gives segmentation fault"

 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 ]