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 Member Functions | Protected Attributes | List of all members
RooConvIntegrandBinding Class Reference

Implementation of RooAbsFunc that represent the the integrand of a generic (numeric) convolution A (x) B so that it can be passed to a numeric integrator.

This is a utility class for RooNumConvPdf

Definition at line 25 of file RooConvIntegrandBinding.h.

Public Member Functions

 RooConvIntegrandBinding (const RooAbsReal &func, const RooAbsReal &model, RooAbsReal &x, RooAbsReal &xprime, const RooArgSet *nset=0, Bool_t clipInvalid=kFALSE)
 
virtual ~RooConvIntegrandBinding ()
 Destructor. More...
 
virtual Double_t operator() (const Double_t xvector[]) const
 Evaluate self at given parameter values. More...
 
virtual Double_t getMinLimit (UInt_t dimension) const
 Retrieve lower limit of i-th observable. More...
 
virtual Double_t getMaxLimit (UInt_t dimension) const
 Retrieve upper limit of i-th observable. More...
 
void setNormalizationSet (const RooArgSet *nset)
 
- 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
 
virtual std::list< Double_t > * plotSamplingHint (RooAbsRealLValue &, Double_t, Double_t) const
 

Protected Member Functions

void loadValues (const Double_t xvector[], Bool_t clipInvalid=kFALSE) const
 Load external input values. More...
 

Protected Attributes

const RooAbsReal_func
 
const RooAbsReal_model
 
RooAbsRealLValue ** _vars
 
const RooArgSet_nset
 
Bool_t _xvecValid
 
Bool_t _clipInvalid
 
- Protected Attributes inherited from RooAbsFunc
Int_t _ncall
 
UInt_t _dimension
 
Bool_t _valid
 

#include <RooConvIntegrandBinding.h>

Inheritance diagram for RooConvIntegrandBinding:
[legend]

Constructor & Destructor Documentation

RooConvIntegrandBinding::RooConvIntegrandBinding ( const RooAbsReal func,
const RooAbsReal model,
RooAbsReal x,
RooAbsReal xprime,
const RooArgSet nset = 0,
Bool_t  clipInvalid = kFALSE 
)

Definition at line 46 of file RooConvIntegrandBinding.cxx.

RooConvIntegrandBinding::~RooConvIntegrandBinding ( )
virtual

Destructor.

Definition at line 100 of file RooConvIntegrandBinding.cxx.

Member Function Documentation

Double_t RooConvIntegrandBinding::getMaxLimit ( UInt_t  dimension) const
virtual

Retrieve upper limit of i-th observable.

Implements RooAbsFunc.

Definition at line 166 of file RooConvIntegrandBinding.cxx.

Double_t RooConvIntegrandBinding::getMinLimit ( UInt_t  dimension) const
virtual

Retrieve lower limit of i-th observable.

Implements RooAbsFunc.

Definition at line 156 of file RooConvIntegrandBinding.cxx.

void RooConvIntegrandBinding::loadValues ( const Double_t  xvector[],
Bool_t  clipInvalid = kFALSE 
) const
protected

Load external input values.

Definition at line 109 of file RooConvIntegrandBinding.cxx.

Referenced by operator()().

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

Evaluate self at given parameter values.

Implements RooAbsFunc.

Definition at line 126 of file RooConvIntegrandBinding.cxx.

void RooConvIntegrandBinding::setNormalizationSet ( const RooArgSet nset)
inline

Definition at line 35 of file RooConvIntegrandBinding.h.

Referenced by RooNumConvolution::evaluate().

Member Data Documentation

Bool_t RooConvIntegrandBinding::_clipInvalid
protected

Definition at line 49 of file RooConvIntegrandBinding.h.

const RooAbsReal* RooConvIntegrandBinding::_func
protected

Definition at line 43 of file RooConvIntegrandBinding.h.

Referenced by operator()().

const RooAbsReal* RooConvIntegrandBinding::_model
protected

Definition at line 44 of file RooConvIntegrandBinding.h.

Referenced by operator()().

const RooArgSet* RooConvIntegrandBinding::_nset
protected

Definition at line 47 of file RooConvIntegrandBinding.h.

Referenced by operator()(), and setNormalizationSet().

RooAbsRealLValue** RooConvIntegrandBinding::_vars
protected
Bool_t RooConvIntegrandBinding::_xvecValid
mutableprotected

Definition at line 48 of file RooConvIntegrandBinding.h.

Referenced by loadValues(), operator()(), and RooConvIntegrandBinding().

Collaboration diagram for RooConvIntegrandBinding:
[legend]

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