#include <VerticalInterpPdf.h>
Classes | |
class | CacheElem |
Public Member Functions | |
Double_t | analyticalIntegralWN (Int_t code, const RooArgSet *normSet, const char *rangeName=0) const |
virtual Bool_t | checkObservables (const RooArgSet *nset) const |
virtual TObject * | clone (const char *newname) const |
const RooArgList & | coefList () const |
Double_t | evaluate () const |
virtual Bool_t | forceAnalyticalInt (const RooAbsArg &) const |
const RooArgList & | funcList () const |
Int_t | getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &numVars, const RooArgSet *normSet, const char *rangeName=0) const |
VerticalInterpPdf () | |
VerticalInterpPdf (const char *name, const char *title, const RooArgList &funcList, const RooArgList &coefList, Double_t quadraticRegion=0., Int_t quadraticAlgo=0) | |
VerticalInterpPdf (const VerticalInterpPdf &other, const char *name=0) | |
virtual | ~VerticalInterpPdf () |
Protected Member Functions | |
Double_t | interpolate (Double_t coeff, Double_t central, RooAbsReal *fUp, RooAbsReal *fDown) const |
Iterator over coefficient list. More... | |
Protected Attributes | |
TIterator * | _coefIter |
Iterator over FUNC list. More... | |
RooListProxy | _coefList |
TIterator * | _funcIter |
RooListProxy | _funcList |
RooObjCacheManager | _normIntMgr |
Int_t | _quadraticAlgo |
Double_t | _quadraticRegion |
Vertical interpolation between multiple histograms (or pdfs). Based on RooRealSumPdf
Definition at line 12 of file VerticalInterpPdf.h.
VerticalInterpPdf::VerticalInterpPdf | ( | ) |
Definition at line 22 of file VerticalInterpPdf.cc.
Referenced by clone().
VerticalInterpPdf::VerticalInterpPdf | ( | const char * | name, |
const char * | title, | ||
const RooArgList & | funcList, | ||
const RooArgList & | coefList, | ||
Double_t | quadraticRegion = 0. , |
||
Int_t | quadraticAlgo = 0 |
||
) |
Definition at line 33 of file VerticalInterpPdf.cc.
References _coefIter, _coefList, _funcIter, _funcList, and _quadraticAlgo.
VerticalInterpPdf::VerticalInterpPdf | ( | const VerticalInterpPdf & | other, |
const char * | name = 0 |
||
) |
Definition at line 86 of file VerticalInterpPdf.cc.
References _coefIter, _coefList, _funcIter, and _funcList.
|
virtual |
Definition at line 103 of file VerticalInterpPdf.cc.
References _coefIter, and _funcIter.
Double_t VerticalInterpPdf::analyticalIntegralWN | ( | Int_t | code, |
const RooArgSet * | normSet, | ||
const char * | rangeName = 0 |
||
) | const |
Definition at line 238 of file VerticalInterpPdf.cc.
References _coefIter, VerticalInterpPdf::CacheElem::_funcIntList, VerticalInterpPdf::CacheElem::_funcNormList, _normIntMgr, interpolate(), and relativeConstraints::value.
|
virtual |
Definition at line 150 of file VerticalInterpPdf.cc.
References _coefIter, _funcIter, and _quadraticAlgo.
|
inlinevirtual |
|
inline |
Double_t VerticalInterpPdf::evaluate | ( | ) | const |
Definition at line 111 of file VerticalInterpPdf.cc.
References _coefIter, _funcIter, _quadraticAlgo, interpolate(), and relativeConstraints::value.
|
inlinevirtual |
Definition at line 24 of file VerticalInterpPdf.h.
|
inline |
Int_t VerticalInterpPdf::getAnalyticalIntegralWN | ( | RooArgSet & | allVars, |
RooArgSet & | numVars, | ||
const RooArgSet * | normSet, | ||
const char * | rangeName = 0 |
||
) | const |
Definition at line 188 of file VerticalInterpPdf.cc.
References VerticalInterpPdf::CacheElem::_funcIntList, _funcIter, VerticalInterpPdf::CacheElem::_funcNormList, and _normIntMgr.
|
protected |
Iterator over coefficient list.
Definition at line 290 of file VerticalInterpPdf.cc.
References _quadraticAlgo, _quadraticRegion, and funct::pow().
Referenced by analyticalIntegralWN(), and evaluate().
|
protected |
Iterator over FUNC list.
Definition at line 48 of file VerticalInterpPdf.h.
Referenced by analyticalIntegralWN(), checkObservables(), evaluate(), VerticalInterpPdf(), and ~VerticalInterpPdf().
|
protected |
Definition at line 44 of file VerticalInterpPdf.h.
Referenced by coefList(), and VerticalInterpPdf().
|
protected |
Definition at line 47 of file VerticalInterpPdf.h.
Referenced by checkObservables(), evaluate(), getAnalyticalIntegralWN(), VerticalInterpPdf(), and ~VerticalInterpPdf().
|
protected |
Definition at line 43 of file VerticalInterpPdf.h.
Referenced by funcList(), and VerticalInterpPdf().
|
mutableprotected |
Definition at line 41 of file VerticalInterpPdf.h.
Referenced by analyticalIntegralWN(), and getAnalyticalIntegralWN().
|
protected |
Definition at line 46 of file VerticalInterpPdf.h.
Referenced by checkObservables(), evaluate(), interpolate(), and VerticalInterpPdf().
|
protected |
Definition at line 45 of file VerticalInterpPdf.h.
Referenced by interpolate().