Message: information on the original primary particle Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None information on the original primary particle 

Forum: Event and Track Management
Date: 19 Oct, 2007
From: Eva <Eva>

Hello, in my simulations i need information on the original primary particles, so i have implemented the G4VUserTrackInformation as it is in http://geant4.slac.stanford.edu/Tips/event/1.html, but when i try to get the information , i get a segmentation fault. am i doing something wrong?

In my UserSteppingAction i have the following lines:

#include "T01TrackInformation.hh"
.
.
.
  T01TrackInformation* info = (T01TrackInformation*)(aStep->GetTrack()->GetUserInformation());
  G4cout << " Original Track ID " << info->GetOriginalTrackID() << G4endl;

Thank you.

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

1 None: RE: information on the original primary particle   (Makoto Asai - 19 Oct, 2007)
 Add Message Add Message
to: "information on the original primary particle"

 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 ]