Message: Re: UserSteppingAction : getting copy number Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: UserSteppingAction : getting copy number  

Forum: Event and Track Management
Re: None UserSteppingAction : getting copy number (Victor Meldrew)
Re: Feedback Re: UserSteppingAction : getting copy number (Gumplinger Peter)
Date: 18 Jul, 2014
From: Victor Meldrew <Victor Meldrew>

Hello Peter
  
   Thanks for the message. I think I solved the problem (using trackids), but please do comment if there is a better way to do that.
 
   Here is what is happening with my initial attempt: 2 gammas are part of an event, and they travel away from each other co-linearly, and therefore interact with two diametrically opposite detectors. The way I had written the code is that the copy no of the last hit is recorded. So what I tried was to look at the track id as well and see if that changed.

Victor.

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

1 More: Re: UserSteppingAction : getting copy number   (Victor Meldrew - 18 Jul, 2014)
(_ Feedback: Re: UserSteppingAction : getting copy number   (Gumplinger Peter - 18 Jul, 2014)
(_ None: Re: UserSteppingAction : getting copy number   (michel maire - 18 Jul, 2014)
(_ Idea: Re: UserSteppingAction : getting copy number   (Justin Clinton - 23 Jul, 2014)
 Add Message Add Message
to: "Re: UserSteppingAction : getting copy number "

 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 ]