Geant4  10.00.p03
G4WeightWindowAlgorithm Class Reference

#include <G4WeightWindowAlgorithm.hh>

+ Inheritance diagram for G4WeightWindowAlgorithm:
+ Collaboration diagram for G4WeightWindowAlgorithm:

Public Member Functions

 G4WeightWindowAlgorithm (G4double upperLimitFaktor=5, G4double survivalFaktor=3, G4int maxNumberOfSplits=5)
 
virtual ~G4WeightWindowAlgorithm ()
 
virtual G4Nsplit_Weight Calculate (G4double init_w, G4double lowerWeightBound) const
 
- Public Member Functions inherited from G4VWeightWindowAlgorithm
 G4VWeightWindowAlgorithm ()
 
virtual ~G4VWeightWindowAlgorithm ()
 

Private Attributes

G4double fUpperLimitFaktor
 
G4double fSurvivalFaktor
 
G4int fMaxNumberOfSplits
 

Detailed Description

Definition at line 58 of file G4WeightWindowAlgorithm.hh.

Constructor & Destructor Documentation

G4WeightWindowAlgorithm::G4WeightWindowAlgorithm ( G4double  upperLimitFaktor = 5,
G4double  survivalFaktor = 3,
G4int  maxNumberOfSplits = 5 
)

Definition at line 40 of file G4WeightWindowAlgorithm.cc.

G4WeightWindowAlgorithm::~G4WeightWindowAlgorithm ( )
virtual

Definition at line 48 of file G4WeightWindowAlgorithm.cc.

Member Function Documentation

G4Nsplit_Weight G4WeightWindowAlgorithm::Calculate ( G4double  init_w,
G4double  lowerWeightBound 
) const
virtual

Implements G4VWeightWindowAlgorithm.

Definition at line 54 of file G4WeightWindowAlgorithm.cc.

References fMaxNumberOfSplits, G4Nsplit_Weight::fN, fSurvivalFaktor, fUpperLimitFaktor, G4Nsplit_Weight::fW, G4UniformRand, and G4INCL::Math::max().

+ Here is the call graph for this function:

Member Data Documentation

G4int G4WeightWindowAlgorithm::fMaxNumberOfSplits
private

Definition at line 77 of file G4WeightWindowAlgorithm.hh.

Referenced by Calculate().

G4double G4WeightWindowAlgorithm::fSurvivalFaktor
private

Definition at line 76 of file G4WeightWindowAlgorithm.hh.

Referenced by Calculate().

G4double G4WeightWindowAlgorithm::fUpperLimitFaktor
private

Definition at line 75 of file G4WeightWindowAlgorithm.hh.

Referenced by Calculate().


The documentation for this class was generated from the following files: