Message: Re: Logical volume mass calculation -- non-identical results? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Logical volume mass calculation -- non-identical results? 

Forum: Geometry
Re: Question Logical volume mass calculation -- non-identical results? (Michael H. Kelsey)
Re: None Re: Logical volume mass calculation -- non-identical results? (John Apostolakis)
Date: 16 Feb, 2011
From: Michael H. Kelsey <Michael H. Kelsey>

John Apostolakis writes:
> On 2/16/11 7:09 AM, Michael H. Kelsey wrote:
> > In order to assign unique copy-numbers to each of the SDs
> > across my whole geometry, I instantiate and place multiple copies,
> > rather than doing parametrized placements or something similar.
> 
> The copy numbers is associated with the physical volume.  So if two 
> volumes share the same shape, you can share solid and logical volume and 
> still give them an individual id number when you create a placement volume.

Right!  The issue I've got is that each inner crystal detector needs a
unique ID (for which we're using the GetReplicaNumber()) which spans the
tower assemblies.  If I make one tower and place it many times, the crystals
inside will share copy numbers (e.g., tower #3 will have a crystal #5, and
so will tower #7).

I can resolve that in the SD code by computing the unique ID by asking both
for the current Touchable's replica number, as well as its mother's number.

That would also reduce the ugly memory bloat I'm generating now :-/

      -- Mike

 Add Message Add Message
to: "Re: Logical volume mass calculation -- non-identical results?"

 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 ]