Geant4-11
|
#include <G4PenelopeSamplingData.hh>
Public Member Functions | |
void | AddPoint (G4double x0, G4double pac0, G4double a0, G4double b0, size_t ITTL0, size_t ITTU0) |
void | Clear () |
void | DumpTable () |
G4PenelopeSamplingData (const G4PenelopeSamplingData &)=delete | |
G4PenelopeSamplingData (G4int npoints=150) | |
G4double | GetA (size_t index) |
G4double | GetB (size_t index) |
size_t | GetNumberOfStoredPoints () |
G4double | GetPAC (size_t index) |
G4double | GetX (size_t index) |
G4PenelopeSamplingData & | operator= (const G4PenelopeSamplingData &right)=delete |
G4double | SampleValue (G4double rndm) |
~G4PenelopeSamplingData () | |
Private Attributes | |
G4DataVector * | fA |
G4DataVector * | fB |
std::vector< size_t > * | fITTL |
std::vector< size_t > * | fITTU |
G4int | fNP |
G4DataVector * | fPAC |
G4DataVector * | fX |
Definition at line 48 of file G4PenelopeSamplingData.hh.
|
explicit |
Definition at line 36 of file G4PenelopeSamplingData.cc.
G4PenelopeSamplingData::~G4PenelopeSamplingData | ( | ) |
|
delete |
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 a0, fA, fB, fITTL, fITTU, fNP, fPAC, fX, G4cout, G4endl, and GetNumberOfStoredPoints().
Referenced by G4PenelopeRayleighModel::InitializeSamplingAlgorithm(), and G4PenelopeRayleighModelMI::InitializeSamplingAlgorithm().
void G4PenelopeSamplingData::Clear | ( | ) |
Definition at line 79 of file G4PenelopeSamplingData.cc.
void G4PenelopeSamplingData::DumpTable | ( | ) |
Definition at line 120 of file G4PenelopeSamplingData.cc.
References G4cout, G4endl, and GetNumberOfStoredPoints().
Referenced by G4PenelopeRayleighModel::InitializeSamplingAlgorithm(), and G4PenelopeRayleighModelMI::InitializeSamplingAlgorithm().
G4double G4PenelopeSamplingData::GetA | ( | size_t | index | ) |
Definition at line 153 of file G4PenelopeSamplingData.cc.
References fA.
Referenced by G4PenelopeRayleighModel::GetPMaxTable(), and G4PenelopeRayleighModelMI::GetPMaxTable().
G4double G4PenelopeSamplingData::GetB | ( | size_t | index | ) |
Definition at line 162 of file G4PenelopeSamplingData.cc.
References fB.
Referenced by G4PenelopeRayleighModel::GetPMaxTable(), and G4PenelopeRayleighModelMI::GetPMaxTable().
size_t G4PenelopeSamplingData::GetNumberOfStoredPoints | ( | ) |
Definition at line 61 of file G4PenelopeSamplingData.cc.
References fA, FatalException, fB, fITTL, fITTU, fPAC, fX, G4endl, and G4Exception().
Referenced by AddPoint(), DumpTable(), G4PenelopeRayleighModel::GetPMaxTable(), G4PenelopeRayleighModelMI::GetPMaxTable(), G4PenelopeRayleighModel::SampleSecondaries(), G4PenelopeRayleighModelMI::SampleSecondaries(), and SampleValue().
G4double G4PenelopeSamplingData::GetPAC | ( | size_t | index | ) |
Definition at line 144 of file G4PenelopeSamplingData.cc.
References fPAC.
Referenced by G4PenelopeRayleighModel::GetPMaxTable(), and G4PenelopeRayleighModelMI::GetPMaxTable().
G4double G4PenelopeSamplingData::GetX | ( | size_t | index | ) |
Definition at line 135 of file G4PenelopeSamplingData.cc.
References fX.
Referenced by G4PenelopeRayleighModel::GetPMaxTable(), G4PenelopeRayleighModelMI::GetPMaxTable(), G4PenelopeRayleighModel::SampleSecondaries(), and G4PenelopeRayleighModelMI::SampleSecondaries().
|
delete |
Definition at line 171 of file G4PenelopeSamplingData.cc.
References fA, fPAC, fX, and GetNumberOfStoredPoints().
Referenced by G4PenelopeRayleighModel::SampleSecondaries(), and G4PenelopeRayleighModelMI::SampleSecondaries().
|
private |
Definition at line 73 of file G4PenelopeSamplingData.hh.
Referenced by AddPoint(), Clear(), G4PenelopeSamplingData(), GetA(), GetNumberOfStoredPoints(), SampleValue(), and ~G4PenelopeSamplingData().
|
private |
Definition at line 74 of file G4PenelopeSamplingData.hh.
Referenced by AddPoint(), Clear(), G4PenelopeSamplingData(), GetB(), GetNumberOfStoredPoints(), and ~G4PenelopeSamplingData().
|
private |
Definition at line 76 of file G4PenelopeSamplingData.hh.
Referenced by AddPoint(), Clear(), G4PenelopeSamplingData(), GetNumberOfStoredPoints(), and ~G4PenelopeSamplingData().
|
private |
Definition at line 77 of file G4PenelopeSamplingData.hh.
Referenced by AddPoint(), Clear(), G4PenelopeSamplingData(), GetNumberOfStoredPoints(), and ~G4PenelopeSamplingData().
|
private |
Definition at line 79 of file G4PenelopeSamplingData.hh.
Referenced by AddPoint().
|
private |
Definition at line 72 of file G4PenelopeSamplingData.hh.
Referenced by AddPoint(), Clear(), G4PenelopeSamplingData(), GetNumberOfStoredPoints(), GetPAC(), SampleValue(), and ~G4PenelopeSamplingData().
|
private |
Definition at line 71 of file G4PenelopeSamplingData.hh.
Referenced by AddPoint(), Clear(), G4PenelopeSamplingData(), GetNumberOfStoredPoints(), GetX(), SampleValue(), and ~G4PenelopeSamplingData().