Message: Numbering with AssemblyVolumes Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Numbering with AssemblyVolumes 

Forum: Geometry
Date: 16 Feb, 2009
From: <farnea@pd.infn.it>

In my application I am placing volumes in the WorldVolume via the MakeImprint method of G4AssemblyVolume. I can retrieve their numbering correctly via the following instruction:

G4int detCode = aStep->GetPreStepPoint()->GetTouchable()->GetReplicaNumber(depth);

in my sensitive detector class (the value of depth in this case is 1). Using instead MakeImprint to place the same volumes into a box, which is later placed into the WorldVolume, I would expect to retrieve the correct numbering by changing the value of depth to 1, instead I am always getting the same number. Am I doing something clearly wrong or is there a problem somewhere?

                              Cheers,
                                       Enrico

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

1 Warning: Re: Numbering with AssemblyVolumes   (farnea@pd.infn.it - 16 Feb, 2009)
 Add Message Add Message
to: "Numbering with AssemblyVolumes"

 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 ]