Logo ROOT   6.12/07
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
RooScaledFunc Class Reference

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

Definition at line 21 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 (UInt_t dimension)
 
 RooAbsFunc (const RooAbsFunc &other)
 
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:
[legend]

Constructor & Destructor Documentation

◆ RooScaledFunc()

RooScaledFunc::RooScaledFunc ( const RooAbsFunc func,
Double_t  scaleFactor 
)
inline

Definition at line 23 of file RooScaledFunc.h.

◆ ~RooScaledFunc()

virtual RooScaledFunc::~RooScaledFunc ( )
inlinevirtual

Definition at line 25 of file RooScaledFunc.h.

Member Function Documentation

◆ getMaxLimit()

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

Implements RooAbsFunc.

Definition at line 31 of file RooScaledFunc.h.

◆ getMinLimit()

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

Implements RooAbsFunc.

Definition at line 30 of file RooScaledFunc.h.

◆ operator()()

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

Implements RooAbsFunc.

Definition at line 27 of file RooScaledFunc.h.

◆ plotSamplingHint()

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

Reimplemented from RooAbsFunc.

Definition at line 33 of file RooScaledFunc.h.

Member Data Documentation

◆ _func

const RooAbsFunc* RooScaledFunc::_func
protected

Definition at line 38 of file RooScaledFunc.h.

◆ _scaleFactor

Double_t RooScaledFunc::_scaleFactor
protected

Definition at line 39 of file RooScaledFunc.h.

Libraries for RooScaledFunc:
[legend]

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