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 scaleFactor)
 
 ~RooScaledFunc () override
 
double getMaxLimit (UInt_t index) const override
 
double getMinLimit (UInt_t index) const override
 
TClassIsA () const override
 
double operator() (const double xvector[]) const override
 
std::list< double > * plotSamplingHint (RooAbsRealLValue &obs, double xlo, double xhi) const override
 Interface for returning an optional hint for initial sampling points when constructing a curve projected on observable. More...
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from RooAbsFunc
 RooAbsFunc (const RooAbsFunc &other)
 
 RooAbsFunc (UInt_t dimension)
 
virtual ~RooAbsFunc ()
 
virtual std::list< double > * binBoundaries (Int_t) const
 
UInt_t getDimension () const
 
virtual double getMaxLimit (UInt_t dimension) const =0
 
virtual double getMinLimit (UInt_t dimension) const =0
 
virtual const char * getName () const
 Name of function binding. More...
 
virtual TClassIsA () const
 
bool isValid () const
 
Int_t numCall () const
 Return number of function calls since last reset. More...
 
virtual double operator() (const double xvector[]) const =0
 
virtual std::list< double > * plotSamplingHint (RooAbsRealLValue &, double, double) const
 Interface for returning an optional hint for initial sampling points when constructing a curve projected on observable. More...
 
void resetNumCall () const
 Reset function call counter. More...
 
virtual void restoreXVec () const
 
virtual void saveXVec () const
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from RooAbsFunc
static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Protected Attributes

const RooAbsFunc_func
 
double _scaleFactor
 
- Protected Attributes inherited from RooAbsFunc
UInt_t _dimension
 Number of observables. More...
 
Int_t _ncall
 Function call counter. More...
 
bool _valid
 Is binding in valid state? More...
 

#include <RooScaledFunc.h>

Inheritance diagram for RooScaledFunc:
[legend]

Constructor & Destructor Documentation

◆ RooScaledFunc()

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

Definition at line 24 of file RooScaledFunc.h.

◆ ~RooScaledFunc()

RooScaledFunc::~RooScaledFunc ( )
inlineoverride

Definition at line 26 of file RooScaledFunc.h.

Member Function Documentation

◆ Class()

static TClass * RooScaledFunc::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * RooScaledFunc::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static Version_t RooScaledFunc::Class_Version ( )
inlinestatic
Returns
Version of this class

Definition at line 42 of file RooScaledFunc.h.

◆ DeclFileName()

static const char * RooScaledFunc::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 42 of file RooScaledFunc.h.

◆ getMaxLimit()

double RooScaledFunc::getMaxLimit ( UInt_t  index) const
inlineoverridevirtual

Implements RooAbsFunc.

Definition at line 32 of file RooScaledFunc.h.

◆ getMinLimit()

double RooScaledFunc::getMinLimit ( UInt_t  index) const
inlineoverridevirtual

Implements RooAbsFunc.

Definition at line 31 of file RooScaledFunc.h.

◆ IsA()

TClass * RooScaledFunc::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from RooAbsFunc.

Definition at line 42 of file RooScaledFunc.h.

◆ operator()()

double RooScaledFunc::operator() ( const double  xvector[]) const
inlineoverridevirtual

Implements RooAbsFunc.

Definition at line 28 of file RooScaledFunc.h.

◆ plotSamplingHint()

std::list< double > * RooScaledFunc::plotSamplingHint ( RooAbsRealLValue ,
double  ,
double   
) const
inlineoverridevirtual

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.

◆ Streamer()

void RooScaledFunc::Streamer ( TBuffer )
overridevirtual

Reimplemented from RooAbsFunc.

◆ StreamerNVirtual()

void RooScaledFunc::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 42 of file RooScaledFunc.h.

Member Data Documentation

◆ _func

const RooAbsFunc* RooScaledFunc::_func
protected

Definition at line 39 of file RooScaledFunc.h.

◆ _scaleFactor

double RooScaledFunc::_scaleFactor
protected

Definition at line 40 of file RooScaledFunc.h.

Libraries for RooScaledFunc:
[legend]

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