Geant4  10.01.p01
G4ParticleHPArbitaryTab Class Reference

#include <G4ParticleHPArbitaryTab.hh>

+ Inheritance diagram for G4ParticleHPArbitaryTab:
+ Collaboration diagram for G4ParticleHPArbitaryTab:

Public Member Functions

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

Private Attributes

G4ParticleHPVector theFractionalProb
 
G4int nDistFunc
 
G4InterpolationManager theManager
 
G4ParticleHPVectortheDistFunc
 
G4ParticleHPVector theBuffer
 
G4double theLowThreshold [1000]
 
G4double theHighThreshold [1000]
 

Detailed Description

Definition at line 45 of file G4ParticleHPArbitaryTab.hh.

Constructor & Destructor Documentation

G4ParticleHPArbitaryTab::G4ParticleHPArbitaryTab ( )
inline

Definition at line 48 of file G4ParticleHPArbitaryTab.hh.

References theDistFunc.

G4ParticleHPArbitaryTab::~G4ParticleHPArbitaryTab ( )
inline

Definition at line 52 of file G4ParticleHPArbitaryTab.hh.

References theDistFunc.

Member Function Documentation

G4double G4ParticleHPArbitaryTab::GetFractionalProbability ( G4double  anEnergy)
inlinevirtual

Implements G4VParticleHPEDis.

Definition at line 99 of file G4ParticleHPArbitaryTab.hh.

References G4ParticleHPVector::GetY(), and theFractionalProb.

+ Here is the call graph for this function:

void G4ParticleHPArbitaryTab::Init ( std::istream &  theData)
inlinevirtual

Implements G4VParticleHPEDis.

Definition at line 57 of file G4ParticleHPArbitaryTab.hh.

References eV, G4ParticleHPVector::GetEnergy(), G4ParticleHPVector::GetVectorLength(), G4InterpolationManager::Init(), G4ParticleHPVector::Init(), nDistFunc, G4ParticleHPVector::SetLabel(), theDistFunc, theFractionalProb, theHighThreshold, theLowThreshold, and theManager.

+ Here is the call graph for this function:

G4double G4ParticleHPArbitaryTab::Sample ( G4double  anEnergy)
virtual

Implements G4VParticleHPEDis.

Definition at line 35 of file G4ParticleHPArbitaryTab.cc.

References G4cerr, G4endl, G4UniformRand, G4ParticleHPVector::GetLabel(), nDistFunc, G4ParticleHPVector::Sample(), theDistFunc, theHighThreshold, and theLowThreshold.

+ Here is the call graph for this function:

Member Data Documentation

G4int G4ParticleHPArbitaryTab::nDistFunc
private

Definition at line 109 of file G4ParticleHPArbitaryTab.hh.

Referenced by Init(), and Sample().

G4ParticleHPVector G4ParticleHPArbitaryTab::theBuffer
private

Definition at line 112 of file G4ParticleHPArbitaryTab.hh.

G4ParticleHPVector* G4ParticleHPArbitaryTab::theDistFunc
private
G4ParticleHPVector G4ParticleHPArbitaryTab::theFractionalProb
private

Definition at line 108 of file G4ParticleHPArbitaryTab.hh.

Referenced by GetFractionalProbability(), and Init().

G4double G4ParticleHPArbitaryTab::theHighThreshold[1000]
private

Definition at line 116 of file G4ParticleHPArbitaryTab.hh.

Referenced by Init(), and Sample().

G4double G4ParticleHPArbitaryTab::theLowThreshold[1000]
private

Definition at line 115 of file G4ParticleHPArbitaryTab.hh.

Referenced by Init(), and Sample().

G4InterpolationManager G4ParticleHPArbitaryTab::theManager
private

Definition at line 110 of file G4ParticleHPArbitaryTab.hh.

Referenced by Init().


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