Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
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. More...
 
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 Double_t getMaxLimit (UInt_t dimension) const =0
 
virtual Double_t getMinLimit (UInt_t dimension) const =0
 
virtual const char * getName () const
 
Bool_t isValid () const
 
Int_t numCall () const
 
virtual Double_t operator() (const Double_t xvector[]) const =0
 
virtual std::list< Double_t > * plotSamplingHint (RooAbsRealLValue &, Double_t, Double_t) const
 
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:
[legend]

Constructor & Destructor Documentation

◆ RooInvTransform()

RooInvTransform::RooInvTransform ( const RooAbsFunc func)

Constructor.

Definition at line 46 of file RooInvTransform.cxx.

◆ ~RooInvTransform()

virtual RooInvTransform::~RooInvTransform ( )
inlinevirtual

Definition at line 24 of file RooInvTransform.h.

Member Function Documentation

◆ getMaxLimit()

virtual Double_t RooInvTransform::getMaxLimit ( UInt_t  index) const
inlinevirtual

Implements RooAbsFunc.

Definition at line 31 of file RooInvTransform.h.

◆ getMinLimit()

virtual Double_t RooInvTransform::getMinLimit ( UInt_t  index) const
inlinevirtual

Implements RooAbsFunc.

Definition at line 30 of file RooInvTransform.h.

◆ operator()()

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

Implements RooAbsFunc.

Definition at line 26 of file RooInvTransform.h.

Member Data Documentation

◆ _func

const RooAbsFunc* RooInvTransform::_func
protected

Definition at line 34 of file RooInvTransform.h.

Libraries for RooInvTransform:
[legend]

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