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

Question Cleaning Geometry Stores 

Forum: Geometry
Date: 11 Apr, 2010
From: John Felde <John Felde>

Hi All,

I was seeing this error after changing my geometry through a messenger.

ERROR - G4ReflectionFactory::CreateReflectedLV(..): WCspecialBarrelBorderCell2
       Cannot be applied to an already reflected volume !

which struck me as odd since we were clearing the geometry stores before making the change like this:

G4GeometryManager::GetInstance()->OpenGeometry(); G4PhysicalVolumeStore::GetInstance()->Clean(); G4LogicalVolumeStore::GetInstance()->Clean(); G4SolidStore::GetInstance()->Clean();

Which is how it is done in a number of examples. 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.

Thanks, John

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

1 More: Re: Cleaning Geometry Stores   (Gabriele Cosmo - 12 Apr, 2010)
(_ 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: "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 ]