Logo ROOT  
Reference Guide
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...
 
 ~RooInvTransform () override
 
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 double getMaxLimit (UInt_t dimension) const =0
 
virtual double getMinLimit (UInt_t dimension) const =0
 
virtual const char * getName () const
 Name of function binding. More...
 
virtual TClassIsA () const
 
bool isValid () const
 
Int_t numCall () const
 Return number of function calls since last reset. More...
 
virtual double operator() (const double xvector[]) const =0
 
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. More...
 
void resetNumCall () const
 Reset function call counter. More...
 
virtual void restoreXVec () const
 
virtual void saveXVec () const
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from RooAbsFunc
static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Protected Attributes

const RooAbsFunc_func
 Input function binding. More...
 
- Protected Attributes inherited from RooAbsFunc
UInt_t _dimension
 Number of observables. More...
 
Int_t _ncall
 Function call counter. More...
 
bool _valid
 Is binding in valid state? More...
 

#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.

◆ ~RooInvTransform()

RooInvTransform::~RooInvTransform ( )
inlineoverride

Definition at line 24 of file RooInvTransform.h.

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 Version_t RooInvTransform::Class_Version ( )
inlinestatic
Returns
Version of this class

Definition at line 36 of file RooInvTransform.h.

◆ DeclFileName()

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

Definition at line 36 of file RooInvTransform.h.

◆ getMaxLimit()

double RooInvTransform::getMaxLimit ( UInt_t  index) const
inlineoverridevirtual

Implements RooAbsFunc.

Definition at line 31 of file RooInvTransform.h.

◆ getMinLimit()

double RooInvTransform::getMinLimit ( UInt_t  index) const
inlineoverridevirtual

Implements RooAbsFunc.

Definition at line 30 of file RooInvTransform.h.

◆ IsA()

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

Reimplemented from RooAbsFunc.

Definition at line 36 of file RooInvTransform.h.

◆ operator()()

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

Implements RooAbsFunc.

Definition at line 26 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 36 of file RooInvTransform.h.

Member Data Documentation

◆ _func

const RooAbsFunc* RooInvTransform::_func
protected

Input function binding.

Definition at line 34 of file RooInvTransform.h.

Libraries for RooInvTransform:
[legend]

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