ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 operator() (const Double_t xvector[]) const
 
virtual Double_t getMinLimit (UInt_t index) const
 
virtual Double_t getMaxLimit (UInt_t index) 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 ()
 
UInt_t getDimension () const
 
Bool_t isValid () const
 
Int_t numCall () const
 
void resetNumCall () const
 
virtual void saveXVec () const
 
virtual void restoreXVec () const
 
virtual const char * getName () const
 
virtual std::list< Double_t > * binBoundaries (Int_t) const
 

Protected Attributes

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

#include <RooScaledFunc.h>

Inheritance diagram for RooScaledFunc:
[legend]

Constructor & Destructor Documentation

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

Definition at line 23 of file RooScaledFunc.h.

virtual RooScaledFunc::~RooScaledFunc ( )
inlinevirtual

Definition at line 25 of file RooScaledFunc.h.

Member Function Documentation

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

Implements RooAbsFunc.

Definition at line 31 of file RooScaledFunc.h.

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

Implements RooAbsFunc.

Definition at line 30 of file RooScaledFunc.h.

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

Implements RooAbsFunc.

Definition at line 27 of file RooScaledFunc.h.

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

const RooAbsFunc* RooScaledFunc::_func
protected

Definition at line 38 of file RooScaledFunc.h.

Referenced by getMaxLimit(), getMinLimit(), and plotSamplingHint().

Double_t RooScaledFunc::_scaleFactor
protected

Definition at line 39 of file RooScaledFunc.h.

Referenced by operator()().

Collaboration diagram for RooScaledFunc:
[legend]

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