Message: Re: G4SolidStore Segmentation Error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: G4SolidStore Segmentation Error 

Keywords: G4SolidsStore
Forum: Geometry
Re: None G4SolidStore Segmentation Error (Barbara)
Date: 14 Aug, 2007
From: Gabriele Cosmo <Gabriele Cosmo>

> I am trying to implement a messenger class to change the geometry of
> my detector. I've narrowed the segmentation error down to the line:
> G4SolidStore::GetInstance()->Clean();
> I find that I can ignore the line and still be able to update my
> detector without problems. What is G4SolidStore and any ideas why
> clearing it results in segmentation error?

You must take special care in deleting the solids store, since this
will remove -all- solids previously defined in your setup eventually
invalidating volumes and the portion of geometry which did not change
through your messenger. You can avoid deleting the store, and instead
delete just the solids you no longer need.

Cheers, Gabriele

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

 Add Message Add Message
to: "Re: G4SolidStore Segmentation Error"

 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 ]