Message: Re: Cleaning Geometry Stores Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: Cleaning Geometry Stores 

Forum: Geometry
Re: Question Cleaning Geometry Stores (John Felde)
Date: 12 Apr, 2010
From: Gabriele Cosmo <Gabriele Cosmo>

Hi John,

> I thought this was odd,
> that we would clean the physical store before the logical, and before
> the solid. In my mind it should be done the other way around, from more
> basic geometry to more complicated. So I switched the ordering and to my
> surprise it seemed to work. I was able to make the change to the
> geometry just fine and the rest of the program ran.
> Can anyone enlighten me as to why this seems to have worked, and/or
> comment on why the original order is actually better, or if it matters
> at all.

the deletion of the stores - if really needed - should follow the inverse order
of creation, to avoid situations of memory corruption. In your case, you should
be anyhow really careful in performing such operation, since it seems you're also
using reflected entities... If not necessary, you should avoid to delete all
solids and logical volumes.

Cheers, Gabriele

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

1 More: Re: Cleaning Geometry Stores   (John Felde - 12 Apr, 2010)
(_ Feedback: Re: Cleaning Geometry Stores   (Gabriele Cosmo - 13 Apr, 2010)
 Add Message Add Message
to: "Re: Cleaning Geometry Stores"

 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 ]