ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 operator() (const Double_t xvector[]) const
 
virtual Double_t getMinLimit (UInt_t index) const
 
virtual Double_t getMaxLimit (UInt_t index) const
 
- Public Member Functions inherited from RooAbsFunc
 RooAbsFunc (UInt_t dimension)
 
 RooAbsFunc (const RooAbsFunc &other)
 
virtual ~RooAbsFunc ()
 
UInt_t getDimension () const
 
Bool_t isValid () const
 
Int_t numCall () const
 
void resetNumCall () const
 
virtual void saveXVec () const
 
virtual void restoreXVec () const
 
virtual const char * getName () const
 
virtual std::list< Double_t > * binBoundaries (Int_t) const
 
virtual std::list< Double_t > * plotSamplingHint (RooAbsRealLValue &, Double_t, Double_t) const
 

Protected Attributes

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

#include <RooInvTransform.h>

Inheritance diagram for RooInvTransform:
[legend]

Constructor & Destructor Documentation

RooInvTransform::RooInvTransform ( const RooAbsFunc func)

Constructor.

Definition at line 46 of file RooInvTransform.cxx.

virtual RooInvTransform::~RooInvTransform ( )
inlinevirtual

Definition at line 24 of file RooInvTransform.h.

Member Function Documentation

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

Implements RooAbsFunc.

Definition at line 31 of file RooInvTransform.h.

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

Implements RooAbsFunc.

Definition at line 30 of file RooInvTransform.h.

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

Implements RooAbsFunc.

Definition at line 26 of file RooInvTransform.h.

Member Data Documentation

const RooAbsFunc* RooInvTransform::_func
protected

Definition at line 34 of file RooInvTransform.h.

Referenced by getMaxLimit(), getMinLimit(), and operator()().

Collaboration diagram for RooInvTransform:
[legend]

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