ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Class for interpolating the inverse of a 1-dimensional function. More...
Public Member Functions | |
InvFInterpolationTable (IFunction1D const &f, const unsigned int nNodes=30) | |
virtual | ~InvFInterpolationTable () |
Public Member Functions inherited from G4INCL::InterpolationTable | |
InterpolationTable (std::vector< G4double > const &x, std::vector< G4double > const &y) | |
virtual | ~InterpolationTable () |
unsigned int | getNumberOfNodes () const |
std::vector< G4double > | getNodeAbscissae () const |
std::vector< G4double > | getNodeValues () const |
G4double | operator() (const G4double x) const |
Compute the value of the function. | |
std::string | print () const |
Public Member Functions inherited from G4INCL::IFunction1D | |
IFunction1D () | |
IFunction1D (const G4double x0, const G4double x1) | |
virtual | ~IFunction1D () |
virtual G4double | getXMinimum () const |
Return the minimum allowed value of the independent variable. | |
virtual G4double | getXMaximum () const |
Return the maximum allowed value of the independent variable. | |
virtual G4double | integrate (const G4double x0, const G4double x1, const G4double step=-1.) const |
Integrate the function between two values. | |
IFunction1D * | primitive () const |
Return a pointer to the (numerical) primitive to this function. | |
InterpolationTable * | inverseCDFTable (ManipulatorFunc fWrap=0, const G4int nNodes=60) const |
Return a pointer to the inverse of the CDF of this function. | |
Additional Inherited Members | |
Public Types inherited from G4INCL::IFunction1D | |
typedef G4double(*const | ManipulatorFunc )(const G4double) |
Typedef to simplify the syntax of inverseCDFTable. | |
Protected Member Functions inherited from G4INCL::InterpolationTable | |
InterpolationTable () | |
void | initDerivatives () |
Initialise the values of the node derivatives. | |
Protected Attributes inherited from G4INCL::InterpolationTable | |
std::vector< InterpolationNode > | nodes |
Interpolating nodes. | |
Class for interpolating the inverse of a 1-dimensional function.
Definition at line 56 of file G4INCLInvFInterpolationTable.hh.
View newest version in sPHENIX GitHub at line 56 of file G4INCLInvFInterpolationTable.hh
G4INCL::InvFInterpolationTable::InvFInterpolationTable | ( | IFunction1D const & | f, |
const unsigned int | nNodes = 30 |
||
) |
Definition at line 52 of file G4INCLInvFInterpolationTable.cc.
View newest version in sPHENIX GitHub at line 52 of file G4INCLInvFInterpolationTable.cc
References f, G4INCL::IFunction1D::getXMaximum(), G4INCL::IFunction1D::getXMinimum(), G4INCL::InterpolationTable::initDerivatives(), G4INCL::InterpolationTable::nodes, and x1.
|
inlinevirtual |
Definition at line 59 of file G4INCLInvFInterpolationTable.hh.
View newest version in sPHENIX GitHub at line 59 of file G4INCLInvFInterpolationTable.hh