Geant4  10.00.p02
G4PenelopeSamplingData Class Reference

#include <G4PenelopeSamplingData.hh>

+ Collaboration diagram for G4PenelopeSamplingData:

Public Member Functions

 G4PenelopeSamplingData (G4int npoints=150)
 
 ~G4PenelopeSamplingData ()
 
void AddPoint (G4double x0, G4double pac0, G4double a0, G4double b0, size_t ITTL0, size_t ITTU0)
 
size_t GetNumberOfStoredPoints ()
 
void Clear ()
 
void DumpTable ()
 
G4double GetX (size_t index)
 
G4double GetPAC (size_t index)
 
G4double GetA (size_t index)
 
G4double GetB (size_t index)
 
G4double SampleValue (G4double rndm)
 

Private Member Functions

G4PenelopeSamplingDataoperator= (const G4PenelopeSamplingData &right)
 
 G4PenelopeSamplingData (const G4PenelopeSamplingData &)
 

Private Attributes

G4DataVectorx
 
G4DataVectorpac
 
G4DataVectora
 
G4DataVectorb
 
std::vector< size_t > * ITTL
 
std::vector< size_t > * ITTU
 
G4int np
 

Detailed Description

Definition at line 49 of file G4PenelopeSamplingData.hh.

Constructor & Destructor Documentation

G4PenelopeSamplingData::G4PenelopeSamplingData ( G4int  npoints = 150)

Definition at line 37 of file G4PenelopeSamplingData.cc.

References a, b, ITTL, ITTU, pac, and x.

G4PenelopeSamplingData::~G4PenelopeSamplingData ( )

Definition at line 50 of file G4PenelopeSamplingData.cc.

References a, b, ITTL, ITTU, pac, and x.

G4PenelopeSamplingData::G4PenelopeSamplingData ( const G4PenelopeSamplingData )
private

Member Function Documentation

void G4PenelopeSamplingData::AddPoint ( G4double  x0,
G4double  pac0,
G4double  a0,
G4double  b0,
size_t  ITTL0,
size_t  ITTU0 
)

Definition at line 97 of file G4PenelopeSamplingData.cc.

References a, b, G4cout, G4endl, GetNumberOfStoredPoints(), ITTL, ITTU, np, pac, and x.

Referenced by G4PenelopeRayleighModel::InitializeSamplingAlgorithm().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4PenelopeSamplingData::Clear ( )

Definition at line 79 of file G4PenelopeSamplingData.cc.

References a, b, ITTL, ITTU, pac, and x.

void G4PenelopeSamplingData::DumpTable ( )

Definition at line 120 of file G4PenelopeSamplingData.cc.

References G4cout, G4endl, and GetNumberOfStoredPoints().

Referenced by G4PenelopeRayleighModel::InitializeSamplingAlgorithm().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4PenelopeSamplingData::GetA ( size_t  index)

Definition at line 153 of file G4PenelopeSamplingData.cc.

References a.

Referenced by G4PenelopeRayleighModel::GetPMaxTable().

+ Here is the caller graph for this function:

G4double G4PenelopeSamplingData::GetB ( size_t  index)

Definition at line 162 of file G4PenelopeSamplingData.cc.

References b.

Referenced by G4PenelopeRayleighModel::GetPMaxTable().

+ Here is the caller graph for this function:

size_t G4PenelopeSamplingData::GetNumberOfStoredPoints ( )

Definition at line 61 of file G4PenelopeSamplingData.cc.

References a, b, FatalException, G4endl, G4Exception(), ITTL, ITTU, pac, and x.

Referenced by AddPoint(), DumpTable(), G4PenelopeRayleighModel::GetPMaxTable(), G4PenelopeRayleighModel::SampleSecondaries(), and SampleValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4PenelopeSamplingData::GetPAC ( size_t  index)

Definition at line 144 of file G4PenelopeSamplingData.cc.

References pac.

Referenced by G4PenelopeRayleighModel::GetPMaxTable().

+ Here is the caller graph for this function:

G4double G4PenelopeSamplingData::GetX ( size_t  index)

Definition at line 135 of file G4PenelopeSamplingData.cc.

References x.

Referenced by G4PenelopeRayleighModel::GetPMaxTable(), and G4PenelopeRayleighModel::SampleSecondaries().

+ Here is the caller graph for this function:

G4PenelopeSamplingData& G4PenelopeSamplingData::operator= ( const G4PenelopeSamplingData right)
private
G4double G4PenelopeSamplingData::SampleValue ( G4double  rndm)

Definition at line 171 of file G4PenelopeSamplingData.cc.

References a, GetNumberOfStoredPoints(), pac, and x.

Referenced by G4PenelopeRayleighModel::SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4DataVector* G4PenelopeSamplingData::b
private
std::vector<size_t>* G4PenelopeSamplingData::ITTL
private
std::vector<size_t>* G4PenelopeSamplingData::ITTU
private
G4int G4PenelopeSamplingData::np
private

Definition at line 84 of file G4PenelopeSamplingData.hh.

Referenced by AddPoint().

G4DataVector* G4PenelopeSamplingData::pac
private

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