Logo ROOT  
Reference Guide
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)
virtual ~RooInvTransform ()
virtual Double_t getMaxLimit (UInt_t index) const
virtual Double_t getMinLimit (UInt_t index) const
virtual Double_t operator() (const Double_t xvector[]) const
- Public Member Functions inherited from RooAbsFunc
 RooAbsFunc (const RooAbsFunc &other)
 RooAbsFunc (UInt_t dimension)
virtual ~RooAbsFunc ()
virtual std::list< Double_t > * binBoundaries (Int_t) const
UInt_t getDimension () const
virtual const char * getName () const
Bool_t isValid () const
Int_t numCall () const
virtual std::list< Double_t > * plotSamplingHint (RooAbsRealLValue &, Double_t, Double_t) const
 Interface for returning an optional hint for initial sampling points when constructing a curve projected on observable.
void resetNumCall () const
virtual void restoreXVec () const
virtual void saveXVec () const

Protected Attributes

const RooAbsFunc_func
- Protected Attributes inherited from RooAbsFunc
UInt_t _dimension
Int_t _ncall
Bool_t _valid

#include <RooInvTransform.h>

Inheritance diagram for RooInvTransform:

Constructor & Destructor Documentation

◆ RooInvTransform()

RooInvTransform::RooInvTransform ( const RooAbsFunc func)


Definition at line 45 of file RooInvTransform.cxx.

◆ ~RooInvTransform()

virtual RooInvTransform::~RooInvTransform ( )

Definition at line 24 of file RooInvTransform.h.

Member Function Documentation

◆ getMaxLimit()

virtual Double_t RooInvTransform::getMaxLimit ( UInt_t  index) const

Implements RooAbsFunc.

Definition at line 31 of file RooInvTransform.h.

◆ getMinLimit()

virtual Double_t RooInvTransform::getMinLimit ( UInt_t  index) const

Implements RooAbsFunc.

Definition at line 30 of file RooInvTransform.h.

◆ operator()()

virtual Double_t RooInvTransform::operator() ( const Double_t  xvector[]) const

Implements RooAbsFunc.

Definition at line 26 of file RooInvTransform.h.

Member Data Documentation

◆ _func

const RooAbsFunc* RooInvTransform::_func

Definition at line 34 of file RooInvTransform.h.

Libraries for RooInvTransform:

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