Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
 Interface for returning an optional hint for initial sampling points when constructing a curve projected on observable.
 
- 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:
[legend]

Constructor & Destructor Documentation

◆ RooScaledFunc()

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

Definition at line 24 of file RooScaledFunc.h.

◆ ~RooScaledFunc()

virtual RooScaledFunc::~RooScaledFunc ( )
inlinevirtual

Definition at line 26 of file RooScaledFunc.h.

Member Function Documentation

◆ getMaxLimit()

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

Implements RooAbsFunc.

Definition at line 32 of file RooScaledFunc.h.

◆ getMinLimit()

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

Implements RooAbsFunc.

Definition at line 31 of file RooScaledFunc.h.

◆ operator()()

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

Implements RooAbsFunc.

Definition at line 28 of file RooScaledFunc.h.

◆ plotSamplingHint()

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

Interface for returning an optional hint for initial sampling points when constructing a curve projected on observable.

Reimplemented from RooAbsFunc.

Definition at line 34 of file RooScaledFunc.h.

Member Data Documentation

◆ _func

const RooAbsFunc* RooScaledFunc::_func
protected

Definition at line 39 of file RooScaledFunc.h.

◆ _scaleFactor

Double_t RooScaledFunc::_scaleFactor
protected

Definition at line 40 of file RooScaledFunc.h.

Libraries for RooScaledFunc:

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