#include <VerticalInterpHistPdf.h>
Public Member Functions | |
virtual TObject * | clone (const char *newname) const |
Bool_t | conditional () const |
Double_t | evaluate () const |
FastVerticalInterpHistPdf2D () | |
FastVerticalInterpHistPdf2D (const char *name, const char *title, const RooRealVar &x, const RooRealVar &y, bool conditional, const RooArgList &funcList, const RooArgList &coefList, Double_t smoothRegion=1., Int_t smoothAlgo=1) | |
FastVerticalInterpHistPdf2D (const FastVerticalInterpHistPdf2D &other, const char *name=0) | |
Bool_t | hasCache () const |
Bool_t | isCacheReady () const |
Bool_t | selfNormalized () const |
virtual | ~FastVerticalInterpHistPdf2D () |
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 | |
FastHisto2D | _cache |
Cache of the result. More... | |
FastHisto2D | _cacheNominal |
Cache of nominal pdf (additive morphing) and its bin-by-bin logarithm (multiplicative) More... | |
FastHisto2D | _cacheNominalLog |
not to be serialized More... | |
bool | _conditional |
RooRealProxy | _x |
RooRealProxy | _y |
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 167 of file VerticalInterpHistPdf.h.
|
inline |
Definition at line 170 of file VerticalInterpHistPdf.h.
Referenced by clone().
|
inline |
If conditional = false, the pdf is normalized integrating on (x,y). If conditional = true, the pdf is separately normalized integrating on (y) for each specific (x) bin
Definition at line 173 of file VerticalInterpHistPdf.h.
|
inline |
Definition at line 179 of file VerticalInterpHistPdf.h.
|
inlinevirtual |
Definition at line 188 of file VerticalInterpHistPdf.h.
|
inlinevirtual |
Implements FastVerticalInterpHistPdfBase.
Definition at line 187 of file VerticalInterpHistPdf.h.
References FastVerticalInterpHistPdf2D().
|
inline |
|
virtual |
Implements FastVerticalInterpHistPdfBase.
Definition at line 334 of file VerticalInterpHistPdf.cc.
References _cache, FastVerticalInterpHistPdfBase::_init, FastVerticalInterpHistPdfBase::_sentry, _x, _y, FastHisto2D::GetAt(), SimpleCacheSentry::good(), setupCaches(), FastTemplate::size(), syncTotal(), and TRACEME.
|
inline |
Definition at line 195 of file VerticalInterpHistPdf.h.
References _cache, and FastTemplate::size().
|
inline |
Definition at line 196 of file VerticalInterpHistPdf.h.
References _cache, FastVerticalInterpHistPdfBase::_init, and FastTemplate::size().
|
inline |
Definition at line 192 of file VerticalInterpHistPdf.h.
|
protected |
not to be serialized
Definition at line 510 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 406 of file VerticalInterpHistPdf.cc.
References _cacheNominal, _conditional, FastVerticalInterpHistPdfBase::_funcList, FastVerticalInterpHistPdfBase::_morphs, _x, _y, none, FastHisto2D::Normalize(), FastHisto2D::NormalizeXSlices(), FastVerticalInterpHistPdfBase::syncMorph(), x, and detailsBasic3DVector::y.
Referenced by setupCaches().
|
protected |
Definition at line 360 of file VerticalInterpHistPdf.cc.
References _cacheNominal, _cacheNominalLog, _conditional, FastVerticalInterpHistPdfBase::_funcList, FastVerticalInterpHistPdfBase::_smoothAlgo, _x, _y, estimatePileup::hist, FastTemplate::Log(), none, FastHisto2D::Normalize(), FastHisto2D::NormalizeXSlices(), TRACEME, x, and detailsBasic3DVector::y.
Referenced by setupCaches().
|
protected |
Definition at line 479 of file VerticalInterpHistPdf.cc.
References _cache, _cacheNominal, _cacheNominalLog, _conditional, FastHisto2D::Normalize(), FastHisto2D::NormalizeXSlices(), and FastVerticalInterpHistPdfBase::syncTotal().
Referenced by evaluate(), and setupCaches().
|
mutableprotected |
Cache of the result.
Definition at line 202 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 204 of file VerticalInterpHistPdf.h.
Referenced by setupCaches(), syncComponents(), syncNominal(), and syncTotal().
|
mutableprotected |
not to be serialized
Definition at line 205 of file VerticalInterpHistPdf.h.
Referenced by syncNominal(), and syncTotal().
|
protected |
Definition at line 199 of file VerticalInterpHistPdf.h.
Referenced by conditional(), syncComponents(), syncNominal(), and syncTotal().
|
protected |
Definition at line 198 of file VerticalInterpHistPdf.h.
Referenced by evaluate(), syncComponents(), and syncNominal().
|
protected |
Definition at line 198 of file VerticalInterpHistPdf.h.
Referenced by evaluate(), syncComponents(), and syncNominal().