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

None UserSteppingAction : getting copy number  

Forum: Event and Track Management
Date: 17 Jul, 2014
From: Victor Meldrew <Victor Meldrew>

Hello All,

I am trying to get the copy no of a replicated volume when a positron decays and there are two gammas. The crystals which are G4MultiFunctionalDetectors are replicated first along the y axis and then along the z axis and finally around a ring to form a cylindrical geometry.

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?

Thanks in advance, Victor.

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

1 Feedback: Re: UserSteppingAction : getting copy number   (Gumplinger Peter - 17 Jul, 2014)
(_ 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: "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 ]