#include <VerticalInterpHistPdf.h>
Public Member Functions | |
virtual TObject * | clone (const char *newname) const |
Double_t | evaluate () const |
FastVerticalInterpHistPdf () | |
FastVerticalInterpHistPdf (const char *name, const char *title, const RooRealVar &x, const RooArgList &funcList, const RooArgList &coefList, Double_t smoothRegion=1., Int_t smoothAlgo=1) | |
FastVerticalInterpHistPdf (const FastVerticalInterpHistPdf &other, const char *name=0) | |
Bool_t | hasCache () const |
Bool_t | isCacheReady () const |
virtual | ~FastVerticalInterpHistPdf () |
Public Member Functions inherited from FastVerticalInterpHistPdfBase | |
const RooArgList & | coefList () const |
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 | |
void | setupCaches () const |
not to be serialized More... | |
void | syncComponent (int which) const |
void | syncComponents (int dimension) const |
void | syncNominal () const |
void | syncTotal () const |
Protected Member Functions inherited from FastVerticalInterpHistPdfBase | |
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 | |
FastHisto | _cache |
Cache of the result. More... | |
FastHisto | _cacheNominal |
Cache of nominal pdf (additive morphing) and its bin-by-bin logarithm (multiplicative) More... | |
FastHisto | _cacheNominalLog |
not to be serialized More... | |
RooRealProxy | _x |
Protected Attributes inherited from FastVerticalInterpHistPdfBase | |
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 125 of file VerticalInterpHistPdf.h.
|
inline |
Definition at line 128 of file VerticalInterpHistPdf.h.
Referenced by clone().
|
inline |
Definition at line 129 of file VerticalInterpHistPdf.h.
|
inline |
Definition at line 133 of file VerticalInterpHistPdf.h.
|
inlinevirtual |
Definition at line 142 of file VerticalInterpHistPdf.h.
|
inlinevirtual |
Implements FastVerticalInterpHistPdfBase.
Definition at line 141 of file VerticalInterpHistPdf.h.
References FastVerticalInterpHistPdf().
|
virtual |
Implements FastVerticalInterpHistPdfBase.
Definition at line 324 of file VerticalInterpHistPdf.cc.
References _cache, FastVerticalInterpHistPdfBase::_init, FastVerticalInterpHistPdfBase::_sentry, _x, FastHisto::GetAt(), SimpleCacheSentry::good(), setupCaches(), FastTemplate::size(), syncTotal(), and TRACEME.
|
inline |
Definition at line 146 of file VerticalInterpHistPdf.h.
References _cache, and FastTemplate::size().
|
inline |
Definition at line 147 of file VerticalInterpHistPdf.h.
References _cache, FastVerticalInterpHistPdfBase::_init, and FastTemplate::size().
|
protected |
not to be serialized
Definition at line 489 of file VerticalInterpHistPdf.cc.
References _cache, _cacheNominal, FastVerticalInterpHistPdfBase::_coefIter, FastVerticalInterpHistPdfBase::_coefList, FastVerticalInterpHistPdfBase::_morphParams, FastVerticalInterpHistPdfBase::_morphs, FastVerticalInterpHistPdfBase::_sentry, SimpleCacheSentry::addVars(), SimpleCacheSentry::empty(), i, FastTemplate::size(), syncComponents(), syncNominal(), syncTotal(), and TRACEME.
Referenced by evaluate().
|
protected |
|
protected |
Definition at line 392 of file VerticalInterpHistPdf.cc.
References _cacheNominal, FastVerticalInterpHistPdfBase::_funcList, FastVerticalInterpHistPdfBase::_morphs, _x, FastHisto::Normalize(), FastVerticalInterpHistPdfBase::syncMorph(), TRACEME, and vdt::x.
Referenced by setupCaches().
|
protected |
Definition at line 346 of file VerticalInterpHistPdf.cc.
References _cacheNominal, _cacheNominalLog, FastVerticalInterpHistPdfBase::_funcList, FastVerticalInterpHistPdfBase::_smoothAlgo, _x, estimatePileup::hist, FastTemplate::Log(), FastHisto::Normalize(), TRACEME, and vdt::x.
Referenced by setupCaches().
|
protected |
Definition at line 471 of file VerticalInterpHistPdf.cc.
References _cache, _cacheNominal, _cacheNominalLog, FastHisto::Normalize(), and FastVerticalInterpHistPdfBase::syncTotal().
Referenced by evaluate(), and setupCaches().
|
mutableprotected |
Cache of the result.
Definition at line 152 of file VerticalInterpHistPdf.h.
Referenced by evaluate(), hasCache(), isCacheReady(), setupCaches(), and syncTotal().
|
mutableprotected |
Cache of nominal pdf (additive morphing) and its bin-by-bin logarithm (multiplicative)
not to be serialized
Definition at line 154 of file VerticalInterpHistPdf.h.
Referenced by setupCaches(), syncComponents(), syncNominal(), and syncTotal().
|
mutableprotected |
not to be serialized
Definition at line 155 of file VerticalInterpHistPdf.h.
Referenced by syncNominal(), and syncTotal().
|
protected |
Definition at line 149 of file VerticalInterpHistPdf.h.
Referenced by evaluate(), syncComponents(), and syncNominal().