Message: Howto make G4Track information persistent? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Howto make G4Track information persistent? 

Keywords: G4Track
Forum: Event and Track Management
Date: 06 Aug, 2003
From: Mark Polsen <mpolsen@citrus.ucr.edu>

My detector geometry has a tracker and calorimeter as sensitive volumes for recording hit information. I would like to be able to store G4Track information on interactions only in sensitive volumes. For example, when an electron is created in my tracker from a Compton interaction, I want to store the position, energy, momentum, ... of the parent particle that created the electron.

I've noticed in the Developer Guide that G4Track is a transient class and that I can make my own Tracjectory class for persistency. After looking through the Geant4 code, I'm not sure if I should use the G4VTrajectory or G4VUserTrackinformation for storing my track info.

Once my track information is stored, how can I access it at the end of the event?

Thanks in advance!

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

1 None: Re: Howto make G4Track information persistent?   (Makoto Asai - 09 Aug, 2003)
(_ Question: Re: Howto make G4Track information persistent?   (Bob Weller - 22 Sep, 2003)
 Add Message Add Message
to: "Howto make G4Track information persistent?"

 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 ]