ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/biasing/include/G4WeightWindowAlgorithm.hh>
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 |
Definition at line 53 of file G4WeightWindowAlgorithm.hh.
View newest version in sPHENIX GitHub at line 53 of file G4WeightWindowAlgorithm.hh
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
|
virtual |
Definition at line 43 of file G4WeightWindowAlgorithm.cc.
View newest version in sPHENIX GitHub at line 43 of file G4WeightWindowAlgorithm.cc
|
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.
|
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().
|
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().
|
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().