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)
Re: More Re: Cleaning Geometry Stores (Gabriele Cosmo)
Date: 12 Apr, 2010
From: John Felde <John Felde>

Thanks Gabriele,

I think I found a middle ground which works and I thought you could comment on this solution.

I went through all permutations of order and for some reason it seems that cleaning the physical stores before the logical ones always gives me the aforementioned error. If, however, I simply leave the physical store alone everything seems fine. Based on your reply this seems to be fine, but I wanted to make sure.

Is it OK to not clean the physical stores and still clean the logical and solid stores?

Thanks again, John On Mon, 12 Apr 2010 09:23:07 GMT, Gabriele Cosmo wrote:

> 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 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 ]