Message: Re: Parameterised random size Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: Parameterised random size 

Forum: Geometry
Re: None Parameterised random size
Re: More Re: Parameterised random size (Gabriele Cosmo)
Re: None Re: Parameterised random size
Date: 02 Dec, 2016
From: Gabriele Cosmo <Gabriele Cosmo>

You would have to use different logical volumes for spheres of different dimensions... and
may want to exploit the concept of G4MultiFunctionalDetector.
The alternative can be to still use parameterisations, but make such that you pre-generate
the random indexes for each event to be used in your parameterisation (instead of randomly
generating them directly in the parameterisation functions), notifying the run-manager that
the geometry changes at the beginning of each event.

On Fri, 02 Dec 2016 10:19:20 GMT, Synthex wrote:
> Thank you very much,
> I want each volume to be sensitive and behave as a whole: I don't care
> about what happen in bubble 5 or 89, just the ensemble (like energy
> deposited in the sum of all bubbles). For this, assume all volumes are
> identical. To implement this, should I generate as much logical
> volume+placement and add each of them in my sensitive detector, or is
> there less CPU consuming function?
> Here is a picture of the desired geometry, but with a single logical
> detector
>    Attachment:
> Thank you again

 Add Message Add Message
to: "Re: Parameterised random size"

 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 ]