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

None Re: TrackID 

Forum: Event and Track Management
Re: Question TrackID (Takefumi Sora)
Date: 09 Jan, 2003
From: Vladimir Ivanchenko <Vladimir Ivanchenko>

On Wed, 8 Jan 2003, Takefumi Sora wrote:

> *** Discussion title: Event and Track Management
> Email replies to must include:
>   In-Reply-To: <"/eventtrackmanage/68">
>   Subject: ...change this to be about your reply.
> Hi there
> We usually get some useful information from prestep point.
> But when there are many tracks, I can not tell whose track information it is.
> As far as I examined G4StepPoint class, there do not seem to
> be a fuction to get TrackID.
> How can I extract TrackID information?
> Takefumi SORA


TrackID is the member of G4Track, so you have to have an access to G4Track
somehow, for example, 

G4Step* step
int trackID = step->GetTrack()->GetTrackID();


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

 Add Message Add Message
to: "Re: TrackID"

 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 ]