Message: Re: Can G4PVReplica be used in constructing detector cells in Parallelworld? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Can G4PVReplica be used in constructing detector cells in Parallelworld? 

Forum: Biasing and Scoring
Re: Question Can G4PVReplica be used in constructing detector cells in Parallelworld? (Colin Huang)
Date: 22 Apr, 2010
From: Seb Galer <Seb Galer>

Hi,

I am relatively new to parallel worlds but maybe I can suggest something. In your PSEnergyDeposit GetIndex function try adding a line:

G4cout << ix << iy << iz; I suspect that you will get 0 0 0 printed. From what I have found so far if you use aStep->GetPreStepPoint()->GetTouchable(); you are getting the touchable for the mass geometry. So your replicated geometries exist but you are not accessing the energy deposited in them (or accessing them at all in fact).

I believe you can use G4PVReplica in parallel worlds for scoring without a problem but the only way I have seen to navigate to them is to use G4Navigator. If anyone could tell me how to use touchables for parallel worlds I would be very grateful and this would be what you want.

I hope this helps identify the problem, sorry that I can't give you a solution.

Seb

 Add Message Add Message
to: "Re: Can G4PVReplica be used in constructing detector cells in Parallelworld?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews