ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4WeightWindowAlgorithm Class Reference

#include <geant4/tree/geant4-10.6-release/source/geometry/biasing/include/G4WeightWindowAlgorithm.hh>

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

Public Member Functions

 G4WeightWindowAlgorithm (G4double upperLimitFactor=5, G4double survivalFactor=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 fUpperLimitFactor = 0.0
 
G4double fSurvivalFactor = 0.0
 
G4int fMaxNumberOfSplits = 0
 

Detailed Description

Definition at line 53 of file G4WeightWindowAlgorithm.hh.

View newest version in sPHENIX GitHub at line 53 of file G4WeightWindowAlgorithm.hh

Constructor & Destructor Documentation

G4WeightWindowAlgorithm::G4WeightWindowAlgorithm ( G4double  upperLimitFactor = 5,
G4double  survivalFactor = 3,
G4int  maxNumberOfSplits = 5 
)

Definition at line 34 of file G4WeightWindowAlgorithm.cc.

View newest version in sPHENIX GitHub at line 34 of file G4WeightWindowAlgorithm.cc

G4WeightWindowAlgorithm::~G4WeightWindowAlgorithm ( )
virtual

Definition at line 43 of file G4WeightWindowAlgorithm.cc.

View newest version in sPHENIX GitHub at line 43 of file G4WeightWindowAlgorithm.cc

Member Function Documentation

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

Implements G4VWeightWindowAlgorithm.

Definition at line 48 of file G4WeightWindowAlgorithm.cc.

View newest version in sPHENIX GitHub at line 48 of file G4WeightWindowAlgorithm.cc

References fMaxNumberOfSplits, G4Nsplit_Weight::fN, fSurvivalFactor, fUpperLimitFactor, G4Nsplit_Weight::fW, G4UniformRand, max, and r.

Member Data Documentation

G4int G4WeightWindowAlgorithm::fMaxNumberOfSplits = 0
private

Definition at line 72 of file G4WeightWindowAlgorithm.hh.

View newest version in sPHENIX GitHub at line 72 of file G4WeightWindowAlgorithm.hh

Referenced by Calculate().

G4double G4WeightWindowAlgorithm::fSurvivalFactor = 0.0
private

Definition at line 71 of file G4WeightWindowAlgorithm.hh.

View newest version in sPHENIX GitHub at line 71 of file G4WeightWindowAlgorithm.hh

Referenced by Calculate().

G4double G4WeightWindowAlgorithm::fUpperLimitFactor = 0.0
private

Definition at line 70 of file G4WeightWindowAlgorithm.hh.

View newest version in sPHENIX GitHub at line 70 of file G4WeightWindowAlgorithm.hh

Referenced by Calculate().


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