13 using namespace genie;
65 fFx.insert(map<double,double>::value_type(x,y));
71 double *
x =
new double[
n];
72 double *
y =
new double[
n];
76 for( ; iter !=
fFx.end(); ++iter) {
91 stream <<
"type: [CacheBranchFx] - nentries: " <<
fFx.size()
92 <<
" / spline: " << ((
fSpline) ?
"built" :
"null");
THE MAIN GENIE PROJECT NAMESPACE
void Print(ostream &stream) const
map< double, double > fFx
x->y map
A numeric analysis tool class for interpolating 1-D functions.
string fName
cache branch name
double Evaluate(double x) const
void AddValues(double x, double y)
Spline * fSpline
spline y = f(x)
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
double operator()(double x) const
A simple cache branch storing the cached data in a TNtuple.
The TObject at the root of concrete cache branches.