Geant4  10.02
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 44 of file G4ParticleHPWattSpectrum.hh.

Constructor & Destructor Documentation

G4ParticleHPWattSpectrum::G4ParticleHPWattSpectrum ( )
inline

Definition at line 47 of file G4ParticleHPWattSpectrum.hh.

References expm1, and G4Exp().

+ Here is the call graph for this function:

G4ParticleHPWattSpectrum::~G4ParticleHPWattSpectrum ( )
inline

Definition at line 51 of file G4ParticleHPWattSpectrum.hh.

Member Function Documentation

G4double G4ParticleHPWattSpectrum::GetFractionalProbability ( G4double  anEnergy)
inlinevirtual

Implements G4VParticleHPEDis.

Definition at line 62 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 55 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, G4cout, G4endl, G4Log(), 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 71 of file G4ParticleHPWattSpectrum.hh.

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

+ Here is the call graph for this function:

Member Data Documentation

G4double G4ParticleHPWattSpectrum::expm1
private

Definition at line 80 of file G4ParticleHPWattSpectrum.hh.

Referenced by G4ParticleHPWattSpectrum().

G4ParticleHPVector G4ParticleHPWattSpectrum::theApar
private

Definition at line 84 of file G4ParticleHPWattSpectrum.hh.

Referenced by Init(), and Sample().

G4ParticleHPVector G4ParticleHPWattSpectrum::theBpar
private

Definition at line 85 of file G4ParticleHPWattSpectrum.hh.

Referenced by Init(), and Sample().

G4ParticleHPVector G4ParticleHPWattSpectrum::theFractionalProb
private

Definition at line 82 of file G4ParticleHPWattSpectrum.hh.

Referenced by GetFractionalProbability(), and Init().


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