Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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.
 
virtual Double_t getMaxLimit (UInt_t dimension) const
 Retrieve upper limit of i-th observable.
 
virtual Double_t getMinLimit (UInt_t dimension) const
 Retrieve lower limit of i-th observable.
 
virtual Double_t operator() (const Double_t xvector[]) const
 Evaluate self at given parameter values.
 
void setNormalizationSet (const RooArgSet *nset)
 
- 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
 
virtual std::list< Double_t > * plotSamplingHint (RooAbsRealLValue &, Double_t, Double_t) const
 Interface for returning an optional hint for initial sampling points when constructing a curve projected on observable.
 
void resetNumCall () const
 
virtual void restoreXVec () const
 
virtual void saveXVec () const
 

Protected Member Functions

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

Protected Attributes

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

#include <RooConvIntegrandBinding.h>

Inheritance diagram for RooConvIntegrandBinding:
[legend]

Constructor & Destructor Documentation

◆ RooConvIntegrandBinding()

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::~RooConvIntegrandBinding ( )
virtual

Destructor.

Definition at line 100 of file RooConvIntegrandBinding.cxx.

Member Function Documentation

◆ getMaxLimit()

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.

◆ getMinLimit()

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.

◆ loadValues()

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.

◆ 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.

◆ setNormalizationSet()

void RooConvIntegrandBinding::setNormalizationSet ( const RooArgSet nset)
inline

Definition at line 35 of file RooConvIntegrandBinding.h.

Member Data Documentation

◆ _clipInvalid

Bool_t RooConvIntegrandBinding::_clipInvalid
protected

Definition at line 49 of file RooConvIntegrandBinding.h.

◆ _func

const RooAbsReal* RooConvIntegrandBinding::_func
protected

Definition at line 43 of file RooConvIntegrandBinding.h.

◆ _model

const RooAbsReal* RooConvIntegrandBinding::_model
protected

Definition at line 44 of file RooConvIntegrandBinding.h.

◆ _nset

const RooArgSet* RooConvIntegrandBinding::_nset
protected

Definition at line 47 of file RooConvIntegrandBinding.h.

◆ _vars

RooAbsRealLValue** RooConvIntegrandBinding::_vars
protected

Definition at line 46 of file RooConvIntegrandBinding.h.

◆ _xvecValid

Bool_t RooConvIntegrandBinding::_xvecValid
mutableprotected

Definition at line 48 of file RooConvIntegrandBinding.h.

Libraries for RooConvIntegrandBinding:

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