Geant4
10.00.p02
|
#include <G4Physics2DVector.hh>
Public Member Functions | |
G4Physics2DVector () | |
G4Physics2DVector (size_t nx, size_t ny) | |
G4Physics2DVector (const G4Physics2DVector &) | |
G4Physics2DVector & | operator= (const G4Physics2DVector &) |
~G4Physics2DVector () | |
G4double | Value (G4double x, G4double y, size_t &lastidx, size_t &lastidy) const |
G4double | Value (G4double x, G4double y) const |
void | PutX (size_t idx, G4double value) |
void | PutY (size_t idy, G4double value) |
void | PutValue (size_t idx, size_t idy, G4double value) |
void | PutVectors (const std::vector< G4double > &vecX, const std::vector< G4double > &vecY) |
void | ScaleVector (G4double factor) |
G4double | FindLinearX (G4double rand, G4double y, size_t &lastidy) const |
G4double | FindLinearX (G4double rand, G4double y) const |
G4double | GetX (size_t index) const |
G4double | GetY (size_t index) const |
G4double | GetValue (size_t idx, size_t idy) const |
size_t | FindBinLocationX (G4double x, size_t lastidx) const |
size_t | FindBinLocationY (G4double y, size_t lastidy) const |
size_t | GetLengthX () const |
size_t | GetLengthY () const |
G4PhysicsVectorType | GetType () const |
void | SetBicubicInterpolation (G4bool) |
void | Store (std::ofstream &fOut) |
G4bool | Retrieve (std::ifstream &fIn) |
void | SetVerboseLevel (G4int value) |
G4int | GetVerboseLevel () const |
Protected Member Functions | |
void | PrepareVectors () |
void | ClearVectors () |
void | CopyData (const G4Physics2DVector &vec) |
G4double | BicubicInterpolation (G4double x, G4double y, size_t idx, size_t idy) const |
size_t | FindBinLocation (G4double z, const G4PV2DDataVector &) const |
size_t | FindBin (G4double z, const G4PV2DDataVector &, size_t idz, size_t idzmax) const |
Private Member Functions | |
G4double | InterpolateLinearX (G4PV2DDataVector &v, G4double rand) const |
G4double | DerivativeX (size_t idx, size_t idy, G4double fac) const |
G4double | DerivativeY (size_t idx, size_t idy, G4double fac) const |
G4double | DerivativeXY (size_t idx, size_t idy, G4double fac) const |
G4int | operator== (const G4Physics2DVector &right) const |
G4int | operator!= (const G4Physics2DVector &right) const |
Private Attributes | |
G4PhysicsVectorType | type |
size_t | numberOfXNodes |
size_t | numberOfYNodes |
G4PV2DDataVector | xVector |
G4PV2DDataVector | yVector |
std::vector< G4PV2DDataVector * > | value |
G4int | verboseLevel |
G4bool | useBicubic |
Definition at line 62 of file G4Physics2DVector.hh.
G4Physics2DVector::G4Physics2DVector | ( | ) |
Definition at line 47 of file G4Physics2DVector.cc.
G4Physics2DVector::G4Physics2DVector | ( | size_t | nx, |
size_t | ny | ||
) |
Definition at line 55 of file G4Physics2DVector.cc.
References PrepareVectors().
G4Physics2DVector::G4Physics2DVector | ( | const G4Physics2DVector & | right | ) |
Definition at line 72 of file G4Physics2DVector.cc.
References CopyData(), numberOfXNodes, numberOfYNodes, PrepareVectors(), type, useBicubic, verboseLevel, xVector, and yVector.
G4Physics2DVector::~G4Physics2DVector | ( | ) |
Definition at line 65 of file G4Physics2DVector.cc.
References ClearVectors().
|
protected |
Definition at line 193 of file G4Physics2DVector.cc.
References DerivativeX(), DerivativeXY(), DerivativeY(), f1, f2, f3, f4, GetValue(), xVector, and yVector.
Referenced by Value().
|
protected |
Definition at line 126 of file G4Physics2DVector.cc.
References numberOfYNodes, and value.
Referenced by operator=(), PutVectors(), Retrieve(), and ~G4Physics2DVector().
|
protected |
Definition at line 135 of file G4Physics2DVector.cc.
References numberOfXNodes, numberOfYNodes, PutValue(), value, xVector, and yVector.
Referenced by G4Physics2DVector(), and operator=().
|
inlineprotected |
|
protected |
Definition at line 359 of file G4Physics2DVector.cc.
|
inline |
|
inline |
Definition at line 377 of file G4Physics2DVector.cc.
References FindBinLocationY(), InterpolateLinearX(), numberOfYNodes, value, and yVector.
Referenced by G4MuPairProductionModel::FindScaledEnergy().
|
inline |
Referenced by G4MuPairProduction::PrintInfo(), and G4OpticalSurface::ReadDichroicFile().
|
inline |
Referenced by G4MuPairProduction::PrintInfo(), and G4OpticalSurface::ReadDichroicFile().
|
inline |
|
inline |
Referenced by BicubicInterpolation(), G4OpticalSurface::ReadDichroicFile(), ScaleVector(), Store(), and Value().
|
inline |
|
inline |
|
inline |
Referenced by G4MuPairProduction::PrintInfo(), and G4OpticalSurface::ReadDichroicFile().
|
private |
Definition at line 404 of file G4Physics2DVector.cc.
References G4InuclParticleNames::nn, and xVector.
Referenced by FindLinearX().
|
private |
G4Physics2DVector & G4Physics2DVector::operator= | ( | const G4Physics2DVector & | right | ) |
Definition at line 91 of file G4Physics2DVector.cc.
References ClearVectors(), CopyData(), numberOfXNodes, numberOfYNodes, PrepareVectors(), type, useBicubic, and verboseLevel.
|
private |
|
protected |
Definition at line 112 of file G4Physics2DVector.cc.
References numberOfXNodes, numberOfYNodes, value, xVector, and yVector.
Referenced by G4Physics2DVector(), operator=(), PutVectors(), and Retrieve().
|
inline |
Referenced by CopyData(), G4MuPairProductionModel::MakeSamplingTables(), Retrieve(), and ScaleVector().
void G4Physics2DVector::PutVectors | ( | const std::vector< G4double > & | vecX, |
const std::vector< G4double > & | vecY | ||
) |
Definition at line 260 of file G4Physics2DVector.cc.
References ClearVectors(), numberOfXNodes, numberOfYNodes, PrepareVectors(), xVector, and yVector.
|
inline |
Referenced by G4MuPairProductionModel::MakeSamplingTables().
|
inline |
Referenced by G4MuPairProductionModel::MakeSamplingTables().
G4bool G4Physics2DVector::Retrieve | ( | std::ifstream & | fIn | ) |
Definition at line 306 of file G4Physics2DVector.cc.
References ClearVectors(), INT_MAX, numberOfXNodes, numberOfYNodes, PrepareVectors(), PutValue(), type, xVector, and yVector.
Referenced by G4LivermoreBremsstrahlungModel::ReadData(), G4SeltzerBergerModel::ReadData(), and G4OpticalSurface::ReadDichroicFile().
void G4Physics2DVector::ScaleVector | ( | G4double | factor | ) |
Definition at line 345 of file G4Physics2DVector.cc.
References GetValue(), numberOfXNodes, numberOfYNodes, and PutValue().
|
inline |
Referenced by G4LivermoreBremsstrahlungModel::ReadData(), and G4SeltzerBergerModel::ReadData().
|
inline |
void G4Physics2DVector::Store | ( | std::ofstream & | fOut | ) |
Definition at line 277 of file G4Physics2DVector.cc.
References G4endl, GetValue(), numberOfXNodes, numberOfYNodes, CLHEP::prec, type, xVector, and yVector.
G4double G4Physics2DVector::Value | ( | G4double | x, |
G4double | y, | ||
size_t & | lastidx, | ||
size_t & | lastidy | ||
) | const |
Definition at line 151 of file G4Physics2DVector.cc.
References BicubicInterpolation(), FindBinLocationX(), FindBinLocationY(), GetValue(), numberOfXNodes, numberOfYNodes, useBicubic, xVector, and yVector.
Referenced by G4LivermoreBremsstrahlungModel::ComputeDXSectionPerAtom(), G4SeltzerBergerModel::ComputeDXSectionPerAtom(), G4OpBoundaryProcess::DielectricDichroic(), G4MuPairProductionModel::FindScaledEnergy(), G4SeltzerBergerModel::ReadData(), G4LivermoreBremsstrahlungModel::ReadData(), G4SeltzerBergerModel::SampleSecondaries(), and G4LivermoreBremsstrahlungModel::SampleSecondaries().
|
private |
Definition at line 170 of file G4Physics2DVector.hh.
Referenced by CopyData(), G4Physics2DVector(), operator=(), PrepareVectors(), PutVectors(), Retrieve(), ScaleVector(), Store(), and Value().
|
private |
Definition at line 171 of file G4Physics2DVector.hh.
Referenced by ClearVectors(), CopyData(), FindLinearX(), G4Physics2DVector(), operator=(), PrepareVectors(), PutVectors(), Retrieve(), ScaleVector(), Store(), and Value().
|
private |
Definition at line 168 of file G4Physics2DVector.hh.
Referenced by G4Physics2DVector(), operator=(), Retrieve(), and Store().
|
private |
Definition at line 178 of file G4Physics2DVector.hh.
Referenced by G4Physics2DVector(), operator=(), and Value().
|
private |
Definition at line 175 of file G4Physics2DVector.hh.
Referenced by ClearVectors(), CopyData(), FindLinearX(), and PrepareVectors().
|
private |
Definition at line 177 of file G4Physics2DVector.hh.
Referenced by G4Physics2DVector(), and operator=().
|
private |
Definition at line 173 of file G4Physics2DVector.hh.
Referenced by BicubicInterpolation(), CopyData(), G4Physics2DVector(), InterpolateLinearX(), PrepareVectors(), PutVectors(), Retrieve(), Store(), and Value().
|
private |
Definition at line 174 of file G4Physics2DVector.hh.
Referenced by BicubicInterpolation(), CopyData(), FindLinearX(), G4Physics2DVector(), PrepareVectors(), PutVectors(), Retrieve(), Store(), and Value().