Message: How does work the method G4BooleanRand() Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How does work the method G4BooleanRand() 

Forum: Documentation and Examples
Date: 10 Feb, 2003
From: Nuno Fiuza de Barros <Nuno Fiuza de Barros>

I'm trying to make a small optical simulation and in the class G4OpBoundaryProcess there's the following code:

    if( !G4BooleanRand(theReflectivity) ) 

What is suposed to do?
If theReflectivity has the value 1.0 it will execute this code or not?

Thanks in advance

Nuno Barros

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

1 Feedback: Re: How does work the method G4BooleanRand()   (Peter Gumplinger - 14 Feb, 2003)
 Add Message Add Message
to: "How does work the method G4BooleanRand()"

 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 ]