A simple cache branch storing the cached data in a TNtuple. More...
#include <CacheBranchFx.h>
Public Member Functions | |
CacheBranchFx () | |
CacheBranchFx (string name) | |
~CacheBranchFx () | |
const map< double, double > & | Map (void) const |
Spline * | Spl (void) const |
void | CreateSpline (void) |
void | AddValues (double x, double y) |
void | Reset (void) |
void | Print (ostream &stream) const |
double | operator() (double x) const |
Public Member Functions inherited from genie::CacheBranchI | |
virtual | ~CacheBranchI () |
Private Member Functions | |
void | Init (void) |
void | CleanUp (void) |
Private Attributes | |
string | fName |
cache branch name More... | |
map< double, double > | fFx |
x->y map More... | |
Spline * | fSpline |
spline y = f(x) More... | |
Friends | |
ostream & | operator<< (ostream &stream, const CacheBranchFx &cbntp) |
Additional Inherited Members | |
Protected Member Functions inherited from genie::CacheBranchI | |
CacheBranchI () | |
A simple cache branch storing the cached data in a TNtuple.
November 26, 2004
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
Definition at line 37 of file CacheBranchFx.h.
CacheBranchFx::CacheBranchFx | ( | void | ) |
Definition at line 27 of file CacheBranchFx.cxx.
CacheBranchFx::CacheBranchFx | ( | string | name | ) |
Definition at line 33 of file CacheBranchFx.cxx.
CacheBranchFx::~CacheBranchFx | ( | ) |
Definition at line 40 of file CacheBranchFx.cxx.
void CacheBranchFx::AddValues | ( | double | x, |
double | y | ||
) |
Definition at line 63 of file CacheBranchFx.cxx.
|
private |
Definition at line 51 of file CacheBranchFx.cxx.
void CacheBranchFx::CreateSpline | ( | void | ) |
Definition at line 68 of file CacheBranchFx.cxx.
|
private |
Definition at line 45 of file CacheBranchFx.cxx.
|
inline |
Definition at line 46 of file CacheBranchFx.h.
double CacheBranchFx::operator() | ( | double | x | ) | const |
Definition at line 95 of file CacheBranchFx.cxx.
void CacheBranchFx::Print | ( | ostream & | stream | ) | const |
Definition at line 89 of file CacheBranchFx.cxx.
void CacheBranchFx::Reset | ( | void | ) |
Definition at line 57 of file CacheBranchFx.cxx.
|
inline |
Definition at line 47 of file CacheBranchFx.h.
|
friend |
Definition at line 20 of file CacheBranchFx.cxx.
|
private |
x->y map
Definition at line 63 of file CacheBranchFx.h.
|
private |
cache branch name
Definition at line 62 of file CacheBranchFx.h.
|
private |
spline y = f(x)
Definition at line 64 of file CacheBranchFx.h.