Geant4  10.01.p03
G4ParticleHPWattSpectrum Class Reference

#include <G4ParticleHPWattSpectrum.hh>

+ Inheritance diagram for G4ParticleHPWattSpectrum:
+ Collaboration diagram for G4ParticleHPWattSpectrum:

Public Member Functions

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

Private Member Functions

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

Private Attributes

G4double expm1
 
G4ParticleHPVector theFractionalProb
 
G4ParticleHPVector theApar
 
G4ParticleHPVector theBpar
 

Detailed Description

Definition at line 43 of file G4ParticleHPWattSpectrum.hh.

Constructor & Destructor Documentation

G4ParticleHPWattSpectrum::G4ParticleHPWattSpectrum ( )
inline

Definition at line 46 of file G4ParticleHPWattSpectrum.hh.

References expm1.

G4ParticleHPWattSpectrum::~G4ParticleHPWattSpectrum ( )
inline

Definition at line 50 of file G4ParticleHPWattSpectrum.hh.

Member Function Documentation

G4double G4ParticleHPWattSpectrum::GetFractionalProbability ( G4double  anEnergy)
inlinevirtual

Implements G4VParticleHPEDis.

Definition at line 61 of file G4ParticleHPWattSpectrum.hh.

References G4ParticleHPVector::GetY(), and theFractionalProb.

+ Here is the call graph for this function:

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

Implements G4VParticleHPEDis.

Definition at line 54 of file G4ParticleHPWattSpectrum.hh.

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

+ Here is the call graph for this function:

G4double G4ParticleHPWattSpectrum::Sample ( G4double  anEnergy)
virtual

Implements G4VParticleHPEDis.

Definition at line 35 of file G4ParticleHPWattSpectrum.cc.

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

+ Here is the call graph for this function:

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

Definition at line 70 of file G4ParticleHPWattSpectrum.hh.

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

+ Here is the call graph for this function:

Member Data Documentation

G4double G4ParticleHPWattSpectrum::expm1
private

Definition at line 79 of file G4ParticleHPWattSpectrum.hh.

Referenced by G4ParticleHPWattSpectrum().

G4ParticleHPVector G4ParticleHPWattSpectrum::theApar
private

Definition at line 83 of file G4ParticleHPWattSpectrum.hh.

Referenced by Init(), and Sample().

G4ParticleHPVector G4ParticleHPWattSpectrum::theBpar
private

Definition at line 84 of file G4ParticleHPWattSpectrum.hh.

Referenced by Init(), and Sample().

G4ParticleHPVector G4ParticleHPWattSpectrum::theFractionalProb
private

Definition at line 81 of file G4ParticleHPWattSpectrum.hh.

Referenced by GetFractionalProbability(), and Init().


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