Geant4  10.00.p02
G4ImportanceAlgorithm Class Reference

#include <G4ImportanceAlgorithm.hh>

+ Inheritance diagram for G4ImportanceAlgorithm:
+ Collaboration diagram for G4ImportanceAlgorithm:

Public Member Functions

 G4ImportanceAlgorithm ()
 
virtual ~G4ImportanceAlgorithm ()
 
virtual G4Nsplit_Weight Calculate (G4double ipre, G4double ipost, G4double init_w) const
 
- Public Member Functions inherited from G4VImportanceAlgorithm
 G4VImportanceAlgorithm ()
 
virtual ~G4VImportanceAlgorithm ()
 

Private Member Functions

void Error (const G4String &m) const
 
void Warning (const G4String &m) const
 

Private Attributes

G4bool fWorned
 

Detailed Description

Definition at line 44 of file G4ImportanceAlgorithm.hh.

Constructor & Destructor Documentation

G4ImportanceAlgorithm::G4ImportanceAlgorithm ( )

Definition at line 42 of file G4ImportanceAlgorithm.cc.

G4ImportanceAlgorithm::~G4ImportanceAlgorithm ( )
virtual

Definition at line 46 of file G4ImportanceAlgorithm.cc.

Member Function Documentation

G4Nsplit_Weight G4ImportanceAlgorithm::Calculate ( G4double  ipre,
G4double  ipost,
G4double  init_w 
) const
virtual

Implements G4VImportanceAlgorithm.

Definition at line 51 of file G4ImportanceAlgorithm.cc.

References Error(), G4Nsplit_Weight::fN, G4Nsplit_Weight::fW, fWorned, G4endl, G4UniformRand, and Warning().

+ Here is the call graph for this function:

void G4ImportanceAlgorithm::Error ( const G4String m) const
private

Definition at line 115 of file G4ImportanceAlgorithm.cc.

References FatalException, and G4Exception().

Referenced by Calculate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ImportanceAlgorithm::Warning ( const G4String m) const
private

Definition at line 121 of file G4ImportanceAlgorithm.cc.

References G4Exception(), and JustWarning.

Referenced by Calculate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4bool G4ImportanceAlgorithm::fWorned
mutableprivate

Definition at line 68 of file G4ImportanceAlgorithm.hh.

Referenced by Calculate().


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