![]() |
ATLAS Offline Software
|
calculates an interpolated weight in n dimensions More...
#include <CaloWeightInterpolator.h>
Static Public Member Functions | |
| static double | getWeight (std::vector< double > &w, std::vector< double > &x) |
calculates an interpolated weight in n dimensions
helper struct to interpolate the 2^n weights w in n-dimensions by 2^n-1 successive linear interpolations. The order of the vector w is by dimension - i.e. the first dimension changes in every element of w, the second every 2, the 3rd every 4, and so on. The vector x is supposed to carry the n relative positions within the current bin.
Definition at line 25 of file CaloWeightInterpolator.h.
|
static |
Definition at line 26 of file CaloWeightInterpolator.cxx.