Geant4  10.01.p03
G4RandomTools.hh File Reference
#include <CLHEP/Units/PhysicalConstants.h>
#include "globals.hh"
#include "Randomize.hh"
#include "G4RandomDirection.hh"
+ Include dependency graph for G4RandomTools.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

G4ThreeVector G4LambertianRand (const G4ThreeVector &normal)
 
G4ThreeVector G4PlaneVectorRand (const G4ThreeVector &normal)
 

Function Documentation

G4ThreeVector G4LambertianRand ( const G4ThreeVector normal)
inline

Definition at line 55 of file G4RandomTools.hh.

References G4RandomDirection(), and G4UniformRand.

Referenced by G4OpBoundaryProcess::DoReflection().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ThreeVector G4PlaneVectorRand ( const G4ThreeVector normal)
inline

Definition at line 82 of file G4RandomTools.hh.

References G4UniformRand.