Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooInvTransform Class Reference

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
 
TClassIsA () 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 TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from RooAbsFunc
static TClassClass ()
 
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>

Inheritance diagram for RooInvTransform:
[legend]

Constructor & Destructor Documentation

◆ RooInvTransform()

RooInvTransform::RooInvTransform ( const RooAbsFunc func)

Constructor.

Definition at line 43 of file RooInvTransform.cxx.

Member Function Documentation

◆ Class()

static TClass * RooInvTransform::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * RooInvTransform::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t RooInvTransform::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 35 of file RooInvTransform.h.

◆ DeclFileName()

static const char * RooInvTransform::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 35 of file RooInvTransform.h.

◆ getMaxLimit()

double RooInvTransform::getMaxLimit ( UInt_t  index) const
inlineoverridevirtual

Implements RooAbsFunc.

Definition at line 30 of file RooInvTransform.h.

◆ getMinLimit()

double RooInvTransform::getMinLimit ( UInt_t  index) const
inlineoverridevirtual

Implements RooAbsFunc.

Definition at line 29 of file RooInvTransform.h.

◆ IsA()

TClass * RooInvTransform::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from RooAbsFunc.

Definition at line 35 of file RooInvTransform.h.

◆ operator()()

double RooInvTransform::operator() ( const double  xvector[]) const
inlineoverridevirtual

Implements RooAbsFunc.

Definition at line 25 of file RooInvTransform.h.

◆ Streamer()

void RooInvTransform::Streamer ( TBuffer )
overridevirtual

Reimplemented from RooAbsFunc.

◆ StreamerNVirtual()

void RooInvTransform::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 35 of file RooInvTransform.h.

Member Data Documentation

◆ _func

const RooAbsFunc* RooInvTransform::_func
protected

Input function binding.

Definition at line 33 of file RooInvTransform.h.

Libraries for RooInvTransform:

The documentation for this class was generated from the following files: