Geant4  10.00.p03
G4NeutronHPWattSpectrum Class Reference

#include <G4NeutronHPWattSpectrum.hh>

+ Inheritance diagram for G4NeutronHPWattSpectrum:
+ Collaboration diagram for G4NeutronHPWattSpectrum:

Public Member Functions

 G4NeutronHPWattSpectrum ()
 
 ~G4NeutronHPWattSpectrum ()
 
void Init (std::istream &aDataFile)
 
G4double GetFractionalProbability (G4double anEnergy)
 
G4double Sample (G4double anEnergy)
 
- Public Member Functions inherited from G4VNeutronHPEDis
 G4VNeutronHPEDis ()
 
virtual ~G4VNeutronHPEDis ()
 

Private Member Functions

G4double Watt (G4double anEnergy, G4double a, G4double b)
 

Private Attributes

G4double expm1
 
G4NeutronHPVector theFractionalProb
 
G4NeutronHPVector theApar
 
G4NeutronHPVector theBpar
 

Detailed Description

Definition at line 42 of file G4NeutronHPWattSpectrum.hh.

Constructor & Destructor Documentation

G4NeutronHPWattSpectrum::G4NeutronHPWattSpectrum ( )
inline

Definition at line 45 of file G4NeutronHPWattSpectrum.hh.

References expm1.

G4NeutronHPWattSpectrum::~G4NeutronHPWattSpectrum ( )
inline

Definition at line 49 of file G4NeutronHPWattSpectrum.hh.

Member Function Documentation

G4double G4NeutronHPWattSpectrum::GetFractionalProbability ( G4double  anEnergy)
inlinevirtual

Implements G4VNeutronHPEDis.

Definition at line 60 of file G4NeutronHPWattSpectrum.hh.

References G4NeutronHPVector::GetY(), and theFractionalProb.

+ Here is the call graph for this function:

void G4NeutronHPWattSpectrum::Init ( std::istream &  aDataFile)
inlinevirtual

Implements G4VNeutronHPEDis.

Definition at line 53 of file G4NeutronHPWattSpectrum.hh.

References eV, G4NeutronHPVector::Init(), theApar, theBpar, and theFractionalProb.

+ Here is the call graph for this function:

G4double G4NeutronHPWattSpectrum::Sample ( G4double  anEnergy)
virtual

Implements G4VNeutronHPEDis.

Definition at line 33 of file G4NeutronHPWattSpectrum.cc.

References a, eV, G4UniformRand, G4NeutronHPVector::GetY(), G4INCL::Math::max(), theApar, and theBpar.

+ Here is the call graph for this function:

G4double G4NeutronHPWattSpectrum::Watt ( G4double  anEnergy,
G4double  a,
G4double  b 
)
inlineprivate

Definition at line 69 of file G4NeutronHPWattSpectrum.hh.

References G4INCL::KinematicsUtils::energy(), and eV.

+ Here is the call graph for this function:

Member Data Documentation

G4double G4NeutronHPWattSpectrum::expm1
private

Definition at line 78 of file G4NeutronHPWattSpectrum.hh.

Referenced by G4NeutronHPWattSpectrum().

G4NeutronHPVector G4NeutronHPWattSpectrum::theApar
private

Definition at line 82 of file G4NeutronHPWattSpectrum.hh.

Referenced by Init(), and Sample().

G4NeutronHPVector G4NeutronHPWattSpectrum::theBpar
private

Definition at line 83 of file G4NeutronHPWattSpectrum.hh.

Referenced by Init(), and Sample().

G4NeutronHPVector G4NeutronHPWattSpectrum::theFractionalProb
private

Definition at line 80 of file G4NeutronHPWattSpectrum.hh.

Referenced by GetFractionalProbability(), and Init().


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