12 #ifndef ROOLINEARMORPH
13 #define ROOLINEARMORPH
void setCacheAlpha(Bool_t flag)
virtual void fillCacheObject(PdfCacheElem &cache) const
Fill the cache with the interpolated shape.
MorphCacheElem(RooIntegralMorph &self, const RooArgSet *nset)
Construct of cache element, copy relevant input from RooIntegralMorph, create the cdfs from the input...
Iterator abstract base class.
RooBrentRootFinder * _rf2
virtual PdfCacheElem * createCache(const RooArgSet *nset) const
Create and return a derived MorphCacheElem.
#define ClassDef(name, id)
std::map< std::string, std::string >::const_iterator iter
Int_t binX(Double_t x)
Return the bin number enclosing the given x value.
Double_t evaluate() const
Dummy.
virtual RooArgSet * actualObservables(const RooArgSet &nset) const
Observable to be cached for given choice of normalization.
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.
Bool_t cacheAlpha() const
void findRange()
Determine which range of y values can be mapped to x values from the numeric inversion of the input c...
virtual void preferredObservableScanOrder(const RooArgSet &obs, RooArgSet &orderedObs) const
Indicate to the RooAbsCachedPdf base class that for the filling of the cache the traversal of the x s...
1-D histogram with a double per channel (see TH1 documentation)}
virtual TObject * clone(const char *newname) const
void fillGap(Int_t ixlo, Int_t ixhi, Double_t splitPoint=0.5)
Fill all empty histogram bins between bins ixlo and ixhi.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Mother of all ROOT objects.
virtual RooArgList containedArgs(Action)
Return all RooAbsArg components contained in this cache.
void interpolateGap(Int_t ixlo, Int_t ixhi)
Fill empty histogram bins between ixlo and ixhi with values obtained from linear interpolation of ixl...
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
~MorphCacheElem()
Destructor.
virtual RooArgSet * actualParameters(const RooArgSet &nset) const
Parameters of the cache.
virtual const char * inputBaseName() const
Return base name component for cache components in this case a string encoding the names of both end ...
virtual ~RooIntegralMorph()
RooObjCacheManager _cacheMgr
Bool_t selfNormalized() const
RooBrentRootFinder * _rf1
void calculate(TIterator *iter)
Calculate shape of p.d.f for x,alpha values defined by dIter iterator over cache histogram.