![]() |
![]() |
#include <VerticalInterpHistPdf.h>
Classes | |
struct | Morph |
Must be public, for serialization. More... | |
Public Member Functions | |
virtual TObject * | clone (const char *newname) const =0 |
const RooArgList & | coefList () const |
Double_t | evaluate () const =0 |
FastVerticalInterpHistPdfBase () | |
FastVerticalInterpHistPdfBase (const char *name, const char *title, const RooArgSet &obs, const RooArgList &funcList, const RooArgList &coefList, Double_t smoothRegion=1., Int_t smoothAlgo=1) | |
FastVerticalInterpHistPdfBase (const FastVerticalInterpHistPdfBase &other, const char *name=0) | |
const RooArgList & | funcList () const |
Bool_t | selfNormalized () const |
virtual | ~FastVerticalInterpHistPdfBase () |
Protected Member Functions | |
double | smoothStepFunc (double x) const |
void | syncMorph (Morph &out, const FastTemplate &nominal, FastTemplate &lo, FastTemplate &hi) const |
not to be serialized More... | |
void | syncTotal (FastTemplate &cache, const FastTemplate &cacheNominal, const FastTemplate &cacheNominalLog) const |
Protected Attributes | |
TIterator * | _coefIter |
Iterator over FUNC list. More... | |
RooListProxy | _coefList |
TIterator * | _funcIter |
RooListProxy | _funcList |
bool | _init |
Iterator over coefficient list. More... | |
std::vector< RooAbsReal * > | _morphParams |
not to be serialized More... | |
std::vector< Morph > | _morphs |
not to be serialized More... | |
SimpleCacheSentry | _sentry |
not to be serialized More... | |
Int_t | _smoothAlgo |
Double_t | _smoothRegion |
RooRealProxy | _x |
Definition at line 70 of file VerticalInterpHistPdf.h.
FastVerticalInterpHistPdfBase::FastVerticalInterpHistPdfBase | ( | ) |
Definition at line 230 of file VerticalInterpHistPdf.cc.
FastVerticalInterpHistPdfBase::FastVerticalInterpHistPdfBase | ( | const char * | name, |
const char * | title, | ||
const RooArgSet & | obs, | ||
const RooArgList & | funcList, | ||
const RooArgList & | coefList, | ||
Double_t | smoothRegion = 1. , |
||
Int_t | smoothAlgo = 1 |
||
) |
Definition at line 239 of file VerticalInterpHistPdf.cc.
References _coefIter, _coefList, _funcIter, _funcList, and TRACEME.
FastVerticalInterpHistPdfBase::FastVerticalInterpHistPdfBase | ( | const FastVerticalInterpHistPdfBase & | other, |
const char * | name = 0 |
||
) |
Definition at line 291 of file VerticalInterpHistPdf.cc.
References _coefIter, _coefList, _funcIter, _funcList, _sentry, and SimpleCacheSentry::addVars().
|
virtual |
Definition at line 315 of file VerticalInterpHistPdf.cc.
References _coefIter, and _funcIter.
|
pure virtual |
Implemented in FastVerticalInterpHistPdf2D, and FastVerticalInterpHistPdf.
|
inline |
Definition at line 84 of file VerticalInterpHistPdf.h.
References _coefList.
|
pure virtual |
Implemented in FastVerticalInterpHistPdf2D, and FastVerticalInterpHistPdf.
|
inline |
Definition at line 83 of file VerticalInterpHistPdf.h.
References _funcList.
|
inline |
Definition at line 79 of file VerticalInterpHistPdf.h.
|
inlineprotected |
Definition at line 114 of file VerticalInterpHistPdf.h.
References _smoothRegion.
Referenced by syncTotal().
|
protected |
not to be serialized
Definition at line 380 of file VerticalInterpHistPdf.cc.
References _smoothAlgo, FastVerticalInterpHistPdfBase::Morph::diff, FastTemplate::LogRatio(), FastTemplate::Subtract(), FastVerticalInterpHistPdfBase::Morph::sum, and FastTemplate::SumDiff().
Referenced by FastVerticalInterpHistPdf::syncComponents(), and FastVerticalInterpHistPdf2D::syncComponents().
|
protected |
Definition at line 427 of file VerticalInterpHistPdf.cc.
References _coefList, _init, _morphParams, _morphs, _sentry, _smoothAlgo, a, b, FastTemplate::CopyValues(), FastTemplate::CropUnderflows(), diffTreeTool::diff, FastTemplate::Exp(), i, FastTemplate::Meld(), SimpleCacheSentry::reset(), smoothStepFunc(), TRACEME, and x.
Referenced by FastVerticalInterpHistPdf::syncTotal(), and FastVerticalInterpHistPdf2D::syncTotal().
|
protected |
Iterator over FUNC list.
Definition at line 95 of file VerticalInterpHistPdf.h.
Referenced by FastVerticalInterpHistPdfBase(), FastVerticalInterpHistPdf::setupCaches(), FastVerticalInterpHistPdf2D::setupCaches(), and ~FastVerticalInterpHistPdfBase().
|
protected |
Definition at line 91 of file VerticalInterpHistPdf.h.
Referenced by coefList(), FastVerticalInterpHistPdfBase(), FastVerticalInterpHistPdf::setupCaches(), FastVerticalInterpHistPdf2D::setupCaches(), and syncTotal().
|
protected |
Definition at line 94 of file VerticalInterpHistPdf.h.
Referenced by FastVerticalInterpHistPdfBase(), and ~FastVerticalInterpHistPdfBase().
|
protected |
Definition at line 90 of file VerticalInterpHistPdf.h.
Referenced by FastVerticalInterpHistPdfBase(), funcList(), FastVerticalInterpHistPdf::syncComponents(), FastVerticalInterpHistPdf2D::syncComponents(), FastVerticalInterpHistPdf::syncNominal(), and FastVerticalInterpHistPdf2D::syncNominal().
|
mutableprotected |
Iterator over coefficient list.
Definition at line 98 of file VerticalInterpHistPdf.h.
Referenced by FastVerticalInterpHistPdf::evaluate(), FastVerticalInterpHistPdf2D::evaluate(), FastVerticalInterpHistPdf::isCacheReady(), FastVerticalInterpHistPdf2D::isCacheReady(), and syncTotal().
|
mutableprotected |
not to be serialized
Definition at line 104 of file VerticalInterpHistPdf.h.
Referenced by FastVerticalInterpHistPdf::setupCaches(), FastVerticalInterpHistPdf2D::setupCaches(), and syncTotal().
|
mutableprotected |
not to be serialized
Definition at line 103 of file VerticalInterpHistPdf.h.
Referenced by FastVerticalInterpHistPdf::setupCaches(), FastVerticalInterpHistPdf2D::setupCaches(), FastVerticalInterpHistPdf::syncComponents(), FastVerticalInterpHistPdf2D::syncComponents(), and syncTotal().
|
mutableprotected |
not to be serialized
Definition at line 99 of file VerticalInterpHistPdf.h.
Referenced by FastVerticalInterpHistPdf::evaluate(), FastVerticalInterpHistPdf2D::evaluate(), FastVerticalInterpHistPdfBase(), FastVerticalInterpHistPdf::setupCaches(), FastVerticalInterpHistPdf2D::setupCaches(), and syncTotal().
|
protected |
Definition at line 93 of file VerticalInterpHistPdf.h.
Referenced by syncMorph(), FastVerticalInterpHistPdf::syncNominal(), FastVerticalInterpHistPdf2D::syncNominal(), and syncTotal().
|
protected |
Definition at line 92 of file VerticalInterpHistPdf.h.
Referenced by smoothStepFunc().
|
protected |
Definition at line 89 of file VerticalInterpHistPdf.h.