GENIEGenerator
|
handle table's index and weights for given density and energy More...
Public Member Functions | |
PointHandler () | |
void | setHandler (const double &width, const int &bins) |
constructor More... | |
void | update (const double &newValue) |
update point if changed More... | |
Public Attributes | |
double | value |
exact value as read from table More... | |
double | lowWeight |
distance from high boundary More... | |
double | highWeight |
distance from low boundary More... | |
int | index |
point index = index of low boundary More... | |
double | binWidth |
bin width used to calculate distances More... | |
int | nBins |
nBins to check isEdge More... | |
bool | isEdge |
true if value is on edge of table (should never happen) More... | |
handle table's index and weights for given density and energy
Definition at line 78 of file INukeOsetTable.h.
|
inline |
Definition at line 88 of file INukeOsetTable.h.
|
inline |
constructor
set up binWidth and nBins
Definition at line 91 of file INukeOsetTable.h.
References binWidth, and nBins.
Referenced by INukeOsetTable::INukeOsetTable().
void INukeOsetTable::PointHandler::update | ( | const double & | newValue | ) |
update point if changed
set up table index and weights for given point
Definition at line 205 of file INukeOsetTable.cxx.
References binWidth, highWeight, index, isEdge, lowWeight, nBins, and value.
Referenced by INukeOsetTable::setupOset().
double INukeOsetTable::PointHandler::binWidth |
bin width used to calculate distances
Definition at line 84 of file INukeOsetTable.h.
Referenced by setHandler(), and update().
double INukeOsetTable::PointHandler::highWeight |
distance from low boundary
Definition at line 82 of file INukeOsetTable.h.
Referenced by INukeOsetTable::interpolate(), and update().
int INukeOsetTable::PointHandler::index |
point index = index of low boundary
Definition at line 83 of file INukeOsetTable.h.
Referenced by INukeOsetTable::interpolate(), and update().
bool INukeOsetTable::PointHandler::isEdge |
true if value is on edge of table (should never happen)
Definition at line 86 of file INukeOsetTable.h.
Referenced by INukeOsetTable::interpolate(), and update().
double INukeOsetTable::PointHandler::lowWeight |
distance from high boundary
Definition at line 81 of file INukeOsetTable.h.
Referenced by INukeOsetTable::interpolate(), and update().
int INukeOsetTable::PointHandler::nBins |
nBins to check isEdge
Definition at line 85 of file INukeOsetTable.h.
Referenced by setHandler(), and update().
double INukeOsetTable::PointHandler::value |
exact value as read from table
Definition at line 80 of file INukeOsetTable.h.
Referenced by update().