ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooInvTransform

class RooInvTransform: public RooAbsFunc



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.

Function Members (Methods)

public:
RooInvTransform(const RooAbsFunc& func)
RooInvTransform(const RooInvTransform&)
virtual~RooInvTransform()
static TClass*Class()
static TClass*RooAbsFunc::Class()
UInt_tRooAbsFunc::getDimension() const
virtual Double_tgetMaxLimit(UInt_t index) const
virtual Double_tRooAbsFunc::getMaxLimit(UInt_t dimension) const
virtual Double_tgetMinLimit(UInt_t index) const
virtual Double_tRooAbsFunc::getMinLimit(UInt_t dimension) const
virtual const char*RooAbsFunc::getName() const
virtual TClass*IsA() const
virtual TClass*RooAbsFunc::IsA() const
Bool_tRooAbsFunc::isValid() const
Int_tRooAbsFunc::numCall() const
virtual Double_toperator()(const Double_t* xvector) const
virtual Double_tRooAbsFunc::operator()(const Double_t* xvector) const
RooAbsFunc&RooAbsFunc::operator=(const RooAbsFunc&)
virtual list<Double_t>*RooAbsFunc::plotSamplingHint(RooAbsRealLValue&, Double_t, Double_t) const
voidRooAbsFunc::resetNumCall() const
virtual voidRooAbsFunc::restoreXVec() const
virtual voidRooAbsFunc::saveXVec() const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidRooAbsFunc::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
virtual voidRooAbsFunc::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidRooAbsFunc::StreamerNVirtual(TBuffer& b)

Data Members

protected:
UInt_tRooAbsFunc::_dimensionNumber of observables
const RooAbsFunc*_funcInput function binding
Int_tRooAbsFunc::_ncallFunction call counter
Bool_tRooAbsFunc::_validIs binding in valid state?

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RooInvTransform(const RooAbsFunc &func)
 Constructor.
RooInvTransform(const RooAbsFunc &func)
virtual ~RooInvTransform()
{ }
Double_t operator()(const Double_t* xvector) const
Double_t getMinLimit(UInt_t index) const
{ return 1/_func->getMaxLimit(index); }
Double_t getMaxLimit(UInt_t index) const
{ return 1/_func->getMinLimit(index); }