Message: Re: Final step information for parent particle Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Final step information for parent particle 

Forum: Event and Track Management
Re: Question Final step information for parent particle (Cristian Bungau)
Re: None Re: Final step information for parent particle (Tom Roberts)
Re: Question Re: Final step information for parent particle (Cristian Bungau)
Re: None Re: Final step information for parent particle (Tom Roberts)
Re: None Re: Final step information for parent particle (Tom Roberts)
Re: Ok Re: Final step information for parent particle (Cristian Bungau)
Re: Feedback Re: Final step information for parent particle (Gumplinger Peter)
Date: 20 May, 2009
From: Cristian Bungau <Cristian Bungau>

Dear Peter,

Thank you very much for this. Being able to do it in SteppingAction is exactly what I was hoping for, but I was almost certain it would not be possible. So thank you for this. Now comes a real novice question:

In my SteppingAction I count the positive muons entering a muon beam window, and this is done just as they enter that volume (that's why I'm doing it in my SteppingAction - I check if preStepPoint is outside volume and postStepPoint is inside volume). Now that I can set the track information for the parent (decaying) positive pion in my SteppingAction, when the (surface) muon enters the volume of interest, how can I check (still in my SteppingAction) if its parent track had that information set to it? Something like:

if ( theTrack-> ...GetParentTrack... ->GetUserInformation()!=0 )

Or do I have to go back and attach a TrackInformation to every track in PreUserTrackingAction ?

Thank you,

Best regards,

Cristian

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

1 Ok: Re: Final step information for parent particle   (Cristian Bungau - 20 May, 2009)
 Add Message Add Message
to: "Re: Final step information for parent 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 ]