Lightweight function binding that returns the inverse of an input function binding.
Apply the change of variables transformation x -> 1/x to the input function and its range. The function must be one dimensional and its range cannot include zero.
Definition at line 21 of file RooInvTransform.h.
Public Member Functions | |
RooInvTransform (const RooAbsFunc &func) | |
Constructor. | |
double | getMaxLimit (UInt_t index) const override |
double | getMinLimit (UInt_t index) const override |
TClass * | IsA () const override |
double | operator() (const double xvector[]) const override |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from RooAbsFunc | |
RooAbsFunc (const RooAbsFunc &other) | |
RooAbsFunc (UInt_t dimension) | |
virtual | ~RooAbsFunc () |
virtual std::list< double > * | binBoundaries (Int_t) const |
UInt_t | getDimension () const |
virtual const char * | getName () const |
Name of function binding. | |
bool | isValid () const |
Int_t | numCall () const |
Return number of function calls since last reset. | |
virtual std::list< double > * | plotSamplingHint (RooAbsRealLValue &, double, double) const |
Interface for returning an optional hint for initial sampling points when constructing a curve projected on observable. | |
void | resetNumCall () const |
Reset function call counter. | |
virtual void | restoreXVec () const |
virtual void | saveXVec () const |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from RooAbsFunc | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Attributes | |
const RooAbsFunc * | _func |
Input function binding. | |
Protected Attributes inherited from RooAbsFunc | |
UInt_t | _dimension |
Number of observables. | |
Int_t | _ncall |
Function call counter. | |
bool | _valid |
Is binding in valid state? | |
#include <RooInvTransform.h>
RooInvTransform::RooInvTransform | ( | const RooAbsFunc & | func | ) |
Constructor.
Definition at line 41 of file RooInvTransform.cxx.
|
static |
|
inlinestaticconstexpr |
Definition at line 35 of file RooInvTransform.h.
|
inlinestatic |
Definition at line 35 of file RooInvTransform.h.
Implements RooAbsFunc.
Definition at line 30 of file RooInvTransform.h.
Implements RooAbsFunc.
Definition at line 29 of file RooInvTransform.h.
|
inlineoverridevirtual |
Reimplemented from RooAbsFunc.
Definition at line 35 of file RooInvTransform.h.
Implements RooAbsFunc.
Definition at line 25 of file RooInvTransform.h.
|
overridevirtual |
Reimplemented from RooAbsFunc.
|
inline |
Definition at line 35 of file RooInvTransform.h.
|
protected |
Input function binding.
Definition at line 33 of file RooInvTransform.h.