Logo ROOT  
Reference Guide
RooScaledFunc Class Reference

Lightweight RooAbsFunction implementation that applies a constant scale factor to another RooAbsFunc.

Definition at line 22 of file RooScaledFunc.h.

Public Member Functions

 RooScaledFunc (const RooAbsFunc &func, Double_t scaleFactor)
virtual ~RooScaledFunc ()
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
virtual std::list< Double_t > * plotSamplingHint (RooAbsRealLValue &obs, Double_t xlo, Double_t xhi) 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
void resetNumCall () const
virtual void restoreXVec () const
virtual void saveXVec () const

Protected Attributes

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

#include <RooScaledFunc.h>

Inheritance diagram for RooScaledFunc:

Constructor & Destructor Documentation

◆ RooScaledFunc()

RooScaledFunc::RooScaledFunc ( const RooAbsFunc func,
Double_t  scaleFactor 

Definition at line 38 of file RooScaledFunc.h.

◆ ~RooScaledFunc()

virtual RooScaledFunc::~RooScaledFunc ( )

Definition at line 40 of file RooScaledFunc.h.

Member Function Documentation

◆ getMaxLimit()

virtual Double_t RooScaledFunc::getMaxLimit ( UInt_t  index) const

Implements RooAbsFunc.

Definition at line 46 of file RooScaledFunc.h.

◆ getMinLimit()

virtual Double_t RooScaledFunc::getMinLimit ( UInt_t  index) const

Implements RooAbsFunc.

Definition at line 45 of file RooScaledFunc.h.

◆ operator()()

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

Implements RooAbsFunc.

Definition at line 42 of file RooScaledFunc.h.

◆ plotSamplingHint()

virtual std::list<Double_t>* RooScaledFunc::plotSamplingHint ( RooAbsRealLValue obs,
Double_t  xlo,
Double_t  xhi 
) const

Reimplemented from RooAbsFunc.

Definition at line 48 of file RooScaledFunc.h.

Member Data Documentation

◆ _func

const RooAbsFunc* RooScaledFunc::_func

Definition at line 53 of file RooScaledFunc.h.

◆ _scaleFactor

Double_t RooScaledFunc::_scaleFactor

Definition at line 54 of file RooScaledFunc.h.

Libraries for RooScaledFunc:

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