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

Feedback Re: UserSteppingAction : getting copy number  

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

Hello Victor,

> I implemented the stepping action and in the UserSteppingAction class I
> am getting the copy no thusly:
> 
> aStep->GetPreStepPoint()->GetTouchableHandle()->GetCopyNumber(depth);
> 
> However this gives the correct copy numbers for just one of the two
> gammas. How do I get where the other gamma interacts?

UserSteppingAction doesn't care what aStep it is dealing with. It should return the correct copy number for any step of any track. Are you saying that the other gamma isn't tracked? And what is the logic that you have around this line?

Peter

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

1 None: Re: UserSteppingAction : getting copy number   (Victor Meldrew - 18 Jul, 2014)
(_ 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 ]