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 26 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.
 
double operator() (const double xvector[]) const override
 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 > * binBoundaries (Int_t) const
 
UInt_t getDimension () const
 
virtual const char * getName () const
 Name of function binding.
 
virtual TClassIsA () const
 
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
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

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?
 

Additional Inherited Members

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

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/roofit/roofitcore/src/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 39 of file RooConvIntegrandBinding.cxx.

◆ ~RooConvIntegrandBinding()

RooConvIntegrandBinding::~RooConvIntegrandBinding ( )
override

Destructor.

Definition at line 98 of file RooConvIntegrandBinding.cxx.

Member Function Documentation

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

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

Member Data Documentation

◆ _clipInvalid

bool RooConvIntegrandBinding::_clipInvalid
protected

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

Definition at line 50 of file RooConvIntegrandBinding.h.

◆ _func

const RooAbsReal* RooConvIntegrandBinding::_func
protected

Pointer to input function.

Definition at line 44 of file RooConvIntegrandBinding.h.

◆ _model

const RooAbsReal* RooConvIntegrandBinding::_model
protected

Pointer to input resolution model.

Definition at line 45 of file RooConvIntegrandBinding.h.

◆ _nset

const RooArgSet* RooConvIntegrandBinding::_nset
protected

Normalization set to be used for function evaluations.

Definition at line 48 of file RooConvIntegrandBinding.h.

◆ _vars

RooAbsRealLValue** RooConvIntegrandBinding::_vars
protected

Array of pointers to variables.

Definition at line 47 of file RooConvIntegrandBinding.h.

◆ _xvecValid

bool RooConvIntegrandBinding::_xvecValid
mutableprotected

If true _xvec defines a valid point.

Definition at line 49 of file RooConvIntegrandBinding.h.

  • roofit/roofitcore/src/RooConvIntegrandBinding.h
  • roofit/roofitcore/src/RooConvIntegrandBinding.cxx