Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooConvIntegrandBinding Class Reference

Implementation of RooAbsFunc that represent 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=nullptr, bool clipInvalid=false)
 
 ~RooConvIntegrandBinding () override
 Destructor.
 
double getMaxLimit (UInt_t dimension) const override
 Retrieve upper limit of i-th observable.
 
double getMinLimit (UInt_t dimension) const override
 Retrieve lower limit of i-th observable.
 
TClassIsA () const override
 
double operator() (const double xvector[]) const override
 Evaluate self at given parameter values.
 
void setNormalizationSet (const RooArgSet *nset)
 
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 const char * getName () const
 Name of function binding.
 
bool isValid () const
 
Int_t numCall () const
 Return number of function calls since last reset.
 
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.
 
void resetNumCall () const
 Reset function call counter.
 
virtual void restoreXVec () const
 
virtual void saveXVec () const
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

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

Protected Member Functions

void loadValues (const double xvector[], bool clipInvalid=false) const
 Load external input values.
 

Protected Attributes

bool _clipInvalid
 If true, invalid x values are clipped into their valid range.
 
const RooAbsReal_func
 Pointer to input function.
 
const RooAbsReal_model
 Pointer to input resolution model.
 
const RooArgSet_nset
 Normalization set to be used for function evaluations.
 
RooAbsRealLValue ** _vars
 Array of pointers to variables.
 
bool _xvecValid
 If true _xvec defines a valid point.
 
- Protected Attributes inherited from RooAbsFunc
UInt_t _dimension
 Number of observables.
 
Int_t _ncall
 Function call counter.
 
bool _valid
 Is binding in valid state?
 

#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 = nullptr,
bool  clipInvalid = false 
)

Definition at line 44 of file RooConvIntegrandBinding.cxx.

◆ ~RooConvIntegrandBinding()

RooConvIntegrandBinding::~RooConvIntegrandBinding ( )
override

Destructor.

Definition at line 98 of file RooConvIntegrandBinding.cxx.

Member Function Documentation

◆ Class()

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

◆ Class_Name()

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

◆ Class_Version()

static constexpr Version_t RooConvIntegrandBinding::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 51 of file RooConvIntegrandBinding.h.

◆ DeclFileName()

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

Definition at line 51 of file RooConvIntegrandBinding.h.

◆ getMaxLimit()

double RooConvIntegrandBinding::getMaxLimit ( UInt_t  dimension) const
overridevirtual

Retrieve upper limit of i-th observable.

Implements RooAbsFunc.

Definition at line 164 of file RooConvIntegrandBinding.cxx.

◆ getMinLimit()

double RooConvIntegrandBinding::getMinLimit ( UInt_t  dimension) const
overridevirtual

Retrieve lower limit of i-th observable.

Implements RooAbsFunc.

Definition at line 154 of file RooConvIntegrandBinding.cxx.

◆ IsA()

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

Reimplemented from RooAbsFunc.

Definition at line 51 of file RooConvIntegrandBinding.h.

◆ loadValues()

void RooConvIntegrandBinding::loadValues ( const double  xvector[],
bool  clipInvalid = false 
) const
protected

Load external input values.

Definition at line 107 of file RooConvIntegrandBinding.cxx.

◆ operator()()

double RooConvIntegrandBinding::operator() ( const double  xvector[]) const
overridevirtual

Evaluate self at given parameter values.

Implements RooAbsFunc.

Definition at line 124 of file RooConvIntegrandBinding.cxx.

◆ setNormalizationSet()

void RooConvIntegrandBinding::setNormalizationSet ( const RooArgSet nset)
inline

Definition at line 35 of file RooConvIntegrandBinding.h.

◆ Streamer()

void RooConvIntegrandBinding::Streamer ( TBuffer )
overridevirtual

Reimplemented from RooAbsFunc.

◆ StreamerNVirtual()

void RooConvIntegrandBinding::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 51 of file RooConvIntegrandBinding.h.

Member Data Documentation

◆ _clipInvalid

bool RooConvIntegrandBinding::_clipInvalid
protected

If true, invalid x values are clipped into their valid range.

Definition at line 49 of file RooConvIntegrandBinding.h.

◆ _func

const RooAbsReal* RooConvIntegrandBinding::_func
protected

Pointer to input function.

Definition at line 43 of file RooConvIntegrandBinding.h.

◆ _model

const RooAbsReal* RooConvIntegrandBinding::_model
protected

Pointer to input resolution model.

Definition at line 44 of file RooConvIntegrandBinding.h.

◆ _nset

const RooArgSet* RooConvIntegrandBinding::_nset
protected

Normalization set to be used for function evaluations.

Definition at line 47 of file RooConvIntegrandBinding.h.

◆ _vars

RooAbsRealLValue** RooConvIntegrandBinding::_vars
protected

Array of pointers to variables.

Definition at line 46 of file RooConvIntegrandBinding.h.

◆ _xvecValid

bool RooConvIntegrandBinding::_xvecValid
mutableprotected

If true _xvec defines a valid point.

Definition at line 48 of file RooConvIntegrandBinding.h.

Libraries for RooConvIntegrandBinding:

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