ROOT
6.07/01
Reference Guide
|
Definition at line 53 of file RooIntegralMorph.h.
Public Member Functions | |
MorphCacheElem (RooIntegralMorph &self, const RooArgSet *nset) | |
Construct of cache element, copy relevant input from RooIntegralMorph, create the cdfs from the input p.d.fs and instantiate the root finders on the cdfs to perform the inversion. More... | |
~MorphCacheElem () | |
Destructor. More... | |
void | calculate (TIterator *iter) |
Calculate shape of p.d.f for x,alpha values defined by dIter iterator over cache histogram. More... | |
virtual RooArgList | containedArgs (Action) |
Return all RooAbsArg components contained in this cache. More... | |
Public Member Functions inherited from RooAbsCachedPdf::PdfCacheElem | |
PdfCacheElem (const RooAbsCachedPdf &self, const RooArgSet *nset) | |
Constructor of cache object which owns RooDataHist cache histogram, RooHistPdf pdf that represents is shape and RooChangeTracker meta object that tracks changes in listed dependent parameter of cache. More... | |
virtual | ~PdfCacheElem () |
Cache element destructor. More... | |
virtual void | printCompactTreeHook (std::ostream &, const char *, Int_t, Int_t) |
Print contents of cache when printing self as part of object tree. More... | |
RooHistPdf * | pdf () |
RooDataHist * | hist () |
const RooArgSet & | nset () |
RooChangeTracker * | paramTracker () |
Public Member Functions inherited from RooAbsCacheElement | |
RooAbsCacheElement () | |
virtual Bool_t | redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t) |
Interface for server redirect calls. More... | |
virtual | ~RooAbsCacheElement () |
virtual void | operModeHook (RooAbsArg::OperMode) |
Interface for operation mode change calls. More... | |
virtual void | optimizeCacheMode (const RooArgSet &obs, RooArgSet &optNodes, RooLinkedList &processedNodes) |
Interface for cache optimization calls. More... | |
virtual void | findConstantNodes (const RooArgSet &obs, RooArgSet &cacheList, RooLinkedList &processedNodes) |
Interface for constant term optimization calls. More... | |
void | setOwner (RooAbsArg *owner) |
Protected Member Functions | |
void | findRange () |
Determine which range of y values can be mapped to x values from the numeric inversion of the input c.d.fs. More... | |
Double_t | calcX (Double_t y, Bool_t &ok) |
Calculate the x value of the output p.d.f at the given cdf value y. More... | |
Int_t | binX (Double_t x) |
Return the bin number enclosing the given x value. More... | |
void | fillGap (Int_t ixlo, Int_t ixhi, Double_t splitPoint=0.5) |
Fill all empty histogram bins between bins ixlo and ixhi. More... | |
void | interpolateGap (Int_t ixlo, Int_t ixhi) |
Fill empty histogram bins between ixlo and ixhi with values obtained from linear interpolation of ixlo,ixhi elements. More... | |
Protected Attributes | |
RooIntegralMorph * | _self |
RooArgSet * | _nset |
RooAbsPdf * | _pdf1 |
RooAbsPdf * | _pdf2 |
RooRealVar * | _x |
RooAbsReal * | _alpha |
RooAbsReal * | _c1 |
RooAbsReal * | _c2 |
RooAbsFunc * | _cb1 |
RooAbsFunc * | _cb2 |
RooBrentRootFinder * | _rf1 |
RooBrentRootFinder * | _rf2 |
Double_t * | _yatX |
Double_t * | _calcX |
Int_t | _yatXmin |
Int_t | _yatXmax |
Int_t | _ccounter |
Double_t | _ycutoff |
Protected Attributes inherited from RooAbsCacheElement | |
RooAbsArg * | _owner |
Additional Inherited Members | |
Public Types inherited from RooAbsCacheElement | |
enum | Action { OperModeChange, OptimizeCaching, FindConstantNodes } |
#include <RooIntegralMorph.h>
RooIntegralMorph::MorphCacheElem::MorphCacheElem | ( | RooIntegralMorph & | self, |
const RooArgSet * | nsetIn | ||
) |
Construct of cache element, copy relevant input from RooIntegralMorph, create the cdfs from the input p.d.fs and instantiate the root finders on the cdfs to perform the inversion.
Definition at line 260 of file RooIntegralMorph.cxx.
RooIntegralMorph::MorphCacheElem::~MorphCacheElem | ( | ) |
Destructor.
Definition at line 297 of file RooIntegralMorph.cxx.
Return the bin number enclosing the given x value.
Definition at line 334 of file RooIntegralMorph.cxx.
Calculate shape of p.d.f for x,alpha values defined by dIter iterator over cache histogram.
Definition at line 347 of file RooIntegralMorph.cxx.
Referenced by RooIntegralMorph::fillCacheObject().
Calculate the x value of the output p.d.f at the given cdf value y.
The ok boolean is filled with the success status of the operation.
Definition at line 311 of file RooIntegralMorph.cxx.
|
virtual |
Return all RooAbsArg components contained in this cache.
Reimplemented from RooAbsCachedPdf::PdfCacheElem.
Definition at line 238 of file RooIntegralMorph.cxx.
|
protected |
Fill all empty histogram bins between bins ixlo and ixhi.
The value of 'splitPoint' defines the split point for the recursive division strategy to fill the gaps If the midpoint value of y is very close to the midpoint in x, use interpolation to fill the gaps, otherwise the intervals again.
Definition at line 467 of file RooIntegralMorph.cxx.
|
protected |
Determine which range of y values can be mapped to x values from the numeric inversion of the input c.d.fs.
Start with a y rannge of [0.1-0.9] and push boundaries outward with a factor of 1/sqrt(10). Stop iteration if inverted x values no longer change
Definition at line 583 of file RooIntegralMorph.cxx.
Fill empty histogram bins between ixlo and ixhi with values obtained from linear interpolation of ixlo,ixhi elements.
Definition at line 552 of file RooIntegralMorph.cxx.
|
protected |
Definition at line 73 of file RooIntegralMorph.h.
Referenced by containedArgs(), and MorphCacheElem().
|
protected |
Definition at line 74 of file RooIntegralMorph.h.
Referenced by containedArgs(), and MorphCacheElem().
|
protected |
Definition at line 75 of file RooIntegralMorph.h.
Referenced by containedArgs(), and MorphCacheElem().
|
protected |
Definition at line 82 of file RooIntegralMorph.h.
Referenced by MorphCacheElem().
|
protected |
Definition at line 76 of file RooIntegralMorph.h.
Referenced by MorphCacheElem().
|
protected |
Definition at line 77 of file RooIntegralMorph.h.
Referenced by MorphCacheElem().
|
protected |
Definition at line 84 of file RooIntegralMorph.h.
Referenced by MorphCacheElem().
|
protected |
Definition at line 69 of file RooIntegralMorph.h.
Referenced by MorphCacheElem().
|
protected |
Definition at line 70 of file RooIntegralMorph.h.
Referenced by containedArgs(), and MorphCacheElem().
|
protected |
Definition at line 71 of file RooIntegralMorph.h.
Referenced by containedArgs(), and MorphCacheElem().
|
protected |
Definition at line 78 of file RooIntegralMorph.h.
Referenced by MorphCacheElem().
|
protected |
Definition at line 79 of file RooIntegralMorph.h.
Referenced by MorphCacheElem().
|
protected |
Definition at line 68 of file RooIntegralMorph.h.
Referenced by containedArgs(), and MorphCacheElem().
|
protected |
Definition at line 72 of file RooIntegralMorph.h.
Referenced by containedArgs(), and MorphCacheElem().
|
protected |
Definition at line 81 of file RooIntegralMorph.h.
Referenced by MorphCacheElem().
|
protected |
Definition at line 83 of file RooIntegralMorph.h.
Referenced by MorphCacheElem().
|
protected |
Definition at line 83 of file RooIntegralMorph.h.
Referenced by MorphCacheElem().
|
protected |
Definition at line 86 of file RooIntegralMorph.h.
Referenced by MorphCacheElem().