Message: Re: Bias first, but only first, interaction? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Bias first, but only first, interaction? 

Forum: Biasing and Scoring
Re: None Bias first, but only first, interaction? (Jason Brodsky)
Re: None Re: Bias first, but only first, interaction? (Marc Verderi)
Date: 02 Feb, 2018
From: Marc Verderi <Marc Verderi>

Hi Jason,

Yes, G4BOptnForceFreeFlight is implicitly enabled by the biasing 
operator G4BOptrForceCollision (implemented in 
geant4/source/processes/biasing/generic). As said in the readme, the 
logic of this operator is quite complex. This would be possible to 
define an other and quite simpler biasing operator, making only the 
force collision part, if you need to always discard the free flight part.



On 03/02/2018 00:53, Jason Brodsky wrote:
> Hi Marc,
> GB02's Readme says that it uses G4OptnForceFreeFlight, but I don't see 
> that implemented in the actual code (searching the code for that class 
> name). Is it implicitly enabled by some other step?
> Thanks,
> Jason
> On Fri, Feb 2, 2018, 9:41 AM Jason Brodsky < 
> <>> wrote:
>     Hi Marc,
>     That sounds just like what I'm looking for. I was looking to do
>     the forced interaction at a given point, but I can of course just
>     define a small volume and do it that way. Killing the split copy
>     should be straightfoward; I'll let you know if I can't figure out
>     how to identify it.
>     Thanks,
>     Jason
>     On Fri, Feb 2, 2018 at 8:32 AM, Marc Verderi <
>     <>> wrote:
>         *** Discussion title: Biasing and Scoring
>         Hi Jason,
>         Sorry for the slow answer.
>         When you say you want to force the interaction at a given
>         location, is
>         this at a given point or inside a given volume ?
>         If this is inside a given volume,
>         examples/extended/biasing/GB02 should
>         give you something rather close to what you need. This example
>         implements a forced collision in a scheme similar to the MCNP
>         one : when
>         the track enters the volume, one copy is made and is having an
>         interaction forced inside the volume, an other copy is done,
>         flying
>         though the volume without interaction. In your case I
>         understand you are
>         not interested in this second copy. If so, we may iterate to
>         see how to
>         deal with that (the simplest solution would be to kill this second
>         copy).
>          Cheers,
>          Marc
>         -------------------------------------------------------------
>         Visit this GEANT4 at
>         <> message (to reply or
>         unsubscribe) at:

 [ MIME part of type text/html without a name stripped ]

 Add Message Add Message
to: "Re: Bias first, but only first, interaction?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews